Class UsersResource.SectionsResource.ItemsResource
The "items" collection of methods.
Inherited Members
Namespace: Google.Apis.HangoutsChat.v1
Assembly: Google.Apis.HangoutsChat.v1.dll
Syntax
public class UsersResource.SectionsResource.ItemsResource
Constructors
ItemsResource(IClientService)
Constructs a new resource.
Declaration
public ItemsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
List(string)
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
Declaration
public virtual UsersResource.SectionsResource.ItemsResource.ListRequest List(string parent)
Parameters
| Type | Name | 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 |
Returns
| Type | Description |
|---|---|
| UsersResource.SectionsResource.ItemsResource.ListRequest |
Move(MoveSectionItemRequest, string)
Moves an item from one section to another. For example, if a section contains spaces, this method
can be used to move a space to a different section. 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
Declaration
public virtual UsersResource.SectionsResource.ItemsResource.MoveRequest Move(MoveSectionItemRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| MoveSectionItemRequest | body | The body of the request. |
| string | name | Required. The resource name of the section item to move. Format:
|
Returns
| Type | Description |
|---|---|
| UsersResource.SectionsResource.ItemsResource.MoveRequest |