Class DevicesResource
The "devices" collection of methods.
Inherited Members
Namespace: Google.Apis.CloudIdentity.v1
Assembly: Google.Apis.CloudIdentity.v1.dll
Syntax
public class DevicesResource
Constructors
DevicesResource(IClientService)
Constructs a new resource.
Declaration
public DevicesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
DeviceUsers
Gets the DeviceUsers resource.
Declaration
public virtual DevicesResource.DeviceUsersResource DeviceUsers { get; }
Property Value
Type | Description |
---|---|
DevicesResource.DeviceUsersResource |
Methods
CancelWipe(GoogleAppsCloudidentityDevicesV1CancelWipeDeviceRequest, string)
Cancels an unfinished device wipe. This operation can be used to cancel device wipe in the gap between the wipe operation returning success and the device being wiped. This operation is possible when the device is in a "pending wipe" state. The device enters the "pending wipe" state when a wipe device command is issued, but has not yet been sent to the device. The cancel wipe will fail if the wipe command has already been issued to the device.
Declaration
public virtual DevicesResource.CancelWipeRequest CancelWipe(GoogleAppsCloudidentityDevicesV1CancelWipeDeviceRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleAppsCloudidentityDevicesV1CancelWipeDeviceRequest | body | The body of the request. |
string | name | Required. Resource name of the Device in format:
|
Returns
Type | Description |
---|---|
DevicesResource.CancelWipeRequest |
Create(GoogleAppsCloudidentityDevicesV1Device)
Creates a device. Only company-owned device may be created. Note: This method is available only to customers who have one of the following SKUs: Enterprise Standard, Enterprise Plus, Enterprise for Education, and Cloud Identity Premium
Declaration
public virtual DevicesResource.CreateRequest Create(GoogleAppsCloudidentityDevicesV1Device body)
Parameters
Type | Name | Description |
---|---|---|
GoogleAppsCloudidentityDevicesV1Device | body | The body of the request. |
Returns
Type | Description |
---|---|
DevicesResource.CreateRequest |
Delete(string)
Deletes the specified device.
Declaration
public virtual DevicesResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Resource name of the Device in format:
|
Returns
Type | Description |
---|---|
DevicesResource.DeleteRequest |
Get(string)
Retrieves the specified device.
Declaration
public virtual DevicesResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Resource name of the Device in the format:
|
Returns
Type | Description |
---|---|
DevicesResource.GetRequest |
List()
Lists/Searches devices.
Declaration
public virtual DevicesResource.ListRequest List()
Returns
Type | Description |
---|---|
DevicesResource.ListRequest |
Wipe(GoogleAppsCloudidentityDevicesV1WipeDeviceRequest, string)
Wipes all data on the specified device.
Declaration
public virtual DevicesResource.WipeRequest Wipe(GoogleAppsCloudidentityDevicesV1WipeDeviceRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleAppsCloudidentityDevicesV1WipeDeviceRequest | body | The body of the request. |
string | name | Required. Resource name of the Device in format:
|
Returns
Type | Description |
---|---|
DevicesResource.WipeRequest |