| 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.Update
Description
Assign License.
See: Enterprise License Manager API Reference for licensing.licenseAssignments.update.
- type LicenseAssignmentsUpdateResource = "apps" :> ("licensing" :> ("v1" :> ("product" :> (Capture "productId" Text :> ("sku" :> (Capture "skuId" Text :> ("user" :> (Capture "userId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] LicenseAssignment :> Put '[JSON] LicenseAssignment))))))))))
- licenseAssignmentsUpdate :: Text -> LicenseAssignment -> Text -> Text -> LicenseAssignmentsUpdate
- data LicenseAssignmentsUpdate
- lauSKUId :: Lens' LicenseAssignmentsUpdate Text
- lauPayload :: Lens' LicenseAssignmentsUpdate LicenseAssignment
- lauUserId :: Lens' LicenseAssignmentsUpdate Text
- lauProductId :: Lens' LicenseAssignmentsUpdate Text
REST Resource
type LicenseAssignmentsUpdateResource = "apps" :> ("licensing" :> ("v1" :> ("product" :> (Capture "productId" Text :> ("sku" :> (Capture "skuId" Text :> ("user" :> (Capture "userId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] LicenseAssignment :> Put '[JSON] LicenseAssignment)))))))))) #
A resource alias for licensing.licenseAssignments.update method which the
LicenseAssignmentsUpdate request conforms to.
Creating a Request
Arguments
| :: Text | |
| -> LicenseAssignment | |
| -> Text | |
| -> Text | |
| -> LicenseAssignmentsUpdate |
Creates a value of LicenseAssignmentsUpdate with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data LicenseAssignmentsUpdate #
Assign License.
See: licenseAssignmentsUpdate smart constructor.
Request Lenses
lauSKUId :: Lens' LicenseAssignmentsUpdate Text #
Name for sku for which license would be revoked
lauPayload :: Lens' LicenseAssignmentsUpdate LicenseAssignment #
Multipart request metadata.
lauUserId :: Lens' LicenseAssignmentsUpdate Text #
email id or unique Id of the user
lauProductId :: Lens' LicenseAssignmentsUpdate Text #
Name for product