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

Description

The Google Enterprise License Manager API lets you manage Google Workspace and related licenses for all users of a customer that you manage.

See: Enterprise License Manager API Reference

Synopsis

Configuration

appsLicensingService :: ServiceConfig Source #

Default request referring to version v1 of the Enterprise License Manager API. This contains the host and root path used as a starting point for constructing service requests.

OAuth Scopes

type Apps'Licensing = "https://www.googleapis.com/auth/apps.licensing" Source #

View and manage G Suite licenses for your domain

Resources

licensing.licenseAssignments.delete

type LicensingLicenseAssignmentsDeleteResource = "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 :> Delete '[JSON] Empty)))))))))))))) Source #

A resource alias for licensing.licenseAssignments.delete method which the LicensingLicenseAssignmentsDelete request conforms to.

data LicensingLicenseAssignmentsDelete Source #

Revoke a license.

See: newLicensingLicenseAssignmentsDelete smart constructor.

Constructors

LicensingLicenseAssignmentsDelete 

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 LicensingLicenseAssignmentsDelete Source # 
Instance details

Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.Delete

Associated Types

type Rep LicensingLicenseAssignmentsDelete 
Instance details

Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.Delete

type Rep LicensingLicenseAssignmentsDelete = D1 ('MetaData "LicensingLicenseAssignmentsDelete" "Gogol.AppsLicensing.Licensing.LicenseAssignments.Delete" "gogol-apps-licensing-1.0.0-8Lqipv0mZT13qxwcf0iLRF" 'False) (C1 ('MetaCons "LicensingLicenseAssignmentsDelete" '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 LicensingLicenseAssignmentsDelete Source # 
Instance details

Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.Delete

Eq LicensingLicenseAssignmentsDelete Source # 
Instance details

Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.Delete

GoogleRequest LicensingLicenseAssignmentsDelete Source # 
Instance details

Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.Delete

type Rep LicensingLicenseAssignmentsDelete Source # 
Instance details

Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.Delete

type Rep LicensingLicenseAssignmentsDelete = D1 ('MetaData "LicensingLicenseAssignmentsDelete" "Gogol.AppsLicensing.Licensing.LicenseAssignments.Delete" "gogol-apps-licensing-1.0.0-8Lqipv0mZT13qxwcf0iLRF" 'False) (C1 ('MetaCons "LicensingLicenseAssignmentsDelete" '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 LicensingLicenseAssignmentsDelete Source # 
Instance details

Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.Delete

type Scopes LicensingLicenseAssignmentsDelete Source # 
Instance details

Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.Delete

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

-> LicensingLicenseAssignmentsDelete 

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

licensing.licenseAssignments.get

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.

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.

licensing.licenseAssignments.insert

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.

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.

licensing.licenseAssignments.listForProduct

type LicensingLicenseAssignmentsListForProductResource = "apps" :> ("licensing" :> ("v1" :> ("product" :> (Capture "productId" Text :> ("users" :> (QueryParam "customerId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "access_token" Text :> (QueryParam "callback" Text :> (QueryParam "maxResults" Word32 :> (QueryParam "pageToken" Text :> (QueryParam "uploadType" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] LicenseAssignmentList)))))))))))))) Source #

A resource alias for licensing.licenseAssignments.listForProduct method which the LicensingLicenseAssignmentsListForProduct request conforms to.

data LicensingLicenseAssignmentsListForProduct Source #

List all users assigned licenses for a specific product SKU.

See: newLicensingLicenseAssignmentsListForProduct smart constructor.

Constructors

LicensingLicenseAssignmentsListForProduct 

Fields

  • xgafv :: Maybe Xgafv

    V1 error format.

  • accessToken :: Maybe Text

    OAuth access token.

  • callback :: Maybe Text

    JSONP

  • customerId :: Text

    The customer's unique ID as defined in the Admin console, such as C00000000. If the customer is suspended, the server returns an error.

  • maxResults :: Word32

    The maxResults query string determines how many entries are returned on each page of a large response. This is an optional parameter. The value must be a positive number.

  • pageToken :: Text

    Token to fetch the next page of data. The maxResults query string is related to the pageToken since maxResults determines how many entries are returned on each page. This is an optional query string. If not specified, the server returns the first page.

  • productId :: Text

    A product's unique identifier. For more information about products 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").

Instances

Instances details
Generic LicensingLicenseAssignmentsListForProduct Source # 
Instance details

Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.ListForProduct

Associated Types

type Rep LicensingLicenseAssignmentsListForProduct 
Instance details

Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.ListForProduct

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

Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.ListForProduct

Eq LicensingLicenseAssignmentsListForProduct Source # 
Instance details

Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.ListForProduct

GoogleRequest LicensingLicenseAssignmentsListForProduct Source # 
Instance details

Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.ListForProduct

type Rep LicensingLicenseAssignmentsListForProduct Source # 
Instance details

Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.ListForProduct

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

Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.ListForProduct

type Scopes LicensingLicenseAssignmentsListForProduct Source # 
Instance details

Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.ListForProduct

newLicensingLicenseAssignmentsListForProduct Source #

Arguments

:: Text

The customer's unique ID as defined in the Admin console, such as C00000000. If the customer is suspended, the server returns an error. See customerId.

-> Text

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

-> LicensingLicenseAssignmentsListForProduct 

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

licensing.licenseAssignments.listForProductAndSku

type LicensingLicenseAssignmentsListForProductAndSkuResource = "apps" :> ("licensing" :> ("v1" :> ("product" :> (Capture "productId" Text :> ("sku" :> (Capture "skuId" Text :> ("users" :> (QueryParam "customerId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "access_token" Text :> (QueryParam "callback" Text :> (QueryParam "maxResults" Word32 :> (QueryParam "pageToken" Text :> (QueryParam "uploadType" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] LicenseAssignmentList)))))))))))))))) Source #

A resource alias for licensing.licenseAssignments.listForProductAndSku method which the LicensingLicenseAssignmentsListForProductAndSku request conforms to.

data LicensingLicenseAssignmentsListForProductAndSku Source #

List all users assigned licenses for a specific product SKU.

See: newLicensingLicenseAssignmentsListForProductAndSku smart constructor.

Constructors

LicensingLicenseAssignmentsListForProductAndSku 

Fields

  • xgafv :: Maybe Xgafv

    V1 error format.

  • accessToken :: Maybe Text

    OAuth access token.

  • callback :: Maybe Text

    JSONP

  • customerId :: Text

    The customer's unique ID as defined in the Admin console, such as C00000000. If the customer is suspended, the server returns an error.

  • maxResults :: Word32

    The maxResults query string determines how many entries are returned on each page of a large response. This is an optional parameter. The value must be a positive number.

  • pageToken :: Text

    Token to fetch the next page of data. The maxResults query string is related to the pageToken since maxResults determines how many entries are returned on each page. This is an optional query string. If not specified, the server returns the first page.

  • 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").

Instances

Instances details
Generic LicensingLicenseAssignmentsListForProductAndSku Source # 
Instance details

Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.ListForProductAndSku

Associated Types

type Rep LicensingLicenseAssignmentsListForProductAndSku 
Instance details

Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.ListForProductAndSku

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

Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.ListForProductAndSku

Eq LicensingLicenseAssignmentsListForProductAndSku Source # 
Instance details

Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.ListForProductAndSku

GoogleRequest LicensingLicenseAssignmentsListForProductAndSku Source # 
Instance details

Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.ListForProductAndSku

type Rep LicensingLicenseAssignmentsListForProductAndSku Source # 
Instance details

Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.ListForProductAndSku

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

Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.ListForProductAndSku

type Scopes LicensingLicenseAssignmentsListForProductAndSku Source # 
Instance details

Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.ListForProductAndSku

newLicensingLicenseAssignmentsListForProductAndSku Source #

Arguments

:: Text

The customer's unique ID as defined in the Admin console, such as C00000000. If the customer is suspended, the server returns an error. See customerId.

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

-> LicensingLicenseAssignmentsListForProductAndSku 

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

licensing.licenseAssignments.patch

type LicensingLicenseAssignmentsPatchResource = "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 :> (ReqBody '[JSON] LicenseAssignment :> Patch '[JSON] LicenseAssignment))))))))))))))) Source #

A resource alias for licensing.licenseAssignments.patch method which the LicensingLicenseAssignmentsPatch request conforms to.

data LicensingLicenseAssignmentsPatch Source #

Reassign a user's product SKU with a different SKU in the same product. This method supports patch semantics.

See: newLicensingLicenseAssignmentsPatch smart constructor.

Constructors

LicensingLicenseAssignmentsPatch 

Fields

  • xgafv :: Maybe Xgafv

    V1 error format.

  • accessToken :: Maybe Text

    OAuth access token.

  • callback :: Maybe Text

    JSONP

  • payload :: LicenseAssignment

    Multipart request metadata.

  • 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 LicensingLicenseAssignmentsPatch Source # 
Instance details

Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.Patch

Show LicensingLicenseAssignmentsPatch Source # 
Instance details

Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.Patch

Eq LicensingLicenseAssignmentsPatch Source # 
Instance details

Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.Patch

GoogleRequest LicensingLicenseAssignmentsPatch Source # 
Instance details

Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.Patch

type Rep LicensingLicenseAssignmentsPatch Source # 
Instance details

Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.Patch

type Rs LicensingLicenseAssignmentsPatch Source # 
Instance details

Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.Patch

type Scopes LicensingLicenseAssignmentsPatch Source # 
Instance details

Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.Patch

newLicensingLicenseAssignmentsPatch Source #

Arguments

:: LicenseAssignment

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.

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

-> LicensingLicenseAssignmentsPatch 

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

licensing.licenseAssignments.update

type LicensingLicenseAssignmentsUpdateResource = "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 :> (ReqBody '[JSON] LicenseAssignment :> Put '[JSON] LicenseAssignment))))))))))))))) Source #

A resource alias for licensing.licenseAssignments.update method which the LicensingLicenseAssignmentsUpdate request conforms to.

data LicensingLicenseAssignmentsUpdate Source #

Reassign a user's product SKU with a different SKU in the same product.

See: newLicensingLicenseAssignmentsUpdate smart constructor.

Constructors

LicensingLicenseAssignmentsUpdate 

Fields

  • xgafv :: Maybe Xgafv

    V1 error format.

  • accessToken :: Maybe Text

    OAuth access token.

  • callback :: Maybe Text

    JSONP

  • payload :: LicenseAssignment

    Multipart request metadata.

  • 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 LicensingLicenseAssignmentsUpdate Source # 
Instance details

Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.Update

Show LicensingLicenseAssignmentsUpdate Source # 
Instance details

Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.Update

Eq LicensingLicenseAssignmentsUpdate Source # 
Instance details

Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.Update

GoogleRequest LicensingLicenseAssignmentsUpdate Source # 
Instance details

Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.Update

type Rep LicensingLicenseAssignmentsUpdate Source # 
Instance details

Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.Update

type Rs LicensingLicenseAssignmentsUpdate Source # 
Instance details

Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.Update

type Scopes LicensingLicenseAssignmentsUpdate Source # 
Instance details

Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.Update

newLicensingLicenseAssignmentsUpdate Source #

Arguments

:: LicenseAssignment

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.

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

-> LicensingLicenseAssignmentsUpdate 

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

Types

Xgafv

newtype Xgafv Source #

V1 error format.

Constructors

Xgafv 

Fields

Bundled Patterns

pattern Xgafv_1 :: Xgafv

v1 error format

pattern Xgafv_2 :: Xgafv

v2 error format

Instances

Instances details
FromJSON Xgafv Source # 
Instance details

Defined in Gogol.AppsLicensing.Internal.Sum

FromJSONKey Xgafv Source # 
Instance details

Defined in Gogol.AppsLicensing.Internal.Sum

ToJSON Xgafv Source # 
Instance details

Defined in Gogol.AppsLicensing.Internal.Sum

ToJSONKey Xgafv Source # 
Instance details

Defined in Gogol.AppsLicensing.Internal.Sum

Generic Xgafv Source # 
Instance details

Defined in Gogol.AppsLicensing.Internal.Sum

Associated Types

type Rep Xgafv 
Instance details

Defined in Gogol.AppsLicensing.Internal.Sum

type Rep Xgafv = D1 ('MetaData "Xgafv" "Gogol.AppsLicensing.Internal.Sum" "gogol-apps-licensing-1.0.0-8Lqipv0mZT13qxwcf0iLRF" 'True) (C1 ('MetaCons "Xgafv" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromXgafv") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Methods

from :: Xgafv -> Rep Xgafv x #

to :: Rep Xgafv x -> Xgafv #

Read Xgafv Source # 
Instance details

Defined in Gogol.AppsLicensing.Internal.Sum

Show Xgafv Source # 
Instance details

Defined in Gogol.AppsLicensing.Internal.Sum

Methods

showsPrec :: Int -> Xgafv -> ShowS #

show :: Xgafv -> String #

showList :: [Xgafv] -> ShowS #

Eq Xgafv Source # 
Instance details

Defined in Gogol.AppsLicensing.Internal.Sum

Methods

(==) :: Xgafv -> Xgafv -> Bool #

(/=) :: Xgafv -> Xgafv -> Bool #

Ord Xgafv Source # 
Instance details

Defined in Gogol.AppsLicensing.Internal.Sum

Methods

compare :: Xgafv -> Xgafv -> Ordering #

(<) :: Xgafv -> Xgafv -> Bool #

(<=) :: Xgafv -> Xgafv -> Bool #

(>) :: Xgafv -> Xgafv -> Bool #

(>=) :: Xgafv -> Xgafv -> Bool #

max :: Xgafv -> Xgafv -> Xgafv #

min :: Xgafv -> Xgafv -> Xgafv #

Hashable Xgafv Source # 
Instance details

Defined in Gogol.AppsLicensing.Internal.Sum

Methods

hashWithSalt :: Int -> Xgafv -> Int #

hash :: Xgafv -> Int #

FromHttpApiData Xgafv Source # 
Instance details

Defined in Gogol.AppsLicensing.Internal.Sum

ToHttpApiData Xgafv Source # 
Instance details

Defined in Gogol.AppsLicensing.Internal.Sum

type Rep Xgafv Source # 
Instance details

Defined in Gogol.AppsLicensing.Internal.Sum

type Rep Xgafv = D1 ('MetaData "Xgafv" "Gogol.AppsLicensing.Internal.Sum" "gogol-apps-licensing-1.0.0-8Lqipv0mZT13qxwcf0iLRF" 'True) (C1 ('MetaCons "Xgafv" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromXgafv") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Empty

data Empty Source #

A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }

See: newEmpty smart constructor.

Constructors

Empty 

Instances

Instances details
FromJSON Empty Source # 
Instance details

Defined in Gogol.AppsLicensing.Internal.Product

ToJSON Empty Source # 
Instance details

Defined in Gogol.AppsLicensing.Internal.Product

Generic Empty Source # 
Instance details

Defined in Gogol.AppsLicensing.Internal.Product

Associated Types

type Rep Empty 
Instance details

Defined in Gogol.AppsLicensing.Internal.Product

type Rep Empty = D1 ('MetaData "Empty" "Gogol.AppsLicensing.Internal.Product" "gogol-apps-licensing-1.0.0-8Lqipv0mZT13qxwcf0iLRF" 'False) (C1 ('MetaCons "Empty" 'PrefixI 'False) (U1 :: Type -> Type))

Methods

from :: Empty -> Rep Empty x #

to :: Rep Empty x -> Empty #

Show Empty Source # 
Instance details

Defined in Gogol.AppsLicensing.Internal.Product

Methods

showsPrec :: Int -> Empty -> ShowS #

show :: Empty -> String #

showList :: [Empty] -> ShowS #

Eq Empty Source # 
Instance details

Defined in Gogol.AppsLicensing.Internal.Product

Methods

(==) :: Empty -> Empty -> Bool #

(/=) :: Empty -> Empty -> Bool #

type Rep Empty Source # 
Instance details

Defined in Gogol.AppsLicensing.Internal.Product

type Rep Empty = D1 ('MetaData "Empty" "Gogol.AppsLicensing.Internal.Product" "gogol-apps-licensing-1.0.0-8Lqipv0mZT13qxwcf0iLRF" 'False) (C1 ('MetaCons "Empty" 'PrefixI 'False) (U1 :: Type -> Type))

newEmpty :: Empty Source #

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

LicenseAssignment

data LicenseAssignment Source #

Representation of a license assignment.

See: newLicenseAssignment smart constructor.

Constructors

LicenseAssignment 

Fields

  • etags :: Maybe Text

    ETag of the resource.

  • kind :: Text

    Identifies the resource as a LicenseAssignment, which is licensing#licenseAssignment.

  • productId :: Maybe Text

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

  • productName :: Maybe Text

    Display Name of the product.

  • selfLink :: Maybe Text

    Link to this page.

  • skuId :: Maybe Text

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

  • skuName :: Maybe Text

    Display Name of the sku of the product.

  • userId :: Maybe 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
FromJSON LicenseAssignment Source # 
Instance details

Defined in Gogol.AppsLicensing.Internal.Product

ToJSON LicenseAssignment Source # 
Instance details

Defined in Gogol.AppsLicensing.Internal.Product

Generic LicenseAssignment Source # 
Instance details

Defined in Gogol.AppsLicensing.Internal.Product

Show LicenseAssignment Source # 
Instance details

Defined in Gogol.AppsLicensing.Internal.Product

Eq LicenseAssignment Source # 
Instance details

Defined in Gogol.AppsLicensing.Internal.Product

type Rep LicenseAssignment Source # 
Instance details

Defined in Gogol.AppsLicensing.Internal.Product

newLicenseAssignment :: LicenseAssignment Source #

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

LicenseAssignmentInsert

newtype LicenseAssignmentInsert Source #

Representation of a license assignment.

See: newLicenseAssignmentInsert smart constructor.

Constructors

LicenseAssignmentInsert 

Fields

Instances

Instances details
FromJSON LicenseAssignmentInsert Source # 
Instance details

Defined in Gogol.AppsLicensing.Internal.Product

ToJSON LicenseAssignmentInsert Source # 
Instance details

Defined in Gogol.AppsLicensing.Internal.Product

Generic LicenseAssignmentInsert Source # 
Instance details

Defined in Gogol.AppsLicensing.Internal.Product

Associated Types

type Rep LicenseAssignmentInsert 
Instance details

Defined in Gogol.AppsLicensing.Internal.Product

type Rep LicenseAssignmentInsert = D1 ('MetaData "LicenseAssignmentInsert" "Gogol.AppsLicensing.Internal.Product" "gogol-apps-licensing-1.0.0-8Lqipv0mZT13qxwcf0iLRF" 'True) (C1 ('MetaCons "LicenseAssignmentInsert" 'PrefixI 'True) (S1 ('MetaSel ('Just "userId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))))
Show LicenseAssignmentInsert Source # 
Instance details

Defined in Gogol.AppsLicensing.Internal.Product

Eq LicenseAssignmentInsert Source # 
Instance details

Defined in Gogol.AppsLicensing.Internal.Product

type Rep LicenseAssignmentInsert Source # 
Instance details

Defined in Gogol.AppsLicensing.Internal.Product

type Rep LicenseAssignmentInsert = D1 ('MetaData "LicenseAssignmentInsert" "Gogol.AppsLicensing.Internal.Product" "gogol-apps-licensing-1.0.0-8Lqipv0mZT13qxwcf0iLRF" 'True) (C1 ('MetaCons "LicenseAssignmentInsert" 'PrefixI 'True) (S1 ('MetaSel ('Just "userId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))))

newLicenseAssignmentInsert :: LicenseAssignmentInsert Source #

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

LicenseAssignmentList

data LicenseAssignmentList Source #

Constructors

LicenseAssignmentList 

Fields

  • etag :: Maybe Text

    ETag of the resource.

  • items :: Maybe [LicenseAssignment]

    The LicenseAssignments in this page of results.

  • kind :: Text

    Identifies the resource as a collection of LicenseAssignments.

  • nextPageToken :: Maybe Text

    The token that you must submit in a subsequent request to retrieve additional license results matching your query parameters. The maxResults query string is related to the nextPageToken since maxResults determines how many entries are returned on each next page.

Instances

Instances details
FromJSON LicenseAssignmentList Source # 
Instance details

Defined in Gogol.AppsLicensing.Internal.Product

ToJSON LicenseAssignmentList Source # 
Instance details

Defined in Gogol.AppsLicensing.Internal.Product

Generic LicenseAssignmentList Source # 
Instance details

Defined in Gogol.AppsLicensing.Internal.Product

Associated Types

type Rep LicenseAssignmentList 
Instance details

Defined in Gogol.AppsLicensing.Internal.Product

type Rep LicenseAssignmentList = D1 ('MetaData "LicenseAssignmentList" "Gogol.AppsLicensing.Internal.Product" "gogol-apps-licensing-1.0.0-8Lqipv0mZT13qxwcf0iLRF" 'False) (C1 ('MetaCons "LicenseAssignmentList" 'PrefixI 'True) ((S1 ('MetaSel ('Just "etag") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [LicenseAssignment]))) :*: (S1 ('MetaSel ('Just "kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "nextPageToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))
Show LicenseAssignmentList Source # 
Instance details

Defined in Gogol.AppsLicensing.Internal.Product

Eq LicenseAssignmentList Source # 
Instance details

Defined in Gogol.AppsLicensing.Internal.Product

type Rep LicenseAssignmentList Source # 
Instance details

Defined in Gogol.AppsLicensing.Internal.Product

type Rep LicenseAssignmentList = D1 ('MetaData "LicenseAssignmentList" "Gogol.AppsLicensing.Internal.Product" "gogol-apps-licensing-1.0.0-8Lqipv0mZT13qxwcf0iLRF" 'False) (C1 ('MetaCons "LicenseAssignmentList" 'PrefixI 'True) ((S1 ('MetaSel ('Just "etag") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [LicenseAssignment]))) :*: (S1 ('MetaSel ('Just "kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "nextPageToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newLicenseAssignmentList :: LicenseAssignmentList Source #

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