google_api_policy_troubleshooter v0.6.1 GoogleApi.PolicyTroubleshooter.V1beta.Model.GoogleCloudPolicytroubleshooterV1betaBindingExplanation View Source
Details about how a binding in a policy affects a member's ability to use a permission.
Attributes
access
(type:String.t
, default:nil
) - Indicates whether this binding provides the specified permission to the specified member for the specified resource.This field does not indicate whether the member actually has the permission for the resource. There might be another binding that overrides this binding. To determine whether the member actually has the permission, use the
access
field in the TroubleshootIamPolicyResponse.condition
(type:GoogleApi.PolicyTroubleshooter.V1beta.Model.GoogleTypeExpr.t
, default:nil
) - A condition expression that prevents access unless the expression evaluates totrue
.To learn about IAM Conditions, see http://cloud.google.com/iam/help/conditions/overview.
memberships
(type:%{optional(String.t) => GoogleApi.PolicyTroubleshooter.V1beta.Model.GoogleCloudPolicytroubleshooterV1betaBindingExplanationAnnotatedMembership.t}
, default:nil
) - Indicates whether each member in the binding includes the member specified in the request, either directly or indirectly. Each key identifies a member in the binding, and each value indicates whether the member in the binding includes the member in the request.For example, suppose that a binding includes the following members:
user:alice@example.com
group:product-eng@example.com
You want to troubleshoot access for
user:bob@example.com
. This user is a member of the groupgroup:product-eng@example.com
.For the first member in the binding, the key is
user:alice@example.com
, and themembership
field in the value is set toMEMBERSHIP_NOT_INCLUDED
.For the second member in the binding, the key is
group: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.PolicyTroubleshooter.V1beta.Model.GoogleCloudPolicytroubleshooterV1betaBindingExplanation{ access: String.t(), condition: GoogleApi.PolicyTroubleshooter.V1beta.Model.GoogleTypeExpr.t(), memberships: %{ optional(String.t()) => GoogleApi.PolicyTroubleshooter.V1beta.Model.GoogleCloudPolicytroubleshooterV1betaBindingExplanationAnnotatedMembership.t() }, relevance: String.t(), role: String.t(), rolePermission: String.t(), rolePermissionRelevance: String.t() }
Link to this section Functions
Specs
Unwrap a decoded JSON object into its complex fields.