LicenseAssignments
class LicenseAssignments extends Resource (View source)
The "licenseAssignments" collection of methods.
Typical usage is:
$licensingService = new Google\Service\Licensing(...);
$licenseAssignments = $licensingService->licenseAssignments;
Methods
Revoke a license. (licenseAssignments.delete)
Get a specific user's license by product SKU. (licenseAssignments.get)
Assign a license. (licenseAssignments.insert)
List all users assigned licenses for a specific product SKU.
List all users assigned licenses for a specific product SKU.
Reassign a user's product SKU with a different SKU in the same product. This method supports patch semantics. (licenseAssignments.patch)
Reassign a user's product SKU with a different SKU in the same product.
Details
LicensingEmpty
delete(string $productId, string $skuId, string $userId, array $optParams = [])
Revoke a license. (licenseAssignments.delete)
LicenseAssignment
get(string $productId, string $skuId, string $userId, array $optParams = [])
Get a specific user's license by product SKU. (licenseAssignments.get)
LicenseAssignment
insert(string $productId, string $skuId, LicenseAssignmentInsert $postBody, array $optParams = [])
Assign a license. (licenseAssignments.insert)
LicenseAssignmentList
listForProduct(string $productId, string $customerId, array $optParams = [])
List all users assigned licenses for a specific product SKU.
(licenseAssignments.listForProduct)
LicenseAssignmentList
listForProductAndSku(string $productId, string $skuId, string $customerId, array $optParams = [])
List all users assigned licenses for a specific product SKU.
(licenseAssignments.listForProductAndSku)
LicenseAssignment
patch(string $productId, string $skuId, string $userId, LicenseAssignment $postBody, array $optParams = [])
Reassign a user's product SKU with a different SKU in the same product. This method supports patch semantics. (licenseAssignments.patch)
LicenseAssignment
update(string $productId, string $skuId, string $userId, LicenseAssignment $postBody, array $optParams = [])
Reassign a user's product SKU with a different SKU in the same product.
(licenseAssignments.update)