google_api_cloud_identity v0.7.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".

  • 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

Link to this type

t()

View Source
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()],
  updateTime: DateTime.t()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.