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

Description

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

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

Synopsis

Resource

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.

Constructing a Request

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.