The "entitlements" collection of methods.
More...
|
| call ($name, $arguments, $expected_class=null) |
| TODO: This function needs simplifying.
|
|
| delete ($enterpriseId, $userId, $entitlementId, $optParams=array()) |
| Removes an entitlement to an app for a user and uninstalls it.
|
|
| get ($enterpriseId, $userId, $entitlementId, $optParams=array()) |
| Retrieves details of an entitlement.
|
|
| listEntitlements ($enterpriseId, $userId, $optParams=array()) |
| List of all entitlements for the specified user.
|
|
| patch ($enterpriseId, $userId, $entitlementId, Google_Service_AndroidEnterprise_Entitlement $postBody, $optParams=array()) |
| Adds or updates an entitlement to an app for a user.
|
|
| update ($enterpriseId, $userId, $entitlementId, Google_Service_AndroidEnterprise_Entitlement $postBody, $optParams=array()) |
| Adds or updates an entitlement to an app for a user.
|
|
|
| convertToArrayAndStripNulls ($o) |
|
The "entitlements" collection of methods.
Typical usage is: $androidenterpriseService = new Google_Service_AndroidEnterprise(...); $entitlements = $androidenterpriseService->entitlements;
◆ 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_AndroidEnterprise_Entitlements_Resource::delete |
( |
| $enterpriseId, |
|
|
| $userId, |
|
|
| $entitlementId, |
|
|
| $optParams = array() ) |
Removes an entitlement to an app for a user and uninstalls it.
(entitlements.delete)
- Parameters
-
string | $enterpriseId | The ID of the enterprise. |
string | $userId | The ID of the user. |
string | $entitlementId | The ID of the entitlement, e.g. "app:com.google.android.gm". |
array | $optParams | Optional parameters. |
◆ get()
Google_Service_AndroidEnterprise_Entitlements_Resource::get |
( |
| $enterpriseId, |
|
|
| $userId, |
|
|
| $entitlementId, |
|
|
| $optParams = array() ) |
Retrieves details of an entitlement.
(entitlements.get)
- Parameters
-
string | $enterpriseId | The ID of the enterprise. |
string | $userId | The ID of the user. |
string | $entitlementId | The ID of the entitlement, e.g. "app:com.google.android.gm". |
array | $optParams | Optional parameters. |
- Return values
-
◆ listEntitlements()
Google_Service_AndroidEnterprise_Entitlements_Resource::listEntitlements |
( |
| $enterpriseId, |
|
|
| $userId, |
|
|
| $optParams = array() ) |
List of all entitlements for the specified user.
Only the ID is set. (entitlements.listEntitlements)
- Parameters
-
string | $enterpriseId | The ID of the enterprise. |
string | $userId | The ID of the user. |
array | $optParams | Optional parameters. |
- Return values
-
◆ patch()
Adds or updates an entitlement to an app for a user.
This method supports patch semantics. (entitlements.patch)
- Parameters
-
string | $enterpriseId | The ID of the enterprise. |
string | $userId | The ID of the user. |
string | $entitlementId | The ID of the entitlement, e.g. "app:com.google.android.gm". |
Google_Entitlement | $postBody | |
array | $optParams | Optional parameters. |
@opt_param bool install Set to true to also install the product on all the user's devices where possible. Failure to install on one or more devices will not prevent this operation from returning successfully, as long as the entitlement was successfully assigned to the user.
- Return values
-
◆ update()
Adds or updates an entitlement to an app for a user.
(entitlements.update)
- Parameters
-
string | $enterpriseId | The ID of the enterprise. |
string | $userId | The ID of the user. |
string | $entitlementId | The ID of the entitlement, e.g. "app:com.google.android.gm". |
Google_Entitlement | $postBody | |
array | $optParams | Optional parameters. |
@opt_param bool install Set to true to also install the product on all the user's devices where possible. Failure to install on one or more devices will not prevent this operation from returning successfully, as long as the entitlement was successfully assigned to the user.
- Return values
-
The documentation for this class was generated from the following file:
- lib/google/src/Google/Service/AndroidEnterprise.php