The "licenseAssignments" collection of methods.
More...
|
| | call ($name, $arguments, $expected_class=null) |
| | TODO: This function needs simplifying.
|
| |
| | delete ($productId, $skuId, $userId, $optParams=array()) |
| | Revoke License.
|
| |
| | get ($productId, $skuId, $userId, $optParams=array()) |
| | Get license assignment of a particular product and sku for a user (licenseAssignments.get)
|
| |
| | insert ($productId, $skuId, Google_Service_Licensing_LicenseAssignmentInsert $postBody, $optParams=array()) |
| | Assign License.
|
| |
| | listForProduct ($productId, $customerId, $optParams=array()) |
| | List license assignments for given product of the customer.
|
| |
| | listForProductAndSku ($productId, $skuId, $customerId, $optParams=array()) |
| | List license assignments for given product and sku of the customer.
|
| |
| | patch ($productId, $skuId, $userId, Google_Service_Licensing_LicenseAssignment $postBody, $optParams=array()) |
| | Assign License.
|
| |
| | update ($productId, $skuId, $userId, Google_Service_Licensing_LicenseAssignment $postBody, $optParams=array()) |
| | Assign License.
|
| |
|
|
| convertToArrayAndStripNulls ($o) |
| |
The "licenseAssignments" collection of methods.
Typical usage is: $licensingService = new Google_Service_Licensing(...); $licenseAssignments = $licensingService->licenseAssignments;
◆ call()
| Google_Service_Resource::call |
( |
| $name, |
|
|
| $arguments, |
|
|
| $expected_class = null ) |
|
inherited |
TODO: This function needs simplifying.
- Parameters
-
| $name | |
| $arguments | |
| $expected_class | - optional, the expected class name |
- Return values
-
| Google_Http_Request|expected_class | |
- Exceptions
-
◆ delete()
| Google_Service_Licensing_LicenseAssignments_Resource::delete |
( |
| $productId, |
|
|
| $skuId, |
|
|
| $userId, |
|
|
| $optParams = array() ) |
Revoke License.
(licenseAssignments.delete)
- Parameters
-
| string | $productId | Name for product |
| string | $skuId | Name for sku |
| string | $userId | email id or unique Id of the user |
| array | $optParams | Optional parameters. |
◆ get()
| Google_Service_Licensing_LicenseAssignments_Resource::get |
( |
| $productId, |
|
|
| $skuId, |
|
|
| $userId, |
|
|
| $optParams = array() ) |
Get license assignment of a particular product and sku for a user (licenseAssignments.get)
- Parameters
-
| string | $productId | Name for product |
| string | $skuId | Name for sku |
| string | $userId | email id or unique Id of the user |
| array | $optParams | Optional parameters. |
- Return values
-
◆ insert()
Assign License.
(licenseAssignments.insert)
- Parameters
-
| string | $productId | Name for product |
| string | $skuId | Name for sku |
| Google_LicenseAssignmentInsert | $postBody | |
| array | $optParams | Optional parameters. |
- Return values
-
◆ listForProduct()
| Google_Service_Licensing_LicenseAssignments_Resource::listForProduct |
( |
| $productId, |
|
|
| $customerId, |
|
|
| $optParams = array() ) |
List license assignments for given product of the customer.
(licenseAssignments.listForProduct)
- Parameters
-
| string | $productId | Name for product |
| string | $customerId | CustomerId represents the customer for whom licenseassignments are queried |
| array | $optParams | Optional parameters. |
@opt_param string pageToken Token to fetch the next page.Optional. By default server will return first page @opt_param string maxResults Maximum number of campaigns to return at one time. Must be positive. Optional. Default value is 100.
- Return values
-
◆ listForProductAndSku()
| Google_Service_Licensing_LicenseAssignments_Resource::listForProductAndSku |
( |
| $productId, |
|
|
| $skuId, |
|
|
| $customerId, |
|
|
| $optParams = array() ) |
List license assignments for given product and sku of the customer.
(licenseAssignments.listForProductAndSku)
- Parameters
-
| string | $productId | Name for product |
| string | $skuId | Name for sku |
| string | $customerId | CustomerId represents the customer for whom licenseassignments are queried |
| array | $optParams | Optional parameters. |
@opt_param string pageToken Token to fetch the next page.Optional. By default server will return first page @opt_param string maxResults Maximum number of campaigns to return at one time. Must be positive. Optional. Default value is 100.
- Return values
-
◆ patch()
Assign License.
This method supports patch semantics. (licenseAssignments.patch)
- Parameters
-
| string | $productId | Name for product |
| string | $skuId | Name for sku for which license would be revoked |
| string | $userId | email id or unique Id of the user |
| Google_LicenseAssignment | $postBody | |
| array | $optParams | Optional parameters. |
- Return values
-
◆ update()
Assign License.
(licenseAssignments.update)
- Parameters
-
| string | $productId | Name for product |
| string | $skuId | Name for sku for which license would be revoked |
| string | $userId | email id or unique Id of the user |
| Google_LicenseAssignment | $postBody | |
| array | $optParams | Optional parameters. |
- Return values
-
The documentation for this class was generated from the following file:
- lib/google/src/Google/Service/Licensing.php