| Copyright | (c) 2015-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.Google.Resource.Licensing.LicenseAssignments.Patch
Description
Assign License. This method supports patch semantics.
See: Enterprise License Manager API Reference for licensing.licenseAssignments.patch.
Synopsis
- type LicenseAssignmentsPatchResource = "apps" :> ("licensing" :> ("v1" :> ("product" :> (Capture "productId" Text :> ("sku" :> (Capture "skuId" Text :> ("user" :> (Capture "userId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] LicenseAssignment :> Patch '[JSON] LicenseAssignment))))))))))
- licenseAssignmentsPatch :: Text -> LicenseAssignment -> Text -> Text -> LicenseAssignmentsPatch
- data LicenseAssignmentsPatch
- lapSKUId :: Lens' LicenseAssignmentsPatch Text
- lapPayload :: Lens' LicenseAssignmentsPatch LicenseAssignment
- lapUserId :: Lens' LicenseAssignmentsPatch Text
- lapProductId :: Lens' LicenseAssignmentsPatch Text
REST Resource
type LicenseAssignmentsPatchResource = "apps" :> ("licensing" :> ("v1" :> ("product" :> (Capture "productId" Text :> ("sku" :> (Capture "skuId" Text :> ("user" :> (Capture "userId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] LicenseAssignment :> Patch '[JSON] LicenseAssignment)))))))))) Source #
A resource alias for licensing.licenseAssignments.patch method which the
LicenseAssignmentsPatch request conforms to.
Creating a Request
licenseAssignmentsPatch Source #
Arguments
| :: Text | |
| -> LicenseAssignment | |
| -> Text | |
| -> Text | |
| -> LicenseAssignmentsPatch |
Creates a value of LicenseAssignmentsPatch with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data LicenseAssignmentsPatch Source #
Assign License. This method supports patch semantics.
See: licenseAssignmentsPatch smart constructor.
Instances
Request Lenses
lapSKUId :: Lens' LicenseAssignmentsPatch Text Source #
Name for sku for which license would be revoked
lapPayload :: Lens' LicenseAssignmentsPatch LicenseAssignment Source #
Multipart request metadata.
lapProductId :: Lens' LicenseAssignmentsPatch Text Source #
Name for product