View Source GoogleApi.Chat.V1.Model.Membership (google_api_chat v0.34.3)
Represents a membership relation in Google Chat, such as whether a user or Chat app is invited to, part of, or absent from a space.
Attributes
-
createTime
(type:DateTime.t
, default:nil
) - Optional. Immutable. The creation time of the membership, such as when a member joined or was invited to join a space. This field is output only, except when used to import historical memberships in import mode spaces. -
deleteTime
(type:DateTime.t
, default:nil
) - Optional. Immutable. The deletion time of the membership, such as when a member left or was removed from a space. This field is output only, except when used to import historical memberships in import mode spaces. -
groupMember
(type:GoogleApi.Chat.V1.Model.Group.t
, default:nil
) - The Google Group the membership corresponds to. Only supports read operations. Other operations, like creating or updating a membership, aren't currently supported. -
member
(type:GoogleApi.Chat.V1.Model.User.t
, default:nil
) - The Google Chat user or app the membership corresponds to. If your Chat app authenticates as a user, the output populates the username
andtype
. -
name
(type:String.t
, default:nil
) - Resource name of the membership, assigned by the server. Format:spaces/{space}/members/{member}
-
role
(type:String.t
, default:nil
) - Optional. User's role within a Chat space, which determines their permitted actions in the space. Developer Preview: This field can only be used as input inUpdateMembership
. -
state
(type:String.t
, default:nil
) - Output only. State of the membership.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Chat.V1.Model.Membership{ createTime: DateTime.t() | nil, deleteTime: DateTime.t() | nil, groupMember: GoogleApi.Chat.V1.Model.Group.t() | nil, member: GoogleApi.Chat.V1.Model.User.t() | nil, name: String.t() | nil, role: String.t() | nil, state: String.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.