DevicesDeviceUsers
class DevicesDeviceUsers extends Resource (View source)
The "deviceUsers" collection of methods.
Typical usage is:
$cloudidentityService = new Google\Service\CloudIdentity(...);
$deviceUsers = $cloudidentityService->devices_deviceUsers;
Methods
Approves device to access user data. (deviceUsers.approve)
Blocks device from accessing user data (deviceUsers.block)
Cancels an unfinished user account wipe. This operation can be used to cancel device wipe in the gap between the wipe operation returning success and the device being wiped. (deviceUsers.cancelWipe)
Deletes the specified DeviceUser. This also revokes the user's access to device data. (deviceUsers.delete)
Retrieves the specified DeviceUser (deviceUsers.get)
Lists/Searches DeviceUsers. (deviceUsers.listDevicesDeviceUsers)
Looks up resource names of the DeviceUsers associated with the caller's credentials, as well as the properties provided in the request. This method must be called with end-user credentials with the scope: https://www.googleapis.com/auth/cloud-identity.devices.lookup If multiple properties are provided, only DeviceUsers having all of these properties are considered as matches - i.e. the query behaves like an AND. Different platforms require different amounts of information from the caller to ensure that the DeviceUser is uniquely identified. - iOS: No properties need to be passed, the caller's credentials are sufficient to identify the corresponding DeviceUser. - Android: Specifying the 'android_id' field is required. - Desktop: Specifying the 'raw_resource_id' field is required.
Wipes the user's account on a device. Other data on the device that is not associated with the user's work account is not affected. For example, if a Gmail app is installed on a device that is used for personal and work purposes, and the user is logged in to the Gmail app with their personal account as well as their work account, wiping the "deviceUser" by their work administrator will not affect their personal account within Gmail or other apps such as Photos. (deviceUsers.wipe)
Details
Operation
approve(string $name, GoogleAppsCloudidentityDevicesV1ApproveDeviceUserRequest $postBody, array $optParams = [])
Approves device to access user data. (deviceUsers.approve)
Operation
block(string $name, GoogleAppsCloudidentityDevicesV1BlockDeviceUserRequest $postBody, array $optParams = [])
Blocks device from accessing user data (deviceUsers.block)
Operation
cancelWipe(string $name, GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserRequest $postBody, array $optParams = [])
Cancels an unfinished user account wipe. This operation can be used to cancel device wipe in the gap between the wipe operation returning success and the device being wiped. (deviceUsers.cancelWipe)
Operation
delete(string $name, array $optParams = [])
Deletes the specified DeviceUser. This also revokes the user's access to device data. (deviceUsers.delete)
GoogleAppsCloudidentityDevicesV1DeviceUser
get(string $name, array $optParams = [])
Retrieves the specified DeviceUser (deviceUsers.get)
GoogleAppsCloudidentityDevicesV1ListDeviceUsersResponse
listDevicesDeviceUsers(string $parent, array $optParams = [])
Lists/Searches DeviceUsers. (deviceUsers.listDevicesDeviceUsers)
GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse
lookup(string $parent, array $optParams = [])
Looks up resource names of the DeviceUsers associated with the caller's credentials, as well as the properties provided in the request. This method must be called with end-user credentials with the scope: https://www.googleapis.com/auth/cloud-identity.devices.lookup If multiple properties are provided, only DeviceUsers having all of these properties are considered as matches - i.e. the query behaves like an AND. Different platforms require different amounts of information from the caller to ensure that the DeviceUser is uniquely identified. - iOS: No properties need to be passed, the caller's credentials are sufficient to identify the corresponding DeviceUser. - Android: Specifying the 'android_id' field is required. - Desktop: Specifying the 'raw_resource_id' field is required.
(deviceUsers.lookup)
Operation
wipe(string $name, GoogleAppsCloudidentityDevicesV1WipeDeviceUserRequest $postBody, array $optParams = [])
Wipes the user's account on a device. Other data on the device that is not associated with the user's work account is not affected. For example, if a Gmail app is installed on a device that is used for personal and work purposes, and the user is logged in to the Gmail app with their personal account as well as their work account, wiping the "deviceUser" by their work administrator will not affect their personal account within Gmail or other apps such as Photos. (deviceUsers.wipe)