Class UsersResource.SectionsResource.ItemsResource.ListRequest
Developer Preview: Lists items in a section. Only
spaces can be section items. 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
Inherited Members
Namespace: Google.Apis.HangoutsChat.v1
Assembly: Google.Apis.HangoutsChat.v1.dll
Syntax
public class UsersResource.SectionsResource.ItemsResource.ListRequest : HangoutsChatBaseServiceRequest<ListSectionItemsResponse>, IClientServiceRequest<ListSectionItemsResponse>, 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
Filter
Optional. A query filter. Currently only supports filtering by space. For example, space = spaces/{space}. Invalid queries are rejected with an INVALID_ARGUMENT error.
Declaration
[RequestParameter("filter", RequestParameterType.Query)]
public virtual string Filter { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
PageSize
Optional. The maximum number of section items to return. The service may return fewer than this
value. If unspecified, at most 10 section items 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 section items 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 section resource name that owns this collection of section
items. Only supports listing section items for the calling user. When you're filtering by space,
use the wildcard - to search across all sections. For example, users/{user}/sections/-.
Format: users/{user}/sections/{section}
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
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()