Class EnterprisesResource.DevicesResource.DeleteRequest
Deletes a device. This operation wipes the device. Deleted devices do not show up in enterprises.devices.list calls and a 404 is returned from enterprises.devices.get.
Inheritance
Inherited Members
Namespace: Google.Apis.AndroidManagement.v1
Assembly: Google.Apis.AndroidManagement.v1.dll
Syntax
public class EnterprisesResource.DevicesResource.DeleteRequest : AndroidManagementBaseServiceRequest<Empty>, IClientServiceRequest<Empty>, IClientServiceRequest
Constructors
DeleteRequest(IClientService, string)
Constructs a new Delete request.
Declaration
public DeleteRequest(IClientService service, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
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
The name of the device in the form enterprises/{enterpriseId}/devices/{deviceId}.
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
WipeDataFlags
Optional flags that control the device wiping behavior.
Declaration
[RequestParameter("wipeDataFlags", RequestParameterType.Query)]
public virtual EnterprisesResource.DevicesResource.DeleteRequest.WipeDataFlagsEnum? WipeDataFlags { get; set; }
Property Value
Type | Description |
---|---|
EnterprisesResource.DevicesResource.DeleteRequest.WipeDataFlagsEnum? |
Remarks
Use this property to set a single value for the parameter, or WipeDataFlagsList to set multiple values. Do not set both properties.
WipeDataFlagsList
Optional flags that control the device wiping behavior.
Declaration
[RequestParameter("wipeDataFlags", RequestParameterType.Query)]
public virtual Repeatable<EnterprisesResource.DevicesResource.DeleteRequest.WipeDataFlagsEnum> WipeDataFlagsList { get; set; }
Property Value
Type | Description |
---|---|
Repeatable<EnterprisesResource.DevicesResource.DeleteRequest.WipeDataFlagsEnum> |
Remarks
Use this property to set one or more values for the parameter. Do not set both this property and WipeDataFlags.
WipeReasonMessage
Optional. A short message displayed to the user before wiping the work profile on personal devices. This has no effect on company owned devices. The maximum message length is 200 characters.
Declaration
[RequestParameter("wipeReasonMessage", RequestParameterType.Query)]
public virtual string WipeReasonMessage { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
InitParameters()
Initializes Delete parameter list.
Declaration
protected override void InitParameters()