Class MobiledevicesResource.ActionRequest
- Namespace
- Google.Apis.Admin.Directory.directory_v1
- Assembly
- Google.Apis.Admin.Directory.directory_v1.dll
Takes an action that affects a mobile device. For example, remotely wiping a device.
public class MobiledevicesResource.ActionRequest : DirectoryBaseServiceRequest<string>
- Inheritance
-
MobiledevicesResource.ActionRequest
- Inherited Members
Constructors
ActionRequest(IClientService, MobileDeviceAction, string, string)
Constructs a new Action request.
public ActionRequest(IClientService service, MobileDeviceAction body, string customerId, string resourceId)
Parameters
service
IClientServicebody
MobileDeviceActioncustomerId
stringresourceId
string
Properties
CustomerId
The unique ID for the customer's Google Workspace account. As an account administrator, you can also use
the my_customer
alias to represent your account's customerId
. The customerId
is also returned as
part of the Users resource.
public virtual string CustomerId { get; }
Property Value
HttpMethod
Gets the HTTP method.
public override string HttpMethod { get; }
Property Value
MethodName
Gets the method name.
public override string MethodName { get; }
Property Value
ResourceId
The unique ID the API service uses to identify the mobile device.
public virtual string ResourceId { get; }
Property Value
RestPath
Gets the REST path.
public override string RestPath { get; }
Property Value
Methods
GetBody()
Returns the body of the request.
protected override object GetBody()
Returns
InitParameters()
Initializes Action parameter list.
protected override void InitParameters()