google_api_policy_troubleshooter v0.6.1 GoogleApi.PolicyTroubleshooter.V1.Model.GoogleCloudPolicytroubleshooterV1ExplainedPolicy View Source

Details about how a specific IAM Policy contributed to the access check.

Attributes

  • access (type: String.t, default: nil) - Indicates whether this policy 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 policy that overrides this policy. To determine whether the member actually has the permission, use the access field in the TroubleshootIamPolicyResponse.

  • bindingExplanations (type: list(GoogleApi.PolicyTroubleshooter.V1.Model.GoogleCloudPolicytroubleshooterV1BindingExplanation.t), default: nil) - Details about how each binding in the policy affects the member's ability, or inability, to use the permission for the resource.

    If the sender of the request does not have access to the policy, this field is omitted.

  • fullResourceName (type: String.t, default: nil) - The full resource name that identifies the resource. For example, //compute.googleapis.com/projects/my-project/zones/us-central1-a/instances/my-instance.

    If the sender of the request does not have access to the policy, this field is omitted.

    For examples of full resource names for Google Cloud services, see https://cloud.google.com/iam/help/troubleshooter/full-resource-names.

  • policy (type: GoogleApi.PolicyTroubleshooter.V1.Model.GoogleIamV1Policy.t, default: nil) - The IAM policy attached to the resource.

    If the sender of the request does not have access to the policy, this field is empty.

  • relevance (type: String.t, default: nil) - The relevance of this policy to the overall determination in the TroubleshootIamPolicyResponse.

    If the sender of the request does not have access to the policy, this field is omitted.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() ::
  %GoogleApi.PolicyTroubleshooter.V1.Model.GoogleCloudPolicytroubleshooterV1ExplainedPolicy{
    access: String.t(),
    bindingExplanations: [
      GoogleApi.PolicyTroubleshooter.V1.Model.GoogleCloudPolicytroubleshooterV1BindingExplanation.t()
    ],
    fullResourceName: String.t(),
    policy: GoogleApi.PolicyTroubleshooter.V1.Model.GoogleIamV1Policy.t(),
    relevance: String.t()
  }

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.