Copyright | (c) 2015-2025 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+gogol@gmail.com> Toni Cebrián <toni@tonicebrian.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | GHC2021 |
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.
Synopsis
- appsLicensingService :: ServiceConfig
- type Apps'Licensing = "https://www.googleapis.com/auth/apps.licensing"
- 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))))))))))))))
- data LicensingLicenseAssignmentsDelete = LicensingLicenseAssignmentsDelete {}
- newLicensingLicenseAssignmentsDelete :: Text -> Text -> Text -> LicensingLicenseAssignmentsDelete
- 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))))))))))))))
- data LicensingLicenseAssignmentsGet = LicensingLicenseAssignmentsGet {}
- newLicensingLicenseAssignmentsGet :: Text -> Text -> Text -> LicensingLicenseAssignmentsGet
- 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))))))))))))))
- data LicensingLicenseAssignmentsInsert = LicensingLicenseAssignmentsInsert {}
- newLicensingLicenseAssignmentsInsert :: LicenseAssignmentInsert -> Text -> Text -> LicensingLicenseAssignmentsInsert
- 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))))))))))))))
- data LicensingLicenseAssignmentsListForProduct = LicensingLicenseAssignmentsListForProduct {
- xgafv :: Maybe Xgafv
- accessToken :: Maybe Text
- callback :: Maybe Text
- customerId :: Text
- maxResults :: Word32
- pageToken :: Text
- productId :: Text
- uploadType :: Maybe Text
- uploadProtocol :: Maybe Text
- newLicensingLicenseAssignmentsListForProduct :: Text -> Text -> LicensingLicenseAssignmentsListForProduct
- 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))))))))))))))))
- data LicensingLicenseAssignmentsListForProductAndSku = LicensingLicenseAssignmentsListForProductAndSku {
- xgafv :: Maybe Xgafv
- accessToken :: Maybe Text
- callback :: Maybe Text
- customerId :: Text
- maxResults :: Word32
- pageToken :: Text
- productId :: Text
- skuId :: Text
- uploadType :: Maybe Text
- uploadProtocol :: Maybe Text
- newLicensingLicenseAssignmentsListForProductAndSku :: Text -> Text -> Text -> LicensingLicenseAssignmentsListForProductAndSku
- 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)))))))))))))))
- data LicensingLicenseAssignmentsPatch = LicensingLicenseAssignmentsPatch {}
- newLicensingLicenseAssignmentsPatch :: LicenseAssignment -> Text -> Text -> Text -> LicensingLicenseAssignmentsPatch
- 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)))))))))))))))
- data LicensingLicenseAssignmentsUpdate = LicensingLicenseAssignmentsUpdate {}
- newLicensingLicenseAssignmentsUpdate :: LicenseAssignment -> Text -> Text -> Text -> LicensingLicenseAssignmentsUpdate
- newtype Xgafv where
- data Empty = Empty
- newEmpty :: Empty
- data LicenseAssignment = LicenseAssignment {}
- newLicenseAssignment :: LicenseAssignment
- newtype LicenseAssignmentInsert = LicenseAssignmentInsert {}
- newLicenseAssignmentInsert :: LicenseAssignmentInsert
- data LicenseAssignmentList = LicenseAssignmentList {}
- newLicenseAssignmentList :: LicenseAssignmentList
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
|
Instances
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 |
-> Text | A product SKU's unique identifier. For more information about available SKUs in this version of the API, see Products and SKUs. See |
-> 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 |
-> 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
|
Instances
Generic LicensingLicenseAssignmentsGet Source # | |||||||||
Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.Get Associated Types
| |||||||||
Show LicensingLicenseAssignmentsGet Source # | |||||||||
Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.Get Methods showsPrec :: Int -> LicensingLicenseAssignmentsGet -> ShowS # show :: LicensingLicenseAssignmentsGet -> String # showList :: [LicensingLicenseAssignmentsGet] -> ShowS # | |||||||||
Eq LicensingLicenseAssignmentsGet Source # | |||||||||
GoogleRequest LicensingLicenseAssignmentsGet Source # | |||||||||
Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.Get Associated Types
| |||||||||
type Rep LicensingLicenseAssignmentsGet Source # | |||||||||
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 # | |||||||||
type Scopes LicensingLicenseAssignmentsGet Source # | |||||||||
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 |
-> Text | A product SKU's unique identifier. For more information about available SKUs in this version of the API, see Products and SKUs. See |
-> 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 |
-> 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
Generic LicensingLicenseAssignmentsInsert Source # | |||||||||
Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.Insert Associated Types
| |||||||||
Show LicensingLicenseAssignmentsInsert Source # | |||||||||
Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.Insert Methods showsPrec :: Int -> LicensingLicenseAssignmentsInsert -> ShowS # | |||||||||
Eq LicensingLicenseAssignmentsInsert Source # | |||||||||
GoogleRequest LicensingLicenseAssignmentsInsert Source # | |||||||||
Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.Insert Associated Types
| |||||||||
type Rep LicensingLicenseAssignmentsInsert Source # | |||||||||
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 # | |||||||||
type Scopes LicensingLicenseAssignmentsInsert Source # | |||||||||
newLicensingLicenseAssignmentsInsert Source #
Arguments
:: LicenseAssignmentInsert | Multipart request metadata. See |
-> Text | A product's unique identifier. For more information about products in this version of the API, see Products and SKUs. See |
-> Text | A product SKU's unique identifier. For more information about available SKUs in this version of the API, see Products and SKUs. See |
-> 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
|
Instances
Generic LicensingLicenseAssignmentsListForProduct Source # | |||||||||
Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.ListForProduct Associated Types
| |||||||||
Show LicensingLicenseAssignmentsListForProduct Source # | |||||||||
Eq LicensingLicenseAssignmentsListForProduct Source # | |||||||||
GoogleRequest LicensingLicenseAssignmentsListForProduct Source # | |||||||||
Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.ListForProduct Associated Types
| |||||||||
type Rep LicensingLicenseAssignmentsListForProduct Source # | |||||||||
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 # | |||||||||
type Scopes LicensingLicenseAssignmentsListForProduct Source # | |||||||||
newLicensingLicenseAssignmentsListForProduct Source #
Arguments
:: Text | The customer's unique ID as defined in the Admin console, such as |
-> Text | A product's unique identifier. For more information about products in this version of the API, see Products and SKUs. See |
-> 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
|
Instances
Generic LicensingLicenseAssignmentsListForProductAndSku Source # | |||||
Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.ListForProductAndSku Associated Types
| |||||
Show LicensingLicenseAssignmentsListForProductAndSku Source # | |||||
Eq LicensingLicenseAssignmentsListForProductAndSku Source # | |||||
GoogleRequest LicensingLicenseAssignmentsListForProductAndSku Source # | |||||
type Rep LicensingLicenseAssignmentsListForProductAndSku Source # | |||||
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 # | |||||
type Scopes LicensingLicenseAssignmentsListForProductAndSku Source # | |||||
newLicensingLicenseAssignmentsListForProductAndSku Source #
Arguments
:: Text | The customer's unique ID as defined in the Admin console, such as |
-> Text | A product's unique identifier. For more information about products in this version of the API, see Products and SKUs. See |
-> Text | A product SKU's unique identifier. For more information about available SKUs in this version of the API, see Products and SKUs. See |
-> 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
|
Instances
Generic LicensingLicenseAssignmentsPatch Source # | |||||||||
Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.Patch Associated Types
| |||||||||
Show LicensingLicenseAssignmentsPatch Source # | |||||||||
Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.Patch Methods showsPrec :: Int -> LicensingLicenseAssignmentsPatch -> ShowS # | |||||||||
Eq LicensingLicenseAssignmentsPatch Source # | |||||||||
GoogleRequest LicensingLicenseAssignmentsPatch Source # | |||||||||
Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.Patch Associated Types
| |||||||||
type Rep LicensingLicenseAssignmentsPatch Source # | |||||||||
Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.Patch type Rep LicensingLicenseAssignmentsPatch = D1 ('MetaData "LicensingLicenseAssignmentsPatch" "Gogol.AppsLicensing.Licensing.LicenseAssignments.Patch" "gogol-apps-licensing-1.0.0-8Lqipv0mZT13qxwcf0iLRF" 'False) (C1 ('MetaCons "LicensingLicenseAssignmentsPatch" '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 LicenseAssignment))) :*: ((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 LicensingLicenseAssignmentsPatch Source # | |||||||||
type Scopes LicensingLicenseAssignmentsPatch Source # | |||||||||
newLicensingLicenseAssignmentsPatch Source #
Arguments
:: LicenseAssignment | Multipart request metadata. See |
-> Text | A product's unique identifier. For more information about products in this version of the API, see Products and SKUs. See |
-> Text | A product SKU's unique identifier. For more information about available SKUs in this version of the API, see Products and SKUs. See |
-> 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 |
-> 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
|
Instances
Generic LicensingLicenseAssignmentsUpdate Source # | |||||||||
Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.Update Associated Types
| |||||||||
Show LicensingLicenseAssignmentsUpdate Source # | |||||||||
Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.Update Methods showsPrec :: Int -> LicensingLicenseAssignmentsUpdate -> ShowS # | |||||||||
Eq LicensingLicenseAssignmentsUpdate Source # | |||||||||
GoogleRequest LicensingLicenseAssignmentsUpdate Source # | |||||||||
Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.Update Associated Types
| |||||||||
type Rep LicensingLicenseAssignmentsUpdate Source # | |||||||||
Defined in Gogol.AppsLicensing.Licensing.LicenseAssignments.Update type Rep LicensingLicenseAssignmentsUpdate = D1 ('MetaData "LicensingLicenseAssignmentsUpdate" "Gogol.AppsLicensing.Licensing.LicenseAssignments.Update" "gogol-apps-licensing-1.0.0-8Lqipv0mZT13qxwcf0iLRF" 'False) (C1 ('MetaCons "LicensingLicenseAssignmentsUpdate" '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 LicenseAssignment))) :*: ((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 LicensingLicenseAssignmentsUpdate Source # | |||||||||
type Scopes LicensingLicenseAssignmentsUpdate Source # | |||||||||
newLicensingLicenseAssignmentsUpdate Source #
Arguments
:: LicenseAssignment | Multipart request metadata. See |
-> Text | A product's unique identifier. For more information about products in this version of the API, see Products and SKUs. See |
-> Text | A product SKU's unique identifier. For more information about available SKUs in this version of the API, see Products and SKUs. See |
-> 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 |
-> LicensingLicenseAssignmentsUpdate |
Creates a value of LicensingLicenseAssignmentsUpdate
with the minimum fields required to make a request.
Types
Xgafv
V1 error format.
Instances
FromJSON Xgafv Source # | |||||
Defined in Gogol.AppsLicensing.Internal.Sum | |||||
FromJSONKey Xgafv Source # | |||||
Defined in Gogol.AppsLicensing.Internal.Sum | |||||
ToJSON Xgafv Source # | |||||
ToJSONKey Xgafv Source # | |||||
Defined in Gogol.AppsLicensing.Internal.Sum | |||||
Generic Xgafv Source # | |||||
Defined in Gogol.AppsLicensing.Internal.Sum Associated Types
| |||||
Read Xgafv Source # | |||||
Show Xgafv Source # | |||||
Eq Xgafv Source # | |||||
Ord Xgafv Source # | |||||
Hashable Xgafv Source # | |||||
Defined in Gogol.AppsLicensing.Internal.Sum | |||||
FromHttpApiData Xgafv Source # | |||||
Defined in Gogol.AppsLicensing.Internal.Sum | |||||
ToHttpApiData Xgafv Source # | |||||
Defined in Gogol.AppsLicensing.Internal.Sum Methods toUrlPiece :: Xgafv -> Text # toEncodedUrlPiece :: Xgafv -> Builder # toHeader :: Xgafv -> ByteString # toQueryParam :: Xgafv -> Text # toEncodedQueryParam :: Xgafv -> Builder # | |||||
type Rep Xgafv Source # | |||||
Defined in Gogol.AppsLicensing.Internal.Sum |
Empty
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 |
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
|
Instances
FromJSON LicenseAssignment Source # | |||||
Defined in Gogol.AppsLicensing.Internal.Product Methods parseJSON :: Value -> Parser LicenseAssignment # parseJSONList :: Value -> Parser [LicenseAssignment] # | |||||
ToJSON LicenseAssignment Source # | |||||
Defined in Gogol.AppsLicensing.Internal.Product Methods toJSON :: LicenseAssignment -> Value # toEncoding :: LicenseAssignment -> Encoding # toJSONList :: [LicenseAssignment] -> Value # toEncodingList :: [LicenseAssignment] -> Encoding # omitField :: LicenseAssignment -> Bool # | |||||
Generic LicenseAssignment Source # | |||||
Defined in Gogol.AppsLicensing.Internal.Product Associated Types
Methods from :: LicenseAssignment -> Rep LicenseAssignment x # to :: Rep LicenseAssignment x -> LicenseAssignment # | |||||
Show LicenseAssignment Source # | |||||
Defined in Gogol.AppsLicensing.Internal.Product Methods showsPrec :: Int -> LicenseAssignment -> ShowS # show :: LicenseAssignment -> String # showList :: [LicenseAssignment] -> ShowS # | |||||
Eq LicenseAssignment Source # | |||||
Defined in Gogol.AppsLicensing.Internal.Product Methods (==) :: LicenseAssignment -> LicenseAssignment -> Bool # (/=) :: LicenseAssignment -> LicenseAssignment -> Bool # | |||||
type Rep LicenseAssignment Source # | |||||
Defined in Gogol.AppsLicensing.Internal.Product type Rep LicenseAssignment = D1 ('MetaData "LicenseAssignment" "Gogol.AppsLicensing.Internal.Product" "gogol-apps-licensing-1.0.0-8Lqipv0mZT13qxwcf0iLRF" 'False) (C1 ('MetaCons "LicenseAssignment" 'PrefixI 'True) (((S1 ('MetaSel ('Just "etags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "productId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "productName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "selfLink") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "skuId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "skuName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "userId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))) |
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 | |
Instances
FromJSON LicenseAssignmentInsert Source # | |||||
Defined in Gogol.AppsLicensing.Internal.Product Methods parseJSON :: Value -> Parser LicenseAssignmentInsert # parseJSONList :: Value -> Parser [LicenseAssignmentInsert] # | |||||
ToJSON LicenseAssignmentInsert Source # | |||||
Defined in Gogol.AppsLicensing.Internal.Product Methods toJSON :: LicenseAssignmentInsert -> Value # toEncoding :: LicenseAssignmentInsert -> Encoding # toJSONList :: [LicenseAssignmentInsert] -> Value # | |||||
Generic LicenseAssignmentInsert Source # | |||||
Defined in Gogol.AppsLicensing.Internal.Product Associated Types
Methods from :: LicenseAssignmentInsert -> Rep LicenseAssignmentInsert x # to :: Rep LicenseAssignmentInsert x -> LicenseAssignmentInsert # | |||||
Show LicenseAssignmentInsert Source # | |||||
Defined in Gogol.AppsLicensing.Internal.Product Methods showsPrec :: Int -> LicenseAssignmentInsert -> ShowS # show :: LicenseAssignmentInsert -> String # showList :: [LicenseAssignmentInsert] -> ShowS # | |||||
Eq LicenseAssignmentInsert Source # | |||||
Defined in Gogol.AppsLicensing.Internal.Product Methods (==) :: LicenseAssignmentInsert -> LicenseAssignmentInsert -> Bool # (/=) :: LicenseAssignmentInsert -> LicenseAssignmentInsert -> Bool # | |||||
type Rep LicenseAssignmentInsert Source # | |||||
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
|
Instances
FromJSON LicenseAssignmentList Source # | |||||
Defined in Gogol.AppsLicensing.Internal.Product Methods parseJSON :: Value -> Parser LicenseAssignmentList # parseJSONList :: Value -> Parser [LicenseAssignmentList] # | |||||
ToJSON LicenseAssignmentList Source # | |||||
Defined in Gogol.AppsLicensing.Internal.Product Methods toJSON :: LicenseAssignmentList -> Value # toEncoding :: LicenseAssignmentList -> Encoding # toJSONList :: [LicenseAssignmentList] -> Value # toEncodingList :: [LicenseAssignmentList] -> Encoding # omitField :: LicenseAssignmentList -> Bool # | |||||
Generic LicenseAssignmentList Source # | |||||
Defined in Gogol.AppsLicensing.Internal.Product Associated Types
Methods from :: LicenseAssignmentList -> Rep LicenseAssignmentList x # to :: Rep LicenseAssignmentList x -> LicenseAssignmentList # | |||||
Show LicenseAssignmentList Source # | |||||
Defined in Gogol.AppsLicensing.Internal.Product Methods showsPrec :: Int -> LicenseAssignmentList -> ShowS # show :: LicenseAssignmentList -> String # showList :: [LicenseAssignmentList] -> ShowS # | |||||
Eq LicenseAssignmentList Source # | |||||
Defined in Gogol.AppsLicensing.Internal.Product Methods (==) :: LicenseAssignmentList -> LicenseAssignmentList -> Bool # (/=) :: LicenseAssignmentList -> LicenseAssignmentList -> Bool # | |||||
type Rep LicenseAssignmentList Source # | |||||
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.