Show / Hide Table of Contents

Class CustomersResource.ChromeResource.PrintersResource.PatchRequest

Updates a Printer resource.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<Printer>
DirectoryBaseServiceRequest<Printer>
CustomersResource.ChromeResource.PrintersResource.PatchRequest
Implements
IClientServiceRequest<Printer>
IClientServiceRequest
Inherited Members
DirectoryBaseServiceRequest<Printer>.Xgafv
DirectoryBaseServiceRequest<Printer>.AccessToken
DirectoryBaseServiceRequest<Printer>.Alt
DirectoryBaseServiceRequest<Printer>.Callback
DirectoryBaseServiceRequest<Printer>.Fields
DirectoryBaseServiceRequest<Printer>.Key
DirectoryBaseServiceRequest<Printer>.OauthToken
DirectoryBaseServiceRequest<Printer>.PrettyPrint
DirectoryBaseServiceRequest<Printer>.QuotaUser
DirectoryBaseServiceRequest<Printer>.UploadType
DirectoryBaseServiceRequest<Printer>.UploadProtocol
ClientServiceRequest<Printer>.Execute()
ClientServiceRequest<Printer>.ExecuteAsStream()
ClientServiceRequest<Printer>.ExecuteAsync()
ClientServiceRequest<Printer>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Printer>.ExecuteAsStreamAsync()
ClientServiceRequest<Printer>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Printer>.CreateRequest(bool?)
ClientServiceRequest<Printer>.GenerateRequestUri()
ClientServiceRequest<Printer>.GetDefaultETagAction(string)
ClientServiceRequest<Printer>.ETagAction
ClientServiceRequest<Printer>.ModifyRequest
ClientServiceRequest<Printer>.ValidateParameters
ClientServiceRequest<Printer>.ApiVersion
ClientServiceRequest<Printer>.RequestParameters
ClientServiceRequest<Printer>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Admin.Directory.directory_v1
Assembly: Google.Apis.Admin.Directory.directory_v1.dll
Syntax
public class CustomersResource.ChromeResource.PrintersResource.PatchRequest : DirectoryBaseServiceRequest<Printer>, IClientServiceRequest<Printer>, IClientServiceRequest

Constructors

PatchRequest(IClientService, Printer, string)

Constructs a new Patch request.

Declaration
public PatchRequest(IClientService service, Printer body, string name)
Parameters
Type Name Description
IClientService service
Printer body
string name

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.

Declaration
[RequestParameter("clearMask", RequestParameterType.Query)]
public virtual object ClearMask { get; set; }
Property Value
Type Description
object

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<Printer>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<Printer>.MethodName

Name

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

Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type Description
string

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<Printer>.RestPath

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.

Declaration
[RequestParameter("updateMask", RequestParameterType.Query)]
public virtual object UpdateMask { get; set; }
Property Value
Type Description
object

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<Printer>.GetBody()

InitParameters()

Initializes Patch parameter list.

Declaration
protected override void InitParameters()
Overrides
DirectoryBaseServiceRequest<Printer>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX