Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

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

(no description)

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

Defines 44 classes

Google_Service_AndroidEnterprise:: (1 method):
  __construct()

Google_Service_AndroidEnterprise_Collections_Resource:: (6 methods):
  delete()
  get()
  insert()
  listCollections()
  patch()
  update()

Google_Service_AndroidEnterprise_Collectionviewers_Resource:: (5 methods):
  delete()
  get()
  listCollectionviewers()
  patch()
  update()

Google_Service_AndroidEnterprise_Devices_Resource:: (4 methods):
  get()
  getState()
  listDevices()
  setState()

Google_Service_AndroidEnterprise_Enterprises_Resource:: (8 methods):
  delete()
  enroll()
  get()
  insert()
  listEnterprises()
  sendTestPushNotification()
  setAccount()
  unenroll()

Google_Service_AndroidEnterprise_Entitlements_Resource:: (5 methods):
  delete()
  get()
  listEntitlements()
  patch()
  update()

Google_Service_AndroidEnterprise_Grouplicenses_Resource:: (2 methods):
  get()
  listGrouplicenses()

Google_Service_AndroidEnterprise_Grouplicenseusers_Resource:: (1 method):
  listGrouplicenseusers()

Google_Service_AndroidEnterprise_Installs_Resource:: (5 methods):
  delete()
  get()
  listInstalls()
  patch()
  update()

Google_Service_AndroidEnterprise_Permissions_Resource:: (1 method):
  get()

Google_Service_AndroidEnterprise_Products_Resource:: (6 methods):
  approve()
  generateApprovalUrl()
  get()
  getAppRestrictionsSchema()
  getPermissions()
  updatePermissions()

Google_Service_AndroidEnterprise_Users_Resource:: (6 methods):
  generateToken()
  get()
  getAvailableProductSet()
  listUsers()
  revokeToken()
  setAvailableProductSet()

Google_Service_AndroidEnterprise_AppRestrictionsSchema:: (4 methods):
  setKind()
  getKind()
  setRestrictions()
  getRestrictions()

Google_Service_AndroidEnterprise_AppRestrictionsSchemaRestriction:: (14 methods):
  setDefaultValue()
  getDefaultValue()
  setDescription()
  getDescription()
  setEntry()
  getEntry()
  setEntryValue()
  getEntryValue()
  setKey()
  getKey()
  setRestrictionType()
  getRestrictionType()
  setTitle()
  getTitle()

Google_Service_AndroidEnterprise_AppRestrictionsSchemaRestrictionRestrictionValue:: (10 methods):
  setType()
  getType()
  setValueBool()
  getValueBool()
  setValueInteger()
  getValueInteger()
  setValueMultiselect()
  getValueMultiselect()
  setValueString()
  getValueString()

Google_Service_AndroidEnterprise_AppVersion:: (4 methods):
  setVersionCode()
  getVersionCode()
  setVersionString()
  getVersionString()

Google_Service_AndroidEnterprise_ApprovalUrlInfo:: (4 methods):
  setApprovalUrl()
  getApprovalUrl()
  setKind()
  getKind()

Google_Service_AndroidEnterprise_Collection:: (10 methods):
  setCollectionId()
  getCollectionId()
  setKind()
  getKind()
  setName()
  getName()
  setProductId()
  getProductId()
  setVisibility()
  getVisibility()

Google_Service_AndroidEnterprise_CollectionViewersListResponse:: (4 methods):
  setKind()
  getKind()
  setUser()
  getUser()

Google_Service_AndroidEnterprise_CollectionsListResponse:: (4 methods):
  setCollection()
  getCollection()
  setKind()
  getKind()

Google_Service_AndroidEnterprise_Device:: (6 methods):
  setAndroidId()
  getAndroidId()
  setKind()
  getKind()
  setManagementType()
  getManagementType()

Google_Service_AndroidEnterprise_DeviceState:: (4 methods):
  setAccountState()
  getAccountState()
  setKind()
  getKind()

Google_Service_AndroidEnterprise_DevicesListResponse:: (4 methods):
  setDevice()
  getDevice()
  setKind()
  getKind()

Google_Service_AndroidEnterprise_Enterprise:: (8 methods):
  setId()
  getId()
  setKind()
  getKind()
  setName()
  getName()
  setPrimaryDomain()
  getPrimaryDomain()

Google_Service_AndroidEnterprise_EnterpriseAccount:: (4 methods):
  setAccountEmail()
  getAccountEmail()
  setKind()
  getKind()

Google_Service_AndroidEnterprise_EnterprisesListResponse:: (4 methods):
  setEnterprise()
  getEnterprise()
  setKind()
  getKind()

Google_Service_AndroidEnterprise_EnterprisesSendTestPushNotificationResponse:: (4 methods):
  setMessageId()
  getMessageId()
  setTopicName()
  getTopicName()

Google_Service_AndroidEnterprise_Entitlement:: (6 methods):
  setKind()
  getKind()
  setProductId()
  getProductId()
  setReason()
  getReason()

Google_Service_AndroidEnterprise_EntitlementsListResponse:: (4 methods):
  setEntitlement()
  getEntitlement()
  setKind()
  getKind()

Google_Service_AndroidEnterprise_GroupLicense:: (12 methods):
  setAcquisitionKind()
  getAcquisitionKind()
  setApproval()
  getApproval()
  setKind()
  getKind()
  setNumProvisioned()
  getNumProvisioned()
  setNumPurchased()
  getNumPurchased()
  setProductId()
  getProductId()

Google_Service_AndroidEnterprise_GroupLicenseUsersListResponse:: (4 methods):
  setKind()
  getKind()
  setUser()
  getUser()

Google_Service_AndroidEnterprise_GroupLicensesListResponse:: (4 methods):
  setGroupLicense()
  getGroupLicense()
  setKind()
  getKind()

Google_Service_AndroidEnterprise_Install:: (8 methods):
  setInstallState()
  getInstallState()
  setKind()
  getKind()
  setProductId()
  getProductId()
  setVersionCode()
  getVersionCode()

Google_Service_AndroidEnterprise_InstallsListResponse:: (4 methods):
  setInstall()
  getInstall()
  setKind()
  getKind()

Google_Service_AndroidEnterprise_Permission:: (8 methods):
  setDescription()
  getDescription()
  setKind()
  getKind()
  setName()
  getName()
  setPermissionId()
  getPermissionId()

Google_Service_AndroidEnterprise_Product:: (20 methods):
  setAppVersion()
  getAppVersion()
  setAuthorName()
  getAuthorName()
  setDetailsUrl()
  getDetailsUrl()
  setDistributionChannel()
  getDistributionChannel()
  setIconUrl()
  getIconUrl()
  setKind()
  getKind()
  setProductId()
  getProductId()
  setRequiresContainerApp()
  getRequiresContainerApp()
  setTitle()
  getTitle()
  setWorkDetailsUrl()
  getWorkDetailsUrl()

Google_Service_AndroidEnterprise_ProductPermission:: (4 methods):
  setPermissionId()
  getPermissionId()
  setState()
  getState()

Google_Service_AndroidEnterprise_ProductPermissions:: (6 methods):
  setKind()
  getKind()
  setPermission()
  getPermission()
  setProductId()
  getProductId()

Google_Service_AndroidEnterprise_ProductSet:: (4 methods):
  setKind()
  getKind()
  setProductId()
  getProductId()

Google_Service_AndroidEnterprise_ProductsApproveRequest:: (2 methods):
  setApprovalUrlInfo()
  getApprovalUrlInfo()

Google_Service_AndroidEnterprise_ProductsGenerateApprovalUrlResponse:: (2 methods):
  setUrl()
  getUrl()

Google_Service_AndroidEnterprise_User:: (6 methods):
  setId()
  getId()
  setKind()
  getKind()
  setPrimaryEmail()
  getPrimaryEmail()

Google_Service_AndroidEnterprise_UserToken:: (6 methods):
  setKind()
  getKind()
  setToken()
  getToken()
  setUserId()
  getUserId()

Google_Service_AndroidEnterprise_UsersListResponse:: (4 methods):
  setKind()
  getKind()
  setUser()
  getUser()


Class: Google_Service_AndroidEnterprise  - X-Ref

Service definition for AndroidEnterprise (v1).

<p>
Allows MDMs/EMMs and enterprises to manage the deployment of apps to Android
for Work users.</p>

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

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

param: Google_Client $client

Class: Google_Service_AndroidEnterprise_Collections_Resource  - X-Ref

The "collections" collection of methods.
Typical usage is:
<code>
$androidenterpriseService = new Google_Service_AndroidEnterprise(...);
$collections = $androidenterpriseService->collections;
</code>

delete($enterpriseId, $collectionId, $optParams = array()   X-Ref
Deletes a collection. (collections.delete)

param: string $enterpriseId The ID of the enterprise.
param: string $collectionId The ID of the collection.
param: array $optParams Optional parameters.

get($enterpriseId, $collectionId, $optParams = array()   X-Ref
Retrieves the details of a collection. (collections.get)

param: string $enterpriseId The ID of the enterprise.
param: string $collectionId The ID of the collection.
param: array $optParams Optional parameters.
return: Google_Service_AndroidEnterprise_Collection

insert($enterpriseId, Google_Service_AndroidEnterprise_Collection $postBody, $optParams = array()   X-Ref
Creates a new collection. (collections.insert)

param: string $enterpriseId The ID of the enterprise.
param: Google_Collection $postBody
param: array $optParams Optional parameters.
return: Google_Service_AndroidEnterprise_Collection

listCollections($enterpriseId, $optParams = array()   X-Ref
Retrieves the IDs of all the collections for an enterprise.
(collections.listCollections)

param: string $enterpriseId The ID of the enterprise.
param: array $optParams Optional parameters.
return: Google_Service_AndroidEnterprise_CollectionsListResponse

patch($enterpriseId, $collectionId, Google_Service_AndroidEnterprise_Collection $postBody, $optParams = array()   X-Ref
Updates a collection. This method supports patch semantics.
(collections.patch)

param: string $enterpriseId The ID of the enterprise.
param: string $collectionId The ID of the collection.
param: Google_Collection $postBody
param: array $optParams Optional parameters.
return: Google_Service_AndroidEnterprise_Collection

update($enterpriseId, $collectionId, Google_Service_AndroidEnterprise_Collection $postBody, $optParams = array()   X-Ref
Updates a collection. (collections.update)

param: string $enterpriseId The ID of the enterprise.
param: string $collectionId The ID of the collection.
param: Google_Collection $postBody
param: array $optParams Optional parameters.
return: Google_Service_AndroidEnterprise_Collection

Class: Google_Service_AndroidEnterprise_Collectionviewers_Resource  - X-Ref

The "collectionviewers" collection of methods.
Typical usage is:
<code>
$androidenterpriseService = new Google_Service_AndroidEnterprise(...);
$collectionviewers = $androidenterpriseService->collectionviewers;
</code>

delete($enterpriseId, $collectionId, $userId, $optParams = array()   X-Ref
Removes the user from the list of those specifically allowed to see the
collection. If the collection's visibility is set to viewersOnly then only
such users will see the collection. (collectionviewers.delete)

param: string $enterpriseId The ID of the enterprise.
param: string $collectionId The ID of the collection.
param: string $userId The ID of the user.
param: array $optParams Optional parameters.

get($enterpriseId, $collectionId, $userId, $optParams = array()   X-Ref
Retrieves the ID of the user if they have been specifically allowed to see
the collection. If the collection's visibility is set to viewersOnly then
only these users will see the collection. (collectionviewers.get)

param: string $enterpriseId The ID of the enterprise.
param: string $collectionId The ID of the collection.
param: string $userId The ID of the user.
param: array $optParams Optional parameters.
return: Google_Service_AndroidEnterprise_User

listCollectionviewers($enterpriseId, $collectionId, $optParams = array()   X-Ref
Retrieves the IDs of the users who have been specifically allowed to see the
collection. If the collection's visibility is set to viewersOnly then only
these users will see the collection.
(collectionviewers.listCollectionviewers)

param: string $enterpriseId The ID of the enterprise.
param: string $collectionId The ID of the collection.
param: array $optParams Optional parameters.
return: Google_Service_AndroidEnterprise_CollectionViewersListResponse

patch($enterpriseId, $collectionId, $userId, Google_Service_AndroidEnterprise_User $postBody, $optParams = array()   X-Ref
Adds the user to the list of those specifically allowed to see the
collection. If the collection's visibility is set to viewersOnly then only
such users will see the collection. This method supports patch semantics.
(collectionviewers.patch)

param: string $enterpriseId The ID of the enterprise.
param: string $collectionId The ID of the collection.
param: string $userId The ID of the user.
param: Google_User $postBody
param: array $optParams Optional parameters.
return: Google_Service_AndroidEnterprise_User

update($enterpriseId, $collectionId, $userId, Google_Service_AndroidEnterprise_User $postBody, $optParams = array()   X-Ref
Adds the user to the list of those specifically allowed to see the
collection. If the collection's visibility is set to viewersOnly then only
such users will see the collection. (collectionviewers.update)

param: string $enterpriseId The ID of the enterprise.
param: string $collectionId The ID of the collection.
param: string $userId The ID of the user.
param: Google_User $postBody
param: array $optParams Optional parameters.
return: Google_Service_AndroidEnterprise_User

Class: Google_Service_AndroidEnterprise_Devices_Resource  - X-Ref

The "devices" collection of methods.
Typical usage is:
<code>
$androidenterpriseService = new Google_Service_AndroidEnterprise(...);
$devices = $androidenterpriseService->devices;
</code>

get($enterpriseId, $userId, $deviceId, $optParams = array()   X-Ref
Retrieves the details of a device. (devices.get)

param: string $enterpriseId The ID of the enterprise.
param: string $userId The ID of the user.
param: string $deviceId The ID of the device.
param: array $optParams Optional parameters.
return: Google_Service_AndroidEnterprise_Device

getState($enterpriseId, $userId, $deviceId, $optParams = array()   X-Ref
Retrieves whether a device is enabled or disabled for access by the user to
Google services. The device state takes effect only if enforcing EMM policies
on Android devices is enabled in the Google Admin Console. Otherwise, the
device state is ignored and all devices are allowed access to Google
services. (devices.getState)

param: string $enterpriseId The ID of the enterprise.
param: string $userId The ID of the user.
param: string $deviceId The ID of the device.
param: array $optParams Optional parameters.
return: Google_Service_AndroidEnterprise_DeviceState

listDevices($enterpriseId, $userId, $optParams = array()   X-Ref
Retrieves the IDs of all of a user's devices. (devices.listDevices)

param: string $enterpriseId The ID of the enterprise.
param: string $userId The ID of the user.
param: array $optParams Optional parameters.
return: Google_Service_AndroidEnterprise_DevicesListResponse

setState($enterpriseId, $userId, $deviceId, Google_Service_AndroidEnterprise_DeviceState $postBody, $optParams = array()   X-Ref
Sets whether a device is enabled or disabled for access by the user to Google
services. The device state takes effect only if enforcing EMM policies on
Android devices is enabled in the Google Admin Console. Otherwise, the device
state is ignored and all devices are allowed access to Google services.
(devices.setState)

param: string $enterpriseId The ID of the enterprise.
param: string $userId The ID of the user.
param: string $deviceId The ID of the device.
param: Google_DeviceState $postBody
param: array $optParams Optional parameters.
return: Google_Service_AndroidEnterprise_DeviceState

Class: Google_Service_AndroidEnterprise_Enterprises_Resource  - X-Ref

The "enterprises" collection of methods.
Typical usage is:
<code>
$androidenterpriseService = new Google_Service_AndroidEnterprise(...);
$enterprises = $androidenterpriseService->enterprises;
</code>

delete($enterpriseId, $optParams = array()   X-Ref
Deletes the binding between the MDM and enterprise. This is now deprecated;
use this to unenroll customers that were previously enrolled with the
'insert' call, then enroll them again with the 'enroll' call.
(enterprises.delete)

param: string $enterpriseId The ID of the enterprise.
param: array $optParams Optional parameters.

enroll($token, Google_Service_AndroidEnterprise_Enterprise $postBody, $optParams = array()   X-Ref
Enrolls an enterprise with the calling MDM. (enterprises.enroll)

param: string $token The token provided by the enterprise to register the
param: Google_Enterprise $postBody
param: array $optParams Optional parameters.
return: Google_Service_AndroidEnterprise_Enterprise

get($enterpriseId, $optParams = array()   X-Ref
Retrieves the name and domain of an enterprise. (enterprises.get)

param: string $enterpriseId The ID of the enterprise.
param: array $optParams Optional parameters.
return: Google_Service_AndroidEnterprise_Enterprise

insert($token, Google_Service_AndroidEnterprise_Enterprise $postBody, $optParams = array()   X-Ref
Establishes the binding between the MDM and an enterprise. This is now
deprecated; use enroll instead. (enterprises.insert)

param: string $token The token provided by the enterprise to register the
param: Google_Enterprise $postBody
param: array $optParams Optional parameters.
return: Google_Service_AndroidEnterprise_Enterprise

listEnterprises($domain, $optParams = array()   X-Ref
Looks up an enterprise by domain name. (enterprises.listEnterprises)

param: string $domain The exact primary domain name of the enterprise to look
param: array $optParams Optional parameters.
return: Google_Service_AndroidEnterprise_EnterprisesListResponse

sendTestPushNotification($enterpriseId, $optParams = array()   X-Ref
Sends a test push notification to validate the MDM integration with the
Google Cloud Pub/Sub service for this enterprise.
(enterprises.sendTestPushNotification)

param: string $enterpriseId The ID of the enterprise.
param: array $optParams Optional parameters.
return: Google_Service_AndroidEnterprise_EnterprisesSendTestPushNotificationResponse

setAccount($enterpriseId, Google_Service_AndroidEnterprise_EnterpriseAccount $postBody, $optParams = array()   X-Ref
Set the account that will be used to authenticate to the API as the
enterprise. (enterprises.setAccount)

param: string $enterpriseId The ID of the enterprise.
param: Google_EnterpriseAccount $postBody
param: array $optParams Optional parameters.
return: Google_Service_AndroidEnterprise_EnterpriseAccount

unenroll($enterpriseId, $optParams = array()   X-Ref
Unenrolls an enterprise from the calling MDM. (enterprises.unenroll)

param: string $enterpriseId The ID of the enterprise.
param: array $optParams Optional parameters.

Class: Google_Service_AndroidEnterprise_Entitlements_Resource  - X-Ref

The "entitlements" collection of methods.
Typical usage is:
<code>
$androidenterpriseService = new Google_Service_AndroidEnterprise(...);
$entitlements = $androidenterpriseService->entitlements;
</code>

delete($enterpriseId, $userId, $entitlementId, $optParams = array()   X-Ref
Removes an entitlement to an app for a user and uninstalls it.
(entitlements.delete)

param: string $enterpriseId The ID of the enterprise.
param: string $userId The ID of the user.
param: string $entitlementId The ID of the entitlement, e.g.
param: array $optParams Optional parameters.

get($enterpriseId, $userId, $entitlementId, $optParams = array()   X-Ref
Retrieves details of an entitlement. (entitlements.get)

param: string $enterpriseId The ID of the enterprise.
param: string $userId The ID of the user.
param: string $entitlementId The ID of the entitlement, e.g.
param: array $optParams Optional parameters.
return: Google_Service_AndroidEnterprise_Entitlement

listEntitlements($enterpriseId, $userId, $optParams = array()   X-Ref
List of all entitlements for the specified user. Only the ID is set.
(entitlements.listEntitlements)

param: string $enterpriseId The ID of the enterprise.
param: string $userId The ID of the user.
param: array $optParams Optional parameters.
return: Google_Service_AndroidEnterprise_EntitlementsListResponse

patch($enterpriseId, $userId, $entitlementId, Google_Service_AndroidEnterprise_Entitlement $postBody, $optParams = array()   X-Ref
Adds or updates an entitlement to an app for a user. This method supports
patch semantics. (entitlements.patch)

param: string $enterpriseId The ID of the enterprise.
param: string $userId The ID of the user.
param: string $entitlementId The ID of the entitlement, e.g.
param: Google_Entitlement $postBody
param: array $optParams Optional parameters.
return: Google_Service_AndroidEnterprise_Entitlement

update($enterpriseId, $userId, $entitlementId, Google_Service_AndroidEnterprise_Entitlement $postBody, $optParams = array()   X-Ref
Adds or updates an entitlement to an app for a user. (entitlements.update)

param: string $enterpriseId The ID of the enterprise.
param: string $userId The ID of the user.
param: string $entitlementId The ID of the entitlement, e.g.
param: Google_Entitlement $postBody
param: array $optParams Optional parameters.
return: Google_Service_AndroidEnterprise_Entitlement

Class: Google_Service_AndroidEnterprise_Grouplicenses_Resource  - X-Ref

The "grouplicenses" collection of methods.
Typical usage is:
<code>
$androidenterpriseService = new Google_Service_AndroidEnterprise(...);
$grouplicenses = $androidenterpriseService->grouplicenses;
</code>

get($enterpriseId, $groupLicenseId, $optParams = array()   X-Ref
Retrieves details of an enterprise's group license for a product.
(grouplicenses.get)

param: string $enterpriseId The ID of the enterprise.
param: string $groupLicenseId The ID of the product the group license is for,
param: array $optParams Optional parameters.
return: Google_Service_AndroidEnterprise_GroupLicense

listGrouplicenses($enterpriseId, $optParams = array()   X-Ref
Retrieves IDs of all products for which the enterprise has a group license.
(grouplicenses.listGrouplicenses)

param: string $enterpriseId The ID of the enterprise.
param: array $optParams Optional parameters.
return: Google_Service_AndroidEnterprise_GroupLicensesListResponse

Class: Google_Service_AndroidEnterprise_Grouplicenseusers_Resource  - X-Ref

The "grouplicenseusers" collection of methods.
Typical usage is:
<code>
$androidenterpriseService = new Google_Service_AndroidEnterprise(...);
$grouplicenseusers = $androidenterpriseService->grouplicenseusers;
</code>

listGrouplicenseusers($enterpriseId, $groupLicenseId, $optParams = array()   X-Ref
Retrieves the IDs of the users who have been granted entitlements under the
license. (grouplicenseusers.listGrouplicenseusers)

param: string $enterpriseId The ID of the enterprise.
param: string $groupLicenseId The ID of the product the group license is for,
param: array $optParams Optional parameters.
return: Google_Service_AndroidEnterprise_GroupLicenseUsersListResponse

Class: Google_Service_AndroidEnterprise_Installs_Resource  - X-Ref

The "installs" collection of methods.
Typical usage is:
<code>
$androidenterpriseService = new Google_Service_AndroidEnterprise(...);
$installs = $androidenterpriseService->installs;
</code>

delete($enterpriseId, $userId, $deviceId, $installId, $optParams = array()   X-Ref
Requests to remove an app from a device. A call to get or list will still
show the app as installed on the device until it is actually removed.
(installs.delete)

param: string $enterpriseId The ID of the enterprise.
param: string $userId The ID of the user.
param: string $deviceId The Android ID of the device.
param: string $installId The ID of the product represented by the install,
param: array $optParams Optional parameters.

get($enterpriseId, $userId, $deviceId, $installId, $optParams = array()   X-Ref
Retrieves details of an installation of an app on a device. (installs.get)

param: string $enterpriseId The ID of the enterprise.
param: string $userId The ID of the user.
param: string $deviceId The Android ID of the device.
param: string $installId The ID of the product represented by the install,
param: array $optParams Optional parameters.
return: Google_Service_AndroidEnterprise_Install

listInstalls($enterpriseId, $userId, $deviceId, $optParams = array()   X-Ref
Retrieves the details of all apps installed on the specified device.
(installs.listInstalls)

param: string $enterpriseId The ID of the enterprise.
param: string $userId The ID of the user.
param: string $deviceId The Android ID of the device.
param: array $optParams Optional parameters.
return: Google_Service_AndroidEnterprise_InstallsListResponse

patch($enterpriseId, $userId, $deviceId, $installId, Google_Service_AndroidEnterprise_Install $postBody, $optParams = array()   X-Ref
Requests to install the latest version of an app to a device. If the app is
already installed then it is updated to the latest version if necessary. This
method supports patch semantics. (installs.patch)

param: string $enterpriseId The ID of the enterprise.
param: string $userId The ID of the user.
param: string $deviceId The Android ID of the device.
param: string $installId The ID of the product represented by the install,
param: Google_Install $postBody
param: array $optParams Optional parameters.
return: Google_Service_AndroidEnterprise_Install

update($enterpriseId, $userId, $deviceId, $installId, Google_Service_AndroidEnterprise_Install $postBody, $optParams = array()   X-Ref
Requests to install the latest version of an app to a device. If the app is
already installed then it is updated to the latest version if necessary.
(installs.update)

param: string $enterpriseId The ID of the enterprise.
param: string $userId The ID of the user.
param: string $deviceId The Android ID of the device.
param: string $installId The ID of the product represented by the install,
param: Google_Install $postBody
param: array $optParams Optional parameters.
return: Google_Service_AndroidEnterprise_Install

Class: Google_Service_AndroidEnterprise_Permissions_Resource  - X-Ref

The "permissions" collection of methods.
Typical usage is:
<code>
$androidenterpriseService = new Google_Service_AndroidEnterprise(...);
$permissions = $androidenterpriseService->permissions;
</code>

get($permissionId, $optParams = array()   X-Ref
Retrieves details of an Android app permission for display to an enterprise
admin. (permissions.get)

param: string $permissionId The ID of the permission.
param: array $optParams Optional parameters.
return: Google_Service_AndroidEnterprise_Permission

Class: Google_Service_AndroidEnterprise_Products_Resource  - X-Ref

The "products" collection of methods.
Typical usage is:
<code>
$androidenterpriseService = new Google_Service_AndroidEnterprise(...);
$products = $androidenterpriseService->products;
</code>

approve($enterpriseId, $productId, Google_Service_AndroidEnterprise_ProductsApproveRequest $postBody, $optParams = array()   X-Ref
Approves the specified product (and the relevant app permissions, if any).
(products.approve)

param: string $enterpriseId The ID of the enterprise.
param: string $productId The ID of the product.
param: Google_ProductsApproveRequest $postBody
param: array $optParams Optional parameters.

generateApprovalUrl($enterpriseId, $productId, $optParams = array()   X-Ref
Generates a URL that can be rendered in an iframe to display the permissions
(if any) of a product. An enterprise admin must view these permissions and
accept them on behalf of their organization in order to approve that product.

Admins should accept the displayed permissions by interacting with a separate
UI element in the EMM console, which in turn should trigger the use of this
URL as the approvalUrlInfo.approvalUrl property in a Products.approve call to
approve the product. This URL can only be used to display permissions for up
to 1 day. (products.generateApprovalUrl)

param: string $enterpriseId The ID of the enterprise.
param: string $productId The ID of the product.
param: array $optParams Optional parameters.
return: Google_Service_AndroidEnterprise_ProductsGenerateApprovalUrlResponse

get($enterpriseId, $productId, $optParams = array()   X-Ref
Retrieves details of a product for display to an enterprise admin.
(products.get)

param: string $enterpriseId The ID of the enterprise.
param: string $productId The ID of the product, e.g.
param: array $optParams Optional parameters.
return: Google_Service_AndroidEnterprise_Product

getAppRestrictionsSchema($enterpriseId, $productId, $optParams = array()   X-Ref
Retrieves the schema defining app restrictions configurable for this product.
All products have a schema, but this may be empty if no app restrictions are
defined. (products.getAppRestrictionsSchema)

param: string $enterpriseId The ID of the enterprise.
param: string $productId The ID of the product.
param: array $optParams Optional parameters.
return: Google_Service_AndroidEnterprise_AppRestrictionsSchema

getPermissions($enterpriseId, $productId, $optParams = array()   X-Ref
Retrieves the Android app permissions required by this app.
(products.getPermissions)

param: string $enterpriseId The ID of the enterprise.
param: string $productId The ID of the product.
param: array $optParams Optional parameters.
return: Google_Service_AndroidEnterprise_ProductPermissions

updatePermissions($enterpriseId, $productId, Google_Service_AndroidEnterprise_ProductPermissions $postBody, $optParams = array()   X-Ref
Updates the set of Android app permissions for this app that have been
accepted by the enterprise. (products.updatePermissions)

param: string $enterpriseId The ID of the enterprise.
param: string $productId The ID of the product.
param: Google_ProductPermissions $postBody
param: array $optParams Optional parameters.
return: Google_Service_AndroidEnterprise_ProductPermissions

Class: Google_Service_AndroidEnterprise_Users_Resource  - X-Ref

The "users" collection of methods.
Typical usage is:
<code>
$androidenterpriseService = new Google_Service_AndroidEnterprise(...);
$users = $androidenterpriseService->users;
</code>

generateToken($enterpriseId, $userId, $optParams = array()   X-Ref
Generates a token (activation code) to allow this user to configure their
work account in the Android Setup Wizard. Revokes any previously generated
token. (users.generateToken)

param: string $enterpriseId The ID of the enterprise.
param: string $userId The ID of the user.
param: array $optParams Optional parameters.
return: Google_Service_AndroidEnterprise_UserToken

get($enterpriseId, $userId, $optParams = array()   X-Ref
Retrieves a user's details. (users.get)

param: string $enterpriseId The ID of the enterprise.
param: string $userId The ID of the user.
param: array $optParams Optional parameters.
return: Google_Service_AndroidEnterprise_User

getAvailableProductSet($enterpriseId, $userId, $optParams = array()   X-Ref
Retrieves the set of products a user is entitled to access.
(users.getAvailableProductSet)

param: string $enterpriseId The ID of the enterprise.
param: string $userId The ID of the user.
param: array $optParams Optional parameters.
return: Google_Service_AndroidEnterprise_ProductSet

listUsers($enterpriseId, $email, $optParams = array()   X-Ref
Looks up a user by email address. (users.listUsers)

param: string $enterpriseId The ID of the enterprise.
param: string $email The exact primary email address of the user to look up.
param: array $optParams Optional parameters.
return: Google_Service_AndroidEnterprise_UsersListResponse

revokeToken($enterpriseId, $userId, $optParams = array()   X-Ref
Revokes a previously generated token (activation code) for the user.
(users.revokeToken)

param: string $enterpriseId The ID of the enterprise.
param: string $userId The ID of the user.
param: array $optParams Optional parameters.

setAvailableProductSet($enterpriseId, $userId, Google_Service_AndroidEnterprise_ProductSet $postBody, $optParams = array()   X-Ref
Modifies the set of products a user is entitled to access.
(users.setAvailableProductSet)

param: string $enterpriseId The ID of the enterprise.
param: string $userId The ID of the user.
param: Google_ProductSet $postBody
param: array $optParams Optional parameters.
return: Google_Service_AndroidEnterprise_ProductSet

Class: Google_Service_AndroidEnterprise_AppRestrictionsSchema  - X-Ref

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setRestrictions($restrictions)   X-Ref
No description

getRestrictions()   X-Ref
No description

Class: Google_Service_AndroidEnterprise_AppRestrictionsSchemaRestriction  - X-Ref

setDefaultValue(Google_Service_AndroidEnterprise_AppRestrictionsSchemaRestrictionRestrictionValue $defaultValue)   X-Ref
No description

getDefaultValue()   X-Ref
No description

setDescription($description)   X-Ref
No description

getDescription()   X-Ref
No description

setEntry($entry)   X-Ref
No description

getEntry()   X-Ref
No description

setEntryValue($entryValue)   X-Ref
No description

getEntryValue()   X-Ref
No description

setKey($key)   X-Ref
No description

getKey()   X-Ref
No description

setRestrictionType($restrictionType)   X-Ref
No description

getRestrictionType()   X-Ref
No description

setTitle($title)   X-Ref
No description

getTitle()   X-Ref
No description

Class: Google_Service_AndroidEnterprise_AppRestrictionsSchemaRestrictionRestrictionValue  - X-Ref

setType($type)   X-Ref
No description

getType()   X-Ref
No description

setValueBool($valueBool)   X-Ref
No description

getValueBool()   X-Ref
No description

setValueInteger($valueInteger)   X-Ref
No description

getValueInteger()   X-Ref
No description

setValueMultiselect($valueMultiselect)   X-Ref
No description

getValueMultiselect()   X-Ref
No description

setValueString($valueString)   X-Ref
No description

getValueString()   X-Ref
No description

Class: Google_Service_AndroidEnterprise_AppVersion  - X-Ref

setVersionCode($versionCode)   X-Ref
No description

getVersionCode()   X-Ref
No description

setVersionString($versionString)   X-Ref
No description

getVersionString()   X-Ref
No description

Class: Google_Service_AndroidEnterprise_ApprovalUrlInfo  - X-Ref

setApprovalUrl($approvalUrl)   X-Ref
No description

getApprovalUrl()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

Class: Google_Service_AndroidEnterprise_Collection  - X-Ref

setCollectionId($collectionId)   X-Ref
No description

getCollectionId()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setName($name)   X-Ref
No description

getName()   X-Ref
No description

setProductId($productId)   X-Ref
No description

getProductId()   X-Ref
No description

setVisibility($visibility)   X-Ref
No description

getVisibility()   X-Ref
No description

Class: Google_Service_AndroidEnterprise_CollectionViewersListResponse  - X-Ref

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setUser($user)   X-Ref
No description

getUser()   X-Ref
No description

Class: Google_Service_AndroidEnterprise_CollectionsListResponse  - X-Ref

setCollection($collection)   X-Ref
No description

getCollection()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

Class: Google_Service_AndroidEnterprise_Device  - X-Ref

setAndroidId($androidId)   X-Ref
No description

getAndroidId()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setManagementType($managementType)   X-Ref
No description

getManagementType()   X-Ref
No description

Class: Google_Service_AndroidEnterprise_DeviceState  - X-Ref

setAccountState($accountState)   X-Ref
No description

getAccountState()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

Class: Google_Service_AndroidEnterprise_DevicesListResponse  - X-Ref

setDevice($device)   X-Ref
No description

getDevice()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

Class: Google_Service_AndroidEnterprise_Enterprise  - X-Ref

setId($id)   X-Ref
No description

getId()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setName($name)   X-Ref
No description

getName()   X-Ref
No description

setPrimaryDomain($primaryDomain)   X-Ref
No description

getPrimaryDomain()   X-Ref
No description

Class: Google_Service_AndroidEnterprise_EnterpriseAccount  - X-Ref

setAccountEmail($accountEmail)   X-Ref
No description

getAccountEmail()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

Class: Google_Service_AndroidEnterprise_EnterprisesListResponse  - X-Ref

setEnterprise($enterprise)   X-Ref
No description

getEnterprise()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

Class: Google_Service_AndroidEnterprise_Entitlement  - X-Ref

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setProductId($productId)   X-Ref
No description

getProductId()   X-Ref
No description

setReason($reason)   X-Ref
No description

getReason()   X-Ref
No description

Class: Google_Service_AndroidEnterprise_EntitlementsListResponse  - X-Ref

setEntitlement($entitlement)   X-Ref
No description

getEntitlement()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

Class: Google_Service_AndroidEnterprise_GroupLicense  - X-Ref

setAcquisitionKind($acquisitionKind)   X-Ref
No description

getAcquisitionKind()   X-Ref
No description

setApproval($approval)   X-Ref
No description

getApproval()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setNumProvisioned($numProvisioned)   X-Ref
No description

getNumProvisioned()   X-Ref
No description

setNumPurchased($numPurchased)   X-Ref
No description

getNumPurchased()   X-Ref
No description

setProductId($productId)   X-Ref
No description

getProductId()   X-Ref
No description

Class: Google_Service_AndroidEnterprise_GroupLicenseUsersListResponse  - X-Ref

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setUser($user)   X-Ref
No description

getUser()   X-Ref
No description

Class: Google_Service_AndroidEnterprise_GroupLicensesListResponse  - X-Ref

setGroupLicense($groupLicense)   X-Ref
No description

getGroupLicense()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

Class: Google_Service_AndroidEnterprise_Install  - X-Ref

setInstallState($installState)   X-Ref
No description

getInstallState()   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

setVersionCode($versionCode)   X-Ref
No description

getVersionCode()   X-Ref
No description

Class: Google_Service_AndroidEnterprise_InstallsListResponse  - X-Ref

setInstall($install)   X-Ref
No description

getInstall()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

Class: Google_Service_AndroidEnterprise_Permission  - X-Ref

setDescription($description)   X-Ref
No description

getDescription()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setName($name)   X-Ref
No description

getName()   X-Ref
No description

setPermissionId($permissionId)   X-Ref
No description

getPermissionId()   X-Ref
No description

Class: Google_Service_AndroidEnterprise_Product  - X-Ref

setAppVersion($appVersion)   X-Ref
No description

getAppVersion()   X-Ref
No description

setAuthorName($authorName)   X-Ref
No description

getAuthorName()   X-Ref
No description

setDetailsUrl($detailsUrl)   X-Ref
No description

getDetailsUrl()   X-Ref
No description

setDistributionChannel($distributionChannel)   X-Ref
No description

getDistributionChannel()   X-Ref
No description

setIconUrl($iconUrl)   X-Ref
No description

getIconUrl()   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

setRequiresContainerApp($requiresContainerApp)   X-Ref
No description

getRequiresContainerApp()   X-Ref
No description

setTitle($title)   X-Ref
No description

getTitle()   X-Ref
No description

setWorkDetailsUrl($workDetailsUrl)   X-Ref
No description

getWorkDetailsUrl()   X-Ref
No description

Class: Google_Service_AndroidEnterprise_ProductPermission  - X-Ref

setPermissionId($permissionId)   X-Ref
No description

getPermissionId()   X-Ref
No description

setState($state)   X-Ref
No description

getState()   X-Ref
No description

Class: Google_Service_AndroidEnterprise_ProductPermissions  - X-Ref

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setPermission($permission)   X-Ref
No description

getPermission()   X-Ref
No description

setProductId($productId)   X-Ref
No description

getProductId()   X-Ref
No description

Class: Google_Service_AndroidEnterprise_ProductSet  - X-Ref

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setProductId($productId)   X-Ref
No description

getProductId()   X-Ref
No description

Class: Google_Service_AndroidEnterprise_ProductsApproveRequest  - X-Ref

setApprovalUrlInfo(Google_Service_AndroidEnterprise_ApprovalUrlInfo $approvalUrlInfo)   X-Ref
No description

getApprovalUrlInfo()   X-Ref
No description

Class: Google_Service_AndroidEnterprise_User  - X-Ref

setId($id)   X-Ref
No description

getId()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setPrimaryEmail($primaryEmail)   X-Ref
No description

getPrimaryEmail()   X-Ref
No description

Class: Google_Service_AndroidEnterprise_UserToken  - X-Ref

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setToken($token)   X-Ref
No description

getToken()   X-Ref
No description

setUserId($userId)   X-Ref
No description

getUserId()   X-Ref
No description

Class: Google_Service_AndroidEnterprise_UsersListResponse  - X-Ref

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setUser($user)   X-Ref
No description

getUser()   X-Ref
No description