REST Resource: spaces.members

Resource: Membership

Represents a membership relation in Google Chat.

JSON representation
{
  "name": string,
  "state": enum (MembershipState),
  "createTime": string,
  "member": {
    object (User)
  }
}
Fields
name

string

state

enum (MembershipState)

State of the membership.

createTime

string (Timestamp format)

The creation time of the membership a.k.a the time at which the member joined the space, if applicable.

member

object (User)

A user in Google Chat.

MembershipState

Enums
MEMBERSHIP_STATE_UNSPECIFIED Default, do not use.
JOINED The user has joined the space.
INVITED The user has been invited, is able to join the space, but currently has not joined.
NOT_A_MEMBER The user is not a member of the space, has not been invited and is not able to join the space.

Methods

get

Returns a membership.

list

Lists human memberships in a space.