public class CloudIdentity.Devices.DeviceUsers extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
CloudIdentity.Devices.DeviceUsers.Approve |
class |
CloudIdentity.Devices.DeviceUsers.Block |
class |
CloudIdentity.Devices.DeviceUsers.CancelWipe |
class |
CloudIdentity.Devices.DeviceUsers.ClientStates
The "clientStates" collection of methods.
|
class |
CloudIdentity.Devices.DeviceUsers.Delete |
class |
CloudIdentity.Devices.DeviceUsers.Get |
class |
CloudIdentity.Devices.DeviceUsers.List |
class |
CloudIdentity.Devices.DeviceUsers.Lookup |
class |
CloudIdentity.Devices.DeviceUsers.Wipe |
| Constructor and Description |
|---|
DeviceUsers() |
| Modifier and Type | Method and Description |
|---|---|
CloudIdentity.Devices.DeviceUsers.Approve |
approve(String name,
GoogleAppsCloudidentityDevicesV1ApproveDeviceUserRequest content)
Approves device to access user data.
|
CloudIdentity.Devices.DeviceUsers.Block |
block(String name,
GoogleAppsCloudidentityDevicesV1BlockDeviceUserRequest content)
Blocks device from accessing user data
Create a request for the method "deviceUsers.block".
|
CloudIdentity.Devices.DeviceUsers.CancelWipe |
cancelWipe(String name,
GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserRequest content)
Cancels an unfinished user account wipe.
|
CloudIdentity.Devices.DeviceUsers.ClientStates |
clientStates()
An accessor for creating requests from the ClientStates collection.
|
CloudIdentity.Devices.DeviceUsers.Delete |
delete(String name)
Deletes the specified DeviceUser.
|
CloudIdentity.Devices.DeviceUsers.Get |
get(String name)
Retrieves the specified DeviceUser
Create a request for the method "deviceUsers.get".
|
CloudIdentity.Devices.DeviceUsers.List |
list(String parent)
Lists/Searches DeviceUsers.
|
CloudIdentity.Devices.DeviceUsers.Lookup |
lookup(String parent)
Looks up resource names of the DeviceUsers associated with the caller's credentials, as well as
the properties provided in the request.
|
CloudIdentity.Devices.DeviceUsers.Wipe |
wipe(String name,
GoogleAppsCloudidentityDevicesV1WipeDeviceUserRequest content)
Wipes the user's account on a device.
|
public CloudIdentity.Devices.DeviceUsers.Approve approve(String name, GoogleAppsCloudidentityDevicesV1ApproveDeviceUserRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in
format: `devices/{device}/deviceUsers/{device_user}`, where device is the unique ID
assigned to the Device, and device_user is the unique ID assigned to the User.content - the GoogleAppsCloudidentityDevicesV1ApproveDeviceUserRequestIOExceptionpublic CloudIdentity.Devices.DeviceUsers.Block block(String name, GoogleAppsCloudidentityDevicesV1BlockDeviceUserRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in
format: `devices/{device}/deviceUsers/{device_user}`, where device is the unique ID
assigned to the Device, and device_user is the unique ID assigned to the User.content - the GoogleAppsCloudidentityDevicesV1BlockDeviceUserRequestIOExceptionpublic CloudIdentity.Devices.DeviceUsers.CancelWipe cancelWipe(String name, GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in
format: `devices/{device}/deviceUsers/{device_user}`, where device is the unique ID
assigned to the Device, and device_user is the unique ID assigned to the User.content - the GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserRequestIOExceptionpublic CloudIdentity.Devices.DeviceUsers.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in
format: `devices/{device}/deviceUsers/{device_user}`, where device is the unique ID
assigned to the Device, and device_user is the unique ID assigned to the User.IOExceptionpublic CloudIdentity.Devices.DeviceUsers.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in
format: `devices/{device}/deviceUsers/{device_user}`, where device is the unique ID
assigned to the Device, and device_user is the unique ID assigned to the User.IOExceptionpublic CloudIdentity.Devices.DeviceUsers.List list(String parent) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. To list all DeviceUsers, set this to "devices/-". To list all DeviceUsers owned by a
device, set this to the resource name of the device. Format: devices/{device}IOExceptionpublic CloudIdentity.Devices.DeviceUsers.Lookup lookup(String parent) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Must be set to "devices/-/deviceUsers" to search across all DeviceUser belonging to the user.IOExceptionpublic CloudIdentity.Devices.DeviceUsers.Wipe wipe(String name, GoogleAppsCloudidentityDevicesV1WipeDeviceUserRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in
format: `devices/{device}/deviceUsers/{device_user}`, where device is the unique ID
assigned to the Device, and device_user is the unique ID assigned to the User.content - the GoogleAppsCloudidentityDevicesV1WipeDeviceUserRequestIOExceptionpublic CloudIdentity.Devices.DeviceUsers.ClientStates clientStates()
The typical use is:
CloudIdentity cloudidentity = new CloudIdentity(...);CloudIdentity.ClientStates.List request = cloudidentity.clientStates().list(parameters ...)
Copyright © 2011–2024 Google. All rights reserved.