Show / Hide Table of Contents

Class CustomersResource.DevicesResource

The "devices" collection of methods.

Inheritance
object
CustomersResource.DevicesResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.AndroidProvisioningPartner.v1
Assembly: Google.Apis.AndroidProvisioningPartner.v1.dll
Syntax
public class CustomersResource.DevicesResource

Constructors

DevicesResource(IClientService)

Constructs a new resource.

Declaration
public DevicesResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

ApplyConfiguration(CustomerApplyConfigurationRequest, string)

Applies a Configuration to the device to register the device for zero-touch enrollment. After applying a configuration to a device, the device automatically provisions itself on first boot, or next factory reset.

Declaration
public virtual CustomersResource.DevicesResource.ApplyConfigurationRequest ApplyConfiguration(CustomerApplyConfigurationRequest body, string parent)
Parameters
Type Name Description
CustomerApplyConfigurationRequest body

The body of the request.

string parent

Required. The customer managing the device. An API resource name in the format customers/[CUSTOMER_ID].

Returns
Type Description
CustomersResource.DevicesResource.ApplyConfigurationRequest

Get(string)

Gets the details of a device.

Declaration
public virtual CustomersResource.DevicesResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. The device to get. An API resource name in the format customers/[CUSTOMER_ID]/devices/[DEVICE_ID].

Returns
Type Description
CustomersResource.DevicesResource.GetRequest

List(string)

Lists a customer's devices.

Declaration
public virtual CustomersResource.DevicesResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The customer managing the devices. An API resource name in the format customers/[CUSTOMER_ID].

Returns
Type Description
CustomersResource.DevicesResource.ListRequest

RemoveConfiguration(CustomerRemoveConfigurationRequest, string)

Removes a configuration from device.

Declaration
public virtual CustomersResource.DevicesResource.RemoveConfigurationRequest RemoveConfiguration(CustomerRemoveConfigurationRequest body, string parent)
Parameters
Type Name Description
CustomerRemoveConfigurationRequest body

The body of the request.

string parent

Required. The customer managing the device in the format customers/[CUSTOMER_ID].

Returns
Type Description
CustomersResource.DevicesResource.RemoveConfigurationRequest

Unclaim(CustomerUnclaimDeviceRequest, string)

Unclaims a device from a customer and removes it from zero-touch enrollment. After removing a device, a customer must contact their reseller to register the device into zero-touch enrollment again.

Declaration
public virtual CustomersResource.DevicesResource.UnclaimRequest Unclaim(CustomerUnclaimDeviceRequest body, string parent)
Parameters
Type Name Description
CustomerUnclaimDeviceRequest body

The body of the request.

string parent

Required. The customer managing the device. An API resource name in the format customers/[CUSTOMER_ID].

Returns
Type Description
CustomersResource.DevicesResource.UnclaimRequest
In this article
Back to top Generated by DocFX