gogol-apps-licensing-1.0.0: Google Enterprise License Manager SDK.
Copyright(c) 2015-2025 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+gogol@gmail.com> Toni Cebrián <toni@tonicebrian.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageGHC2021

Gogol.AppsLicensing.Licensing.LicenseAssignments.Insert

Description

Assign a license.

See: Enterprise License Manager API Reference for licensing.licenseAssignments.insert.

Synopsis

Resource

type LicensingLicenseAssignmentsInsertResource = "apps" :> ("licensing" :> ("v1" :> ("product" :> (Capture "productId" Text :> ("sku" :> (Capture "skuId" Text :> ("user" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "access_token" Text :> (QueryParam "callback" Text :> (QueryParam "uploadType" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] LicenseAssignmentInsert :> Post '[JSON] LicenseAssignment)))))))))))))) Source #

A resource alias for licensing.licenseAssignments.insert method which the LicensingLicenseAssignmentsInsert request conforms to.

Constructing a Request

data LicensingLicenseAssignmentsInsert Source #

Assign a license.

See: newLicensingLicenseAssignmentsInsert smart constructor.

Constructors

LicensingLicenseAssignmentsInsert 

Fields

Instances

Instances details
Generic LicensingLicenseAssignmentsInsert Source # 
Instance details

Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.Insert

Associated Types

type Rep LicensingLicenseAssignmentsInsert 
Instance details

Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.Insert

type Rep LicensingLicenseAssignmentsInsert = D1 ('MetaData "LicensingLicenseAssignmentsInsert" "Gogol.AppsLicensing.Licensing.LicenseAssignments.Insert" "gogol-apps-licensing-1.0.0-8Lqipv0mZT13qxwcf0iLRF" 'False) (C1 ('MetaCons "LicensingLicenseAssignmentsInsert" 'PrefixI 'True) (((S1 ('MetaSel ('Just "xgafv") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 ('MetaSel ('Just "accessToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "callback") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "payload") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 LicenseAssignmentInsert))) :*: ((S1 ('MetaSel ('Just "productId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "skuId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "uploadType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "uploadProtocol") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))
Show LicensingLicenseAssignmentsInsert Source # 
Instance details

Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.Insert

Eq LicensingLicenseAssignmentsInsert Source # 
Instance details

Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.Insert

GoogleRequest LicensingLicenseAssignmentsInsert Source # 
Instance details

Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.Insert

type Rep LicensingLicenseAssignmentsInsert Source # 
Instance details

Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.Insert

type Rep LicensingLicenseAssignmentsInsert = D1 ('MetaData "LicensingLicenseAssignmentsInsert" "Gogol.AppsLicensing.Licensing.LicenseAssignments.Insert" "gogol-apps-licensing-1.0.0-8Lqipv0mZT13qxwcf0iLRF" 'False) (C1 ('MetaCons "LicensingLicenseAssignmentsInsert" 'PrefixI 'True) (((S1 ('MetaSel ('Just "xgafv") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 ('MetaSel ('Just "accessToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "callback") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "payload") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 LicenseAssignmentInsert))) :*: ((S1 ('MetaSel ('Just "productId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "skuId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "uploadType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "uploadProtocol") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))
type Rs LicensingLicenseAssignmentsInsert Source # 
Instance details

Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.Insert

type Scopes LicensingLicenseAssignmentsInsert Source # 
Instance details

Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.Insert

newLicensingLicenseAssignmentsInsert Source #

Arguments

:: LicenseAssignmentInsert

Multipart request metadata. See payload.

-> Text

A product's unique identifier. For more information about products in this version of the API, see Products and SKUs. See productId.

-> Text

A product SKU's unique identifier. For more information about available SKUs in this version of the API, see Products and SKUs. See skuId.

-> LicensingLicenseAssignmentsInsert 

Creates a value of LicensingLicenseAssignmentsInsert with the minimum fields required to make a request.