| 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.Insert
Description
Assign License.
See: Enterprise License Manager API Reference for licensing.licenseAssignments.insert.
Synopsis
- type LicenseAssignmentsInsertResource = "apps" :> ("licensing" :> ("v1" :> ("product" :> (Capture "productId" Text :> ("sku" :> (Capture "skuId" Text :> ("user" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] LicenseAssignmentInsert :> Post '[JSON] LicenseAssignment)))))))))
- licenseAssignmentsInsert :: Text -> LicenseAssignmentInsert -> Text -> LicenseAssignmentsInsert
- data LicenseAssignmentsInsert
- laiSKUId :: Lens' LicenseAssignmentsInsert Text
- laiPayload :: Lens' LicenseAssignmentsInsert LicenseAssignmentInsert
- laiProductId :: Lens' LicenseAssignmentsInsert Text
REST Resource
type LicenseAssignmentsInsertResource = "apps" :> ("licensing" :> ("v1" :> ("product" :> (Capture "productId" Text :> ("sku" :> (Capture "skuId" Text :> ("user" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] LicenseAssignmentInsert :> Post '[JSON] LicenseAssignment))))))))) Source #
A resource alias for licensing.licenseAssignments.insert method which the
LicenseAssignmentsInsert request conforms to.
Creating a Request
licenseAssignmentsInsert Source #
Arguments
| :: Text | |
| -> LicenseAssignmentInsert | |
| -> Text | |
| -> LicenseAssignmentsInsert |
Creates a value of LicenseAssignmentsInsert with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data LicenseAssignmentsInsert Source #
Assign License.
See: licenseAssignmentsInsert smart constructor.
Instances
Request Lenses
laiPayload :: Lens' LicenseAssignmentsInsert LicenseAssignmentInsert Source #
Multipart request metadata.
laiProductId :: Lens' LicenseAssignmentsInsert Text Source #
Name for product