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.Get

Description

Get a specific user's license by product SKU.

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

Synopsis

Resource

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

A resource alias for licensing.licenseAssignments.get method which the LicensingLicenseAssignmentsGet request conforms to.

Constructing a Request

data LicensingLicenseAssignmentsGet Source #

Get a specific user's license by product SKU.

See: newLicensingLicenseAssignmentsGet smart constructor.

Constructors

LicensingLicenseAssignmentsGet 

Fields

  • xgafv :: Maybe Xgafv

    V1 error format.

  • accessToken :: Maybe Text

    OAuth access token.

  • callback :: Maybe Text

    JSONP

  • productId :: Text

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

  • skuId :: Text

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

  • uploadType :: Maybe Text

    Legacy upload protocol for media (e.g. "media", "multipart").

  • uploadProtocol :: Maybe Text

    Upload protocol for media (e.g. "raw", "multipart").

  • userId :: Text

    The user's current primary email address. If the user's email address changes, use the new email address in your API requests. Since a userId is subject to change, do not use a userId value as a key for persistent data. This key could break if the current user's email address changes. If the userId is suspended, the license status changes.

Instances

Instances details
Generic LicensingLicenseAssignmentsGet Source # 
Instance details

Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.Get

Associated Types

type Rep LicensingLicenseAssignmentsGet 
Instance details

Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.Get

type Rep LicensingLicenseAssignmentsGet = D1 ('MetaData "LicensingLicenseAssignmentsGet" "Gogol.AppsLicensing.Licensing.LicenseAssignments.Get" "gogol-apps-licensing-1.0.0-8Lqipv0mZT13qxwcf0iLRF" 'False) (C1 ('MetaCons "LicensingLicenseAssignmentsGet" '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 "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)) :*: S1 ('MetaSel ('Just "userId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
Show LicensingLicenseAssignmentsGet Source # 
Instance details

Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.Get

Eq LicensingLicenseAssignmentsGet Source # 
Instance details

Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.Get

GoogleRequest LicensingLicenseAssignmentsGet Source # 
Instance details

Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.Get

type Rep LicensingLicenseAssignmentsGet Source # 
Instance details

Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.Get

type Rep LicensingLicenseAssignmentsGet = D1 ('MetaData "LicensingLicenseAssignmentsGet" "Gogol.AppsLicensing.Licensing.LicenseAssignments.Get" "gogol-apps-licensing-1.0.0-8Lqipv0mZT13qxwcf0iLRF" 'False) (C1 ('MetaCons "LicensingLicenseAssignmentsGet" '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 "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)) :*: S1 ('MetaSel ('Just "userId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type Rs LicensingLicenseAssignmentsGet Source # 
Instance details

Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.Get

type Scopes LicensingLicenseAssignmentsGet Source # 
Instance details

Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.Get

newLicensingLicenseAssignmentsGet Source #

Arguments

:: 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.

-> Text

The user's current primary email address. If the user's email address changes, use the new email address in your API requests. Since a userId is subject to change, do not use a userId value as a key for persistent data. This key could break if the current user's email address changes. If the userId is suspended, the license status changes. See userId.

-> LicensingLicenseAssignmentsGet 

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