GoogleApi.CloudIdentity.V1.Model.MemberRestriction (google_api_cloud_identity v0.26.0) View Source
The definition of MemberRestriction
Attributes
-
evaluation
(type:GoogleApi.CloudIdentity.V1.Model.RestrictionEvaluation.t
, default:nil
) - The evaluated state of this restriction on a group. -
query
(type:String.t
, default:nil
) - Member Restriction as defined by CEL expression. Supported restrictions are:member.customer_id
andmember.type
. Valid values formember.type
are1
,2
and3
. They correspond to USER, SERVICE_ACCOUNT, and GROUP respectively. The value formember.customer_id
only supportsgroupCustomerId()
currently which means the customer id of the group will be used for restriction. Supported operators are&&
,||
and==
, corresponding to AND, OR, and EQUAL. Examples: Allow only service accounts of given customer to be members.member.type == 2 && member.customer_id == groupCustomerId()
Allow only users or groups to be members.member.type == 1 || member.type == 3
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.MemberRestriction{ evaluation: GoogleApi.CloudIdentity.V1.Model.RestrictionEvaluation.t() | nil, query: String.t() | nil }
Link to this section Functions
Specs
Unwrap a decoded JSON object into its complex fields.