View Source GoogleApi.CloudIdentity.V1.Model.Membership (google_api_cloud_identity v0.30.0)

A membership within the Cloud Identity Groups API. A Membership defines a relationship between a Group and an entity belonging to that Group, referred to as a "member".

Attributes

  • createTime (type: DateTime.t, default: nil) - Output only. The time when the Membership was created.
  • deliverySetting (type: String.t, default: nil) - Output only. Delivery setting associated with the membership.
  • name (type: String.t, default: nil) - Output only. The resource name of the Membership. Shall be of the form groups/{group}/memberships/{membership}.
  • preferredMemberKey (type: GoogleApi.CloudIdentity.V1.Model.EntityKey.t, default: nil) - Required. Immutable. The EntityKey of the member.
  • roles (type: list(GoogleApi.CloudIdentity.V1.Model.MembershipRole.t), default: nil) - The MembershipRoles that apply to the Membership. If unspecified, defaults to a single MembershipRole with name MEMBER. Must not contain duplicate MembershipRoles with the same name.
  • type (type: String.t, default: nil) - Output only. The type of the membership.
  • updateTime (type: DateTime.t, default: nil) - Output only. The time when the Membership was last updated.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudIdentity.V1.Model.Membership{
  createTime: DateTime.t() | nil,
  deliverySetting: String.t() | nil,
  name: String.t() | nil,
  preferredMemberKey: GoogleApi.CloudIdentity.V1.Model.EntityKey.t() | nil,
  roles: [GoogleApi.CloudIdentity.V1.Model.MembershipRole.t()] | nil,
  type: String.t() | nil,
  updateTime: DateTime.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.