Show / Hide Table of Contents

Class UsersResource.LabelsResource.PatchRequest

Patch the specified label.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<Label>
GmailBaseServiceRequest<Label>
UsersResource.LabelsResource.PatchRequest
Implements
IClientServiceRequest<Label>
IClientServiceRequest
Inherited Members
GmailBaseServiceRequest<Label>.Xgafv
GmailBaseServiceRequest<Label>.AccessToken
GmailBaseServiceRequest<Label>.Alt
GmailBaseServiceRequest<Label>.Callback
GmailBaseServiceRequest<Label>.Fields
GmailBaseServiceRequest<Label>.Key
GmailBaseServiceRequest<Label>.OauthToken
GmailBaseServiceRequest<Label>.PrettyPrint
GmailBaseServiceRequest<Label>.QuotaUser
GmailBaseServiceRequest<Label>.UploadType
GmailBaseServiceRequest<Label>.UploadProtocol
ClientServiceRequest<Label>.Execute()
ClientServiceRequest<Label>.ExecuteAsStream()
ClientServiceRequest<Label>.ExecuteAsync()
ClientServiceRequest<Label>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Label>.ExecuteAsStreamAsync()
ClientServiceRequest<Label>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Label>.CreateRequest(bool?)
ClientServiceRequest<Label>.GenerateRequestUri()
ClientServiceRequest<Label>.GetDefaultETagAction(string)
ClientServiceRequest<Label>.ETagAction
ClientServiceRequest<Label>.ModifyRequest
ClientServiceRequest<Label>.ValidateParameters
ClientServiceRequest<Label>.ApiVersion
ClientServiceRequest<Label>.RequestParameters
ClientServiceRequest<Label>.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.Gmail.v1
Assembly: Google.Apis.Gmail.v1.dll
Syntax
public class UsersResource.LabelsResource.PatchRequest : GmailBaseServiceRequest<Label>, IClientServiceRequest<Label>, IClientServiceRequest

Constructors

PatchRequest(IClientService, Label, string, string)

Constructs a new Patch request.

Declaration
public PatchRequest(IClientService service, Label body, string userId, string id)
Parameters
Type Name Description
IClientService service
Label body
string userId
string id

Properties

HttpMethod

Gets the HTTP method.

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

Id

The ID of the label to update.

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

MethodName

Gets the method name.

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

RestPath

Gets the REST path.

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

UserId

The user's email address. The special value me can be used to indicate the authenticated user.

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

Methods

GetBody()

Returns the body of the request.

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

InitParameters()

Initializes Patch parameter list.

Declaration
protected override void InitParameters()
Overrides
GmailBaseServiceRequest<Label>.InitParameters()

Implements

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