Show / Hide Table of Contents

Class ListSectionsRequest

Request message for listing sections.

Inheritance
object
ListSectionsRequest
Implements
IPageRequest
IMessage<ListSectionsRequest>
IEquatable<ListSectionsRequest>
IDeepCloneable<ListSectionsRequest>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Apps.Chat.V1
Assembly: Google.Apps.Chat.V1.dll
Syntax
public sealed class ListSectionsRequest : IPageRequest, IMessage<ListSectionsRequest>, IEquatable<ListSectionsRequest>, IDeepCloneable<ListSectionsRequest>, IBufferMessage, IMessage

Constructors

ListSectionsRequest()

Declaration
public ListSectionsRequest()

ListSectionsRequest(ListSectionsRequest)

Declaration
public ListSectionsRequest(ListSectionsRequest other)
Parameters
Type Name Description
ListSectionsRequest other

Properties

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
public int PageSize { get; set; }
Property Value
Type Description
int
Implements
IPageRequest.PageSize

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
public string PageToken { get; set; }
Property Value
Type Description
string
Implements
IPageRequest.PageToken

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
public string Parent { get; set; }
Property Value
Type Description
string

ParentAsUserName

UserName-typed view over the Parent resource name property.

Declaration
public UserName ParentAsUserName { get; set; }
Property Value
Type Description
UserName
In this article
Back to top Generated by DocFX