Show / Hide Table of Contents

Class UsersResource.SectionsResource.PatchRequest

Developer Preview: Updates a section. Only sections of type CUSTOM_SECTION can be updated. For details, see Create and organize sections in Google Chat. Requires user authentication with the authorization scope: - https://www.googleapis.com/auth/chat.users.sections

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

Constructors

PatchRequest(IClientService, GoogleChatV1Section, string)

Constructs a new Patch request.

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

Properties

HttpMethod

Gets the HTTP method.

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

MethodName

Gets the method name.

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

Name

Identifier. Resource name of the section. For system sections, the section ID is a constant string:

  • DEFAULT_DIRECT_MESSAGES: users/{user}/sections/default-direct-messages - DEFAULT_SPACES: users/{user}/sections/default-spaces - DEFAULT_APPS: users/{user}/sections/default-apps Format: users/{user}/sections/{section}
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<GoogleChatV1Section>.RestPath

UpdateMask

Required. The mask to specify which fields to update. Currently supported field paths: - display_name

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<GoogleChatV1Section>.GetBody()

InitParameters()

Initializes Patch parameter list.

Declaration
protected override void InitParameters()
Overrides
HangoutsChatBaseServiceRequest<GoogleChatV1Section>.InitParameters()

Implements

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