Table of Contents

Class ChromeosdevicesResource.ActionRequest

Namespace
Google.Apis.Admin.Directory.directory_v1
Assembly
Google.Apis.Admin.Directory.directory_v1.dll

Takes an action that affects a Chrome OS Device. This includes deprovisioning, disabling, and re-enabling devices. Warning: * Deprovisioning a device will stop device policy syncing and remove device-level printers. After a device is deprovisioned, it must be wiped before it can be re-enrolled. * Lost or stolen devices should use the disable action. * Re-enabling a disabled device will consume a device license. If you do not have sufficient licenses available when completing the re-enable action, you will receive an error. For more information about deprovisioning and disabling devices, visit the help center.

public class ChromeosdevicesResource.ActionRequest : DirectoryBaseServiceRequest<string>
Inheritance
ChromeosdevicesResource.ActionRequest
Inherited Members

Constructors

ActionRequest(IClientService, ChromeOsDeviceAction, string, string)

Constructs a new Action request.

public ActionRequest(IClientService service, ChromeOsDeviceAction body, string customerId, string resourceId)

Parameters

service IClientService
body ChromeOsDeviceAction
customerId string
resourceId 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

string

HttpMethod

Gets the HTTP method.

public override string HttpMethod { get; }

Property Value

string

MethodName

Gets the method name.

public override string MethodName { get; }

Property Value

string

ResourceId

The unique ID of the device. The resourceIds are returned in the response from the chromeosdevices.list method.

public virtual string ResourceId { get; }

Property Value

string

RestPath

Gets the REST path.

public override string RestPath { get; }

Property Value

string

Methods

GetBody()

Returns the body of the request.

protected override object GetBody()

Returns

object

InitParameters()

Initializes Action parameter list.

protected override void InitParameters()