View Source GoogleApi.CloudIdentity.V1.Model.MembershipRole (google_api_cloud_identity v0.31.0)

A membership role within the Cloud Identity Groups API. A MembershipRole defines the privileges granted to a Membership.

Attributes

  • expiryDetail (type: GoogleApi.CloudIdentity.V1.Model.ExpiryDetail.t, default: nil) - The expiry details of the MembershipRole. Expiry details are only supported for MEMBER MembershipRoles. May be set if name is MEMBER. Must not be set if name is any other value.
  • name (type: String.t, default: nil) - The name of the MembershipRole. Must be one of OWNER, MANAGER, MEMBER.
  • restrictionEvaluations (type: GoogleApi.CloudIdentity.V1.Model.RestrictionEvaluations.t, default: nil) - Evaluations of restrictions applied to parent group on this membership.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudIdentity.V1.Model.MembershipRole{
  expiryDetail: GoogleApi.CloudIdentity.V1.Model.ExpiryDetail.t() | nil,
  name: String.t() | nil,
  restrictionEvaluations:
    GoogleApi.CloudIdentity.V1.Model.RestrictionEvaluations.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.