Show / Hide Table of Contents

Class ChromeosdevicesResource.UpdateRequest

Updates a device's updatable properties, such as annotatedUser, annotatedLocation, notes, orgUnitPath, or annotatedAssetId.

Inheritance
System.Object
ClientServiceRequest
ClientServiceRequest<ChromeOsDevice>
DirectoryBaseServiceRequest<ChromeOsDevice>
ChromeosdevicesResource.UpdateRequest
Implements
IClientServiceRequest<ChromeOsDevice>
IClientServiceRequest
Inherited Members
DirectoryBaseServiceRequest<ChromeOsDevice>.Xgafv
DirectoryBaseServiceRequest<ChromeOsDevice>.AccessToken
DirectoryBaseServiceRequest<ChromeOsDevice>.Alt
DirectoryBaseServiceRequest<ChromeOsDevice>.Callback
DirectoryBaseServiceRequest<ChromeOsDevice>.Fields
DirectoryBaseServiceRequest<ChromeOsDevice>.Key
DirectoryBaseServiceRequest<ChromeOsDevice>.OauthToken
DirectoryBaseServiceRequest<ChromeOsDevice>.PrettyPrint
DirectoryBaseServiceRequest<ChromeOsDevice>.QuotaUser
DirectoryBaseServiceRequest<ChromeOsDevice>.UploadType
DirectoryBaseServiceRequest<ChromeOsDevice>.UploadProtocol
ClientServiceRequest<ChromeOsDevice>.Execute()
ClientServiceRequest<ChromeOsDevice>.ExecuteAsStream()
ClientServiceRequest<ChromeOsDevice>.ExecuteAsync()
ClientServiceRequest<ChromeOsDevice>.ExecuteAsync(CancellationToken)
ClientServiceRequest<ChromeOsDevice>.ExecuteAsStreamAsync()
ClientServiceRequest<ChromeOsDevice>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<ChromeOsDevice>.CreateRequest(Nullable<Boolean>)
ClientServiceRequest<ChromeOsDevice>.GenerateRequestUri()
ClientServiceRequest<ChromeOsDevice>.GetDefaultETagAction(String)
ClientServiceRequest<ChromeOsDevice>.ETagAction
ClientServiceRequest<ChromeOsDevice>.ModifyRequest
ClientServiceRequest<ChromeOsDevice>.RequestParameters
ClientServiceRequest<ChromeOsDevice>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Admin.Directory.directory_v1
Assembly: Google.Apis.Admin.Directory.directory_v1.dll
Syntax
public class 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
System.String customerId
System.String deviceId

Properties

CustomerId

The unique ID for the customer's G Suite 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
System.String

DeviceId

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

Declaration
[RequestParameter("deviceId", RequestParameterType.Path)]
public virtual string DeviceId { get; }
Property Value
Type Description
System.String

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Admin.Directory.directory_v1.Data.ChromeOsDevice>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Admin.Directory.directory_v1.Data.ChromeOsDevice>.MethodName

Projection

Restrict information returned to a set of selected fields.

Declaration
[RequestParameter("projection", RequestParameterType.Query)]
public virtual ChromeosdevicesResource.UpdateRequest.ProjectionEnum? Projection { get; set; }
Property Value
Type Description
System.Nullable<ChromeosdevicesResource.UpdateRequest.ProjectionEnum>

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Admin.Directory.directory_v1.Data.ChromeOsDevice>.RestPath

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
System.Object
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Admin.Directory.directory_v1.Data.ChromeOsDevice>.GetBody()

InitParameters()

Initializes Update parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.Admin.Directory.directory_v1.DirectoryBaseServiceRequest<Google.Apis.Admin.Directory.directory_v1.Data.ChromeOsDevice>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
Back to top