Class CustomersResource.DevicesResource.UnclaimRequest
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.
Inheritance
CustomersResource.DevicesResource.UnclaimRequest
Inherited Members
Namespace: Google.Apis.AndroidProvisioningPartner.v1
Assembly: Google.Apis.AndroidProvisioningPartner.v1.dll
Syntax
public class CustomersResource.DevicesResource.UnclaimRequest : AndroidProvisioningPartnerBaseServiceRequest<Empty>, IClientServiceRequest<Empty>, IClientServiceRequest
Constructors
UnclaimRequest(IClientService, CustomerUnclaimDeviceRequest, string)
Constructs a new Unclaim request.
Declaration
public UnclaimRequest(IClientService service, CustomerUnclaimDeviceRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
CustomerUnclaimDeviceRequest | body | |
string | parent |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Parent
Required. The customer managing the device. An API resource name in the format
customers/[CUSTOMER_ID]
.
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Unclaim parameter list.
Declaration
protected override void InitParameters()