Show / Hide Table of Contents

Class UsersResource.SectionsResource.ItemsResource

The "items" collection of methods.

Inheritance
object
UsersResource.SectionsResource.ItemsResource
Inherited Members
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.ItemsResource

Constructors

ItemsResource(IClientService)

Constructs a new resource.

Declaration
public ItemsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

List(string)

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

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 - to search across all sections. For example, users/{user}/sections/-. Format: users/{user}/sections/{section}

Returns
Type Description
UsersResource.SectionsResource.ItemsResource.ListRequest

Move(MoveSectionItemRequest, string)

Developer Preview: 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: users/{user}/sections/{section}/items/{item}

Returns
Type Description
UsersResource.SectionsResource.ItemsResource.MoveRequest
In this article
Back to top Generated by DocFX