Show / Hide Table of Contents

Class UsersResource.SectionsResource.ListRequest

Developer Preview: Lists sections available to the Chat user. Sections help users group their conversations and customize the list of spaces displayed in Chat navigation panel. 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 - https://www.googleapis.com/auth/chat.users.sections.readonly

Inheritance
object
ClientServiceRequest
ClientServiceRequest<ListSectionsResponse>
HangoutsChatBaseServiceRequest<ListSectionsResponse>
UsersResource.SectionsResource.ListRequest
Implements
IClientServiceRequest<ListSectionsResponse>
IClientServiceRequest
Inherited Members
HangoutsChatBaseServiceRequest<ListSectionsResponse>.Xgafv
HangoutsChatBaseServiceRequest<ListSectionsResponse>.AccessToken
HangoutsChatBaseServiceRequest<ListSectionsResponse>.Alt
HangoutsChatBaseServiceRequest<ListSectionsResponse>.Callback
HangoutsChatBaseServiceRequest<ListSectionsResponse>.Fields
HangoutsChatBaseServiceRequest<ListSectionsResponse>.Key
HangoutsChatBaseServiceRequest<ListSectionsResponse>.OauthToken
HangoutsChatBaseServiceRequest<ListSectionsResponse>.PrettyPrint
HangoutsChatBaseServiceRequest<ListSectionsResponse>.QuotaUser
HangoutsChatBaseServiceRequest<ListSectionsResponse>.UploadType
HangoutsChatBaseServiceRequest<ListSectionsResponse>.UploadProtocol
ClientServiceRequest<ListSectionsResponse>.Execute()
ClientServiceRequest<ListSectionsResponse>.ExecuteAsStream()
ClientServiceRequest<ListSectionsResponse>.ExecuteAsync()
ClientServiceRequest<ListSectionsResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<ListSectionsResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<ListSectionsResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<ListSectionsResponse>.CreateRequest(bool?)
ClientServiceRequest<ListSectionsResponse>.GenerateRequestUri()
ClientServiceRequest<ListSectionsResponse>.GetBody()
ClientServiceRequest<ListSectionsResponse>.GetDefaultETagAction(string)
ClientServiceRequest<ListSectionsResponse>.ETagAction
ClientServiceRequest<ListSectionsResponse>.ModifyRequest
ClientServiceRequest<ListSectionsResponse>.ValidateParameters
ClientServiceRequest<ListSectionsResponse>.ApiVersion
ClientServiceRequest<ListSectionsResponse>.RequestParameters
ClientServiceRequest<ListSectionsResponse>.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.ListRequest : HangoutsChatBaseServiceRequest<ListSectionsResponse>, IClientServiceRequest<ListSectionsResponse>, IClientServiceRequest

Constructors

ListRequest(IClientService, string)

Constructs a new List request.

Declaration
public ListRequest(IClientService service, string parent)
Parameters
Type Name Description
IClientService service
string parent

Properties

HttpMethod

Gets the HTTP method.

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

MethodName

Gets the method name.

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

PageSize

Optional. The maximum number of sections to return. The service may return fewer than this value. If unspecified, at most 10 sections will be returned. The maximum value is 100. If you use a value more than 100, it's automatically changed to 100. Negative values return an INVALID_ARGUMENT error.

Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type Description
int?

PageToken

Optional. A page token, received from a previous list sections call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided should match the call that provided the page token. Passing different values to the other parameters might lead to unexpected results.

Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type Description
string

Parent

Required. The parent, which is the user resource name that owns this collection of sections. Only supports listing sections for the calling user. To refer to the calling user, set one of the following: - The me alias. For example, users/me. - Their Workspace email address. For example, users/user@example.com. - Their user id. For example, users/123456789. Format: users/{user}

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

RestPath

Gets the REST path.

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

Methods

InitParameters()

Initializes List parameter list.

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

Implements

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