Table of Contents

Class CustomersResource.ChromeResource.PrintersResource.PatchRequest

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

Updates a Printer resource.

public class CustomersResource.ChromeResource.PrintersResource.PatchRequest : DirectoryBaseServiceRequest<Printer>
Inheritance
CustomersResource.ChromeResource.PrintersResource.PatchRequest
Inherited Members

Constructors

PatchRequest(IClientService, Printer, string)

Constructs a new Patch request.

public PatchRequest(IClientService service, Printer body, string name)

Parameters

service IClientService
body Printer
name string

Properties

ClearMask

The list of fields to be cleared. Note, some of the fields are read only and cannot be updated. Values for not specified fields will be patched.

public virtual object ClearMask { get; set; }

Property Value

object

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

Name

The resource name of the Printer object, in the format customers/{customer-id}/printers/{printer-id} (During printer creation leave empty)

public virtual string Name { get; }

Property Value

string

RestPath

Gets the REST path.

public override string RestPath { get; }

Property Value

string

UpdateMask

The list of fields to be updated. Note, some of the fields are read only and cannot be updated. Values for not specified fields will be patched.

public virtual object UpdateMask { get; set; }

Property Value

object

Methods

GetBody()

Returns the body of the request.

protected override object GetBody()

Returns

object

InitParameters()

Initializes Patch parameter list.

protected override void InitParameters()