Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.10.x will end 8 November 2021 (12 months).
  • Bug fixes for security issues in 3.10.x will end 9 May 2022 (18 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.

Differences Between: [Versions 310 and 402] [Versions 310 and 403]

(no description)

File Size: 479 lines (15 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 5 classes

Google_Service_Licensing:: (1 method):
  __construct()

Google_Service_Licensing_LicenseAssignments_Resource:: (7 methods):
  delete()
  get()
  insert()
  listForProduct()
  listForProductAndSku()
  patch()
  update()

Google_Service_Licensing_LicenseAssignment:: (12 methods):
  setEtags()
  getEtags()
  setKind()
  getKind()
  setProductId()
  getProductId()
  setSelfLink()
  getSelfLink()
  setSkuId()
  getSkuId()
  setUserId()
  getUserId()

Google_Service_Licensing_LicenseAssignmentInsert:: (2 methods):
  setUserId()
  getUserId()

Google_Service_Licensing_LicenseAssignmentList:: (8 methods):
  setEtag()
  getEtag()
  setItems()
  getItems()
  setKind()
  getKind()
  setNextPageToken()
  getNextPageToken()


Class: Google_Service_Licensing  - X-Ref

Service definition for Licensing (v1).

<p>
Licensing API to view and manage license for your domain.</p>

<p>
For more information about this service, see the API
<a href="https://developers.google.com/google-apps/licensing/" target="_blank">Documentation</a>
</p>

__construct(Google_Client $client)   X-Ref
Constructs the internal representation of the Licensing service.

param: Google_Client $client

Class: Google_Service_Licensing_LicenseAssignments_Resource  - X-Ref

The "licenseAssignments" collection of methods.
Typical usage is:
<code>
$licensingService = new Google_Service_Licensing(...);
$licenseAssignments = $licensingService->licenseAssignments;
</code>

delete($productId, $skuId, $userId, $optParams = array()   X-Ref
Revoke License. (licenseAssignments.delete)

param: string $productId Name for product
param: string $skuId Name for sku
param: string $userId email id or unique Id of the user
param: array $optParams Optional parameters.

get($productId, $skuId, $userId, $optParams = array()   X-Ref
Get license assignment of a particular product and sku for a user
(licenseAssignments.get)

param: string $productId Name for product
param: string $skuId Name for sku
param: string $userId email id or unique Id of the user
param: array $optParams Optional parameters.
return: Google_Service_Licensing_LicenseAssignment

insert($productId, $skuId, Google_Service_Licensing_LicenseAssignmentInsert $postBody, $optParams = array()   X-Ref
Assign License. (licenseAssignments.insert)

param: string $productId Name for product
param: string $skuId Name for sku
param: Google_LicenseAssignmentInsert $postBody
param: array $optParams Optional parameters.
return: Google_Service_Licensing_LicenseAssignment

listForProduct($productId, $customerId, $optParams = array()   X-Ref
List license assignments for given product of the customer.
(licenseAssignments.listForProduct)

param: string $productId Name for product
param: string $customerId CustomerId represents the customer for whom
param: array $optParams Optional parameters.
return: Google_Service_Licensing_LicenseAssignmentList

listForProductAndSku($productId, $skuId, $customerId, $optParams = array()   X-Ref
List license assignments for given product and sku of the customer.
(licenseAssignments.listForProductAndSku)

param: string $productId Name for product
param: string $skuId Name for sku
param: string $customerId CustomerId represents the customer for whom
param: array $optParams Optional parameters.
return: Google_Service_Licensing_LicenseAssignmentList

patch($productId, $skuId, $userId, Google_Service_Licensing_LicenseAssignment $postBody, $optParams = array()   X-Ref
Assign License. This method supports patch semantics.
(licenseAssignments.patch)

param: string $productId Name for product
param: string $skuId Name for sku for which license would be revoked
param: string $userId email id or unique Id of the user
param: Google_LicenseAssignment $postBody
param: array $optParams Optional parameters.
return: Google_Service_Licensing_LicenseAssignment

update($productId, $skuId, $userId, Google_Service_Licensing_LicenseAssignment $postBody, $optParams = array()   X-Ref
Assign License. (licenseAssignments.update)

param: string $productId Name for product
param: string $skuId Name for sku for which license would be revoked
param: string $userId email id or unique Id of the user
param: Google_LicenseAssignment $postBody
param: array $optParams Optional parameters.
return: Google_Service_Licensing_LicenseAssignment

Class: Google_Service_Licensing_LicenseAssignment  - X-Ref

setEtags($etags)   X-Ref
No description

getEtags()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setProductId($productId)   X-Ref
No description

getProductId()   X-Ref
No description

setSelfLink($selfLink)   X-Ref
No description

getSelfLink()   X-Ref
No description

setSkuId($skuId)   X-Ref
No description

getSkuId()   X-Ref
No description

setUserId($userId)   X-Ref
No description

getUserId()   X-Ref
No description

Class: Google_Service_Licensing_LicenseAssignmentInsert  - X-Ref

setUserId($userId)   X-Ref
No description

getUserId()   X-Ref
No description

Class: Google_Service_Licensing_LicenseAssignmentList  - X-Ref

setEtag($etag)   X-Ref
No description

getEtag()   X-Ref
No description

setItems($items)   X-Ref
No description

getItems()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setNextPageToken($nextPageToken)   X-Ref
No description

getNextPageToken()   X-Ref
No description