GoogleApi.PolicySimulator.V1.Model.GoogleCloudPolicysimulatorV1BindingExplanation (google_api_policy_simulator v0.2.0) View Source
Details about how a binding in a policy affects a principal's ability to use a permission.
Attributes
-
access
(type:String.t
, default:nil
) - Required. Indicates whether this binding provides the specified permission to the specified principal for the specified resource. This field does not indicate whether the principal actually has the permission for the resource. There might be another binding that overrides this binding. To determine whether the principal actually has the permission, use theaccess
field in the TroubleshootIamPolicyResponse. -
condition
(type:GoogleApi.PolicySimulator.V1.Model.GoogleTypeExpr.t
, default:nil
) - A condition expression that prevents this binding from granting access unless the expression evaluates totrue
. To learn about IAM Conditions, see https://cloud.google.com/iam/docs/conditions-overview. -
memberships
(type:%{optional(String.t) => GoogleApi.PolicySimulator.V1.Model.GoogleCloudPolicysimulatorV1BindingExplanationAnnotatedMembership.t}
, default:nil
) - Indicates whether each principal in the binding includes the principal specified in the request, either directly or indirectly. Each key identifies a principal in the binding, and each value indicates whether the principal in the binding includes the principal in the request. For example, suppose that a binding includes the following principals:user:alice@example.com
group:product-eng@example.com
The principal in the replayed access tuple isuser:bob@example.com
. This user is a principal of the groupgroup:product-eng@example.com
. For the first principal in the binding, the key isuser:alice@example.com
, and themembership
field in the value is set toMEMBERSHIP_NOT_INCLUDED
. For the second principal in the binding, the key isgroup:product-eng@example.com
, and themembership
field in the value is set toMEMBERSHIP_INCLUDED
. -
relevance
(type:String.t
, default:nil
) - The relevance of this binding to the overall determination for the entire policy. -
role
(type:String.t
, default:nil
) - The role that this binding grants. For example,roles/compute.serviceAgent
. For a complete list of predefined IAM roles, as well as the permissions in each role, see https://cloud.google.com/iam/help/roles/reference. -
rolePermission
(type:String.t
, default:nil
) - Indicates whether the role granted by this binding contains the specified permission. -
rolePermissionRelevance
(type:String.t
, default:nil
) - The relevance of the permission's existence, or nonexistence, in the role to the overall determination for the entire policy.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Specs
t() :: %GoogleApi.PolicySimulator.V1.Model.GoogleCloudPolicysimulatorV1BindingExplanation{ access: String.t() | nil, condition: GoogleApi.PolicySimulator.V1.Model.GoogleTypeExpr.t() | nil, memberships: %{ optional(String.t()) => GoogleApi.PolicySimulator.V1.Model.GoogleCloudPolicysimulatorV1BindingExplanationAnnotatedMembership.t() } | nil, relevance: String.t() | nil, role: String.t() | nil, rolePermission: String.t() | nil, rolePermissionRelevance: String.t() | nil }
Link to this section Functions
Specs
Unwrap a decoded JSON object into its complex fields.