Class ChromeosdevicesResource.UpdateRequest
Updates a device's updatable properties, such as annotatedUser
, annotatedLocation
, notes
,
orgUnitPath
, or annotatedAssetId
.
Inheritance
ChromeosdevicesResource.UpdateRequest
Inherited Members
Namespace: Google.Apis.Admin.Directory.directory_v1
Assembly: Google.Apis.Admin.Directory.directory_v1.dll
Syntax
public class ChromeosdevicesResource.UpdateRequest : DirectoryBaseServiceRequest<ChromeOsDevice>, IClientServiceRequest<ChromeOsDevice>, IClientServiceRequest
Constructors
UpdateRequest(IClientService, ChromeOsDevice, string, string)
Constructs a new Update request.
Declaration
public UpdateRequest(IClientService service, ChromeOsDevice body, string customerId, string deviceId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
ChromeOsDevice | body | |
string | customerId | |
string | deviceId |
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.
Declaration
[RequestParameter("customerId", RequestParameterType.Path)]
public virtual string CustomerId { get; }
Property Value
Type | Description |
---|---|
string |
DeviceId
The unique ID of the device. The deviceId
s are returned in the response from the
chromeosdevices.list method.
Declaration
[RequestParameter("deviceId", RequestParameterType.Path)]
public virtual string DeviceId { get; }
Property Value
Type | Description |
---|---|
string |
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
Projection
Determines whether the response contains the full list of properties or only a subset.
Declaration
[RequestParameter("projection", RequestParameterType.Query)]
public virtual ChromeosdevicesResource.UpdateRequest.ProjectionEnum? Projection { get; set; }
Property Value
Type | Description |
---|---|
ChromeosdevicesResource.UpdateRequest.ProjectionEnum? |
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 Update parameter list.
Declaration
protected override void InitParameters()