REST Resource: spaces.members

Resource: Membership

Represents a membership relation in Hangouts Chat.

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

string

Resource name of the membership, in the form "spaces/*/members/*".

Example: spaces/AAAAMpdlehY/members/105115627578887013105

state

enum(MembershipState)

State of the membership.

member

object(User)

Member details.

createTime

string (Timestamp format)

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

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.

Enviar comentarios sobre...

Si necesitas ayuda, visita nuestra página de asistencia.