Resource: Membership
Represents a membership relation in Hangouts Chat.
JSON representation | |
---|---|
{ "name": string, "state": enum ( |
Fields | |
---|---|
name |
|
state |
State of the membership. |
createTime |
The creation time of the membership a.k.a the time at which the member joined the space, if applicable. |
member |
A User in Hangout 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 |
|
---|---|
|
Returns a membership. |
|
Lists human memberships in a space. |