GoogleApi.Chat.V1.Model.Membership (google_api_chat v0.30.1) View Source

Represents a membership relation in Google Chat.

Attributes

  • createTime (type: DateTime.t, default: nil) - Output only. The creation time of the membership a.k.a. the time at which the member joined the space, if applicable.
  • member (type: GoogleApi.Chat.V1.Model.User.t, default: nil) - A user in Google Chat.
  • name (type: String.t, default: nil) -
  • state (type: String.t, default: nil) - State of the membership. Required for CreateMembership. Read-only for other usage.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Chat.V1.Model.Membership{
  createTime: DateTime.t() | nil,
  member: GoogleApi.Chat.V1.Model.User.t() | nil,
  name: String.t() | nil,
  state: String.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.