Show / Hide Table of Contents

Class UsersResource.SpacesResource

The "spaces" collection of methods.

Inheritance
object
UsersResource.SpacesResource
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.SpacesResource

Constructors

SpacesResource(IClientService)

Constructs a new resource.

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

Properties

SpaceNotificationSetting

Gets the SpaceNotificationSetting resource.

Declaration
public virtual UsersResource.SpacesResource.SpaceNotificationSettingResource SpaceNotificationSetting { get; }
Property Value
Type Description
UsersResource.SpacesResource.SpaceNotificationSettingResource

Threads

Gets the Threads resource.

Declaration
public virtual UsersResource.SpacesResource.ThreadsResource Threads { get; }
Property Value
Type Description
UsersResource.SpacesResource.ThreadsResource

Methods

GetSpaceReadState(string)

Returns details about a user's read state within a space, used to identify read and unread messages. For an example, see Get details about a user's space read state. Requires user authentication with one of the following authorization scopes: - https://www.googleapis.com/auth/chat.users.readstate.readonly - https://www.googleapis.com/auth/chat.users.readstate

Declaration
public virtual UsersResource.SpacesResource.GetSpaceReadStateRequest GetSpaceReadState(string name)
Parameters
Type Name Description
string name

Required. Resource name of the space read state to retrieve. Only supports getting read state for the calling user. To refer to the calling user, set one of the following: - The me alias. For example, users/me/spaces/{space}/spaceReadState. - Their Workspace email address. For example, users/user@example.com/spaces/{space}/spaceReadState. - Their user id. For example, users/123456789/spaces/{space}/spaceReadState. Format: users/{user}/spaces/{space}/spaceReadState

Returns
Type Description
UsersResource.SpacesResource.GetSpaceReadStateRequest

UpdateSpaceReadState(SpaceReadState, string)

Updates a user's read state within a space, used to identify read and unread messages. For an example, see Update a user's space read state. Requires user authentication with the authorization scope: - https://www.googleapis.com/auth/chat.users.readstate

Declaration
public virtual UsersResource.SpacesResource.UpdateSpaceReadStateRequest UpdateSpaceReadState(SpaceReadState body, string name)
Parameters
Type Name Description
SpaceReadState body

The body of the request.

string name

Resource name of the space read state. Format: users/{user}/spaces/{space}/spaceReadState

Returns
Type Description
UsersResource.SpacesResource.UpdateSpaceReadStateRequest
In this article
Back to top Generated by DocFX