google_api_cloud_identity v0.15.0 GoogleApi.CloudIdentity.V1.Model.Membership View Source

Resource representing a Membership within a Group

Attributes

  • createTime (type: DateTime.t, default: nil) - Output only. Creation timestamp of the Membership. Output only.
  • name (type: String.t, default: nil) - Output only. Resource name of the Membership in the format: groups/{group_id}/memberships/{member_id}, where group_id is the unique ID assigned to the Group to which Membership belongs to, and member_id is the unique ID assigned to the member Must be left blank while creating a Membership.
  • preferredMemberKey (type: GoogleApi.CloudIdentity.V1.Model.EntityKey.t, default: nil) - Required. Immutable. EntityKey of the entity to be added as the member. Must be set while creating a Membership, read-only afterwards. Currently allowed entity types: Users, Groups.
  • roles (type: list(GoogleApi.CloudIdentity.V1.Model.MembershipRole.t), default: nil) - Roles for a member within the Group. Currently supported MembershipRoles: "MEMBER".
  • type (type: String.t, default: nil) - Output only. The type of the membership.
  • updateTime (type: DateTime.t, default: nil) - Output only. Last updated timestamp of the Membership. Output only.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

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

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.