Class DevicesResource.CancelWipeRequest
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.
Inheritance
DevicesResource.CancelWipeRequest
Inherited Members
Namespace: Google.Apis.CloudIdentity.v1
Assembly: Google.Apis.CloudIdentity.v1.dll
Syntax
public class DevicesResource.CancelWipeRequest : CloudIdentityBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
CancelWipeRequest(IClientService, GoogleAppsCloudidentityDevicesV1CancelWipeDeviceRequest, string)
Constructs a new CancelWipe request.
Declaration
public CancelWipeRequest(IClientService service, GoogleAppsCloudidentityDevicesV1CancelWipeDeviceRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleAppsCloudidentityDevicesV1CancelWipeDeviceRequest | body | |
string | name |
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
Name
Required. Resource name of the Device in format:
devices/{device}
, where device is the unique ID assigned to the Device.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { 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 CancelWipe parameter list.
Declaration
protected override void InitParameters()