The "devices" collection of methods.
More...
|
| call ($name, $arguments, $expected_class=null) |
| TODO: This function needs simplifying.
|
|
| get ($enterpriseId, $userId, $deviceId, $optParams=array()) |
| Retrieves the details of a device.
|
|
| getState ($enterpriseId, $userId, $deviceId, $optParams=array()) |
| Retrieves whether a device is enabled or disabled for access by the user to Google services.
|
|
| listDevices ($enterpriseId, $userId, $optParams=array()) |
| Retrieves the IDs of all of a user's devices.
|
|
| setState ($enterpriseId, $userId, $deviceId, Google_Service_AndroidEnterprise_DeviceState $postBody, $optParams=array()) |
| Sets whether a device is enabled or disabled for access by the user to Google services.
|
|
|
| convertToArrayAndStripNulls ($o) |
|
The "devices" collection of methods.
Typical usage is: $androidenterpriseService = new Google_Service_AndroidEnterprise(...); $devices = $androidenterpriseService->devices;
◆ 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
-
◆ get()
Google_Service_AndroidEnterprise_Devices_Resource::get |
( |
| $enterpriseId, |
|
|
| $userId, |
|
|
| $deviceId, |
|
|
| $optParams = array() ) |
Retrieves the details of a device.
(devices.get)
- Parameters
-
string | $enterpriseId | The ID of the enterprise. |
string | $userId | The ID of the user. |
string | $deviceId | The ID of the device. |
array | $optParams | Optional parameters. |
- Return values
-
◆ getState()
Google_Service_AndroidEnterprise_Devices_Resource::getState |
( |
| $enterpriseId, |
|
|
| $userId, |
|
|
| $deviceId, |
|
|
| $optParams = array() ) |
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)
- Parameters
-
string | $enterpriseId | The ID of the enterprise. |
string | $userId | The ID of the user. |
string | $deviceId | The ID of the device. |
array | $optParams | Optional parameters. |
- Return values
-
◆ listDevices()
Google_Service_AndroidEnterprise_Devices_Resource::listDevices |
( |
| $enterpriseId, |
|
|
| $userId, |
|
|
| $optParams = array() ) |
Retrieves the IDs of all of a user's devices.
(devices.listDevices)
- Parameters
-
string | $enterpriseId | The ID of the enterprise. |
string | $userId | The ID of the user. |
array | $optParams | Optional parameters. |
- Return values
-
◆ setState()
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)
- Parameters
-
string | $enterpriseId | The ID of the enterprise. |
string | $userId | The ID of the user. |
string | $deviceId | The ID of the device. |
Google_DeviceState | $postBody | |
array | $optParams | Optional parameters. |
- Return values
-
The documentation for this class was generated from the following file:
- lib/google/src/Google/Service/AndroidEnterprise.php