Class ChromeosdevicesResource.PatchRequest
- Namespace
- Google.Apis.Admin.Directory.directory_v1
- Assembly
- Google.Apis.Admin.Directory.directory_v1.dll
Updates a device's updatable properties, such as annotatedUser
, annotatedLocation
, notes
,
orgUnitPath
, or annotatedAssetId
. This method supports patch
semantics.
public class ChromeosdevicesResource.PatchRequest : DirectoryBaseServiceRequest<ChromeOsDevice>
- Inheritance
-
ChromeosdevicesResource.PatchRequest
- Inherited Members
Constructors
PatchRequest(IClientService, ChromeOsDevice, string, string)
Constructs a new Patch request.
public PatchRequest(IClientService service, ChromeOsDevice body, string customerId, string deviceId)
Parameters
service
IClientServicebody
ChromeOsDevicecustomerId
stringdeviceId
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
DeviceId
The unique ID of the device. The deviceId
s are returned in the response from the
chromeosdevices.list method.
public virtual string DeviceId { 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
Projection
Restrict information returned to a set of selected fields.
public virtual ChromeosdevicesResource.PatchRequest.ProjectionEnum? Projection { get; set; }
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 Patch parameter list.
protected override void InitParameters()