Class DevicesResource
The "devices" collection of methods.
Inherited Members
Namespace: Google.Apis.CloudIdentity.v1beta1
Assembly: Google.Apis.CloudIdentity.v1beta1.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(CancelWipeDeviceRequest, 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.
Declaration
public virtual DevicesResource.CancelWipeRequest CancelWipe(CancelWipeDeviceRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
CancelWipeDeviceRequest | body | The body of the request. |
string | name | Required. Resource name of the Device in format:
|
Returns
Type | Description |
---|---|
DevicesResource.CancelWipeRequest |
Create(CreateDeviceRequest)
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(CreateDeviceRequest body)
Parameters
Type | Name | Description |
---|---|---|
CreateDeviceRequest | 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 format:
|
Returns
Type | Description |
---|---|
DevicesResource.GetRequest |
List()
Lists/Searches devices.
Declaration
public virtual DevicesResource.ListRequest List()
Returns
Type | Description |
---|---|
DevicesResource.ListRequest |
Wipe(WipeDeviceRequest, string)
Wipes all data on the specified device.
Declaration
public virtual DevicesResource.WipeRequest Wipe(WipeDeviceRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
WipeDeviceRequest | body | The body of the request. |
string | name | Required. Resource name of the Device in format:
|
Returns
Type | Description |
---|---|
DevicesResource.WipeRequest |