Google Cloud IAM · Schema

GoogleCloudPolicytroubleshooterIamV3TroubleshootIamPolicyResponse

Response for TroubleshootIamPolicy.

Identity and Access ManagementGoogle CloudIdentityPermissionsSecurity

Properties

Name Type Description
denyPolicyExplanation object An explanation of how the applicable IAM deny policies affect the final access state.
overallAccessState string Indicates whether the principal has the specified permission for the specified resource, based on evaluating all types of the applicable IAM policies.
accessTuple object The access tuple from the request, including any provided context used to evaluate the condition.
allowPolicyExplanation object An explanation of how the applicable IAM allow policies affect the final access state.
View JSON Schema on GitHub

JSON Schema

google-cloud-iam-google-cloud-policytroubleshooter-iam-v3-troubleshoot-iam-policy-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-cloud-iam/json-schema/google-cloud-iam-google-cloud-policytroubleshooter-iam-v3-troubleshoot-iam-policy-response-schema.json",
  "title": "GoogleCloudPolicytroubleshooterIamV3TroubleshootIamPolicyResponse",
  "description": "Response for TroubleshootIamPolicy.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-cloud-iam-policytroubleshooter-iam-api-openapi.yml#/components/schemas/GoogleCloudPolicytroubleshooterIamV3TroubleshootIamPolicyResponse",
  "properties": {
    "denyPolicyExplanation": {
      "$ref": "#/$defs/GoogleCloudPolicytroubleshooterIamV3DenyPolicyExplanation",
      "description": "An explanation of how the applicable IAM deny policies affect the final access state."
    },
    "overallAccessState": {
      "enum": [
        "OVERALL_ACCESS_STATE_UNSPECIFIED",
        "CAN_ACCESS",
        "CANNOT_ACCESS",
        "UNKNOWN_INFO",
        "UNKNOWN_CONDITIONAL"
      ],
      "type": "string",
      "description": "Indicates whether the principal has the specified permission for the specified resource, based on evaluating all types of the applicable IAM policies."
    },
    "accessTuple": {
      "$ref": "#/$defs/GoogleCloudPolicytroubleshooterIamV3AccessTuple",
      "description": "The access tuple from the request, including any provided context used to evaluate the condition."
    },
    "allowPolicyExplanation": {
      "$ref": "#/$defs/GoogleCloudPolicytroubleshooterIamV3AllowPolicyExplanation",
      "description": "An explanation of how the applicable IAM allow policies affect the final access state."
    }
  },
  "type": "object",
  "$defs": {
    "GoogleCloudPolicytroubleshooterIamV3AccessTuple": {
      "description": "Information about the principal, resource, and permission to check.",
      "type": "object",
      "properties": {
        "permission": {
          "type": "string",
          "description": "Required. The IAM permission to check for, either in the `v1` permission format or the `v2` permission format. For a complete list of IAM permissions in the `v1` format, see https://cloud.google.com/iam/help/permissions/reference. For a list of IAM permissions in the `v2` format, see https://cloud.google.com/iam/help/deny/supported-permissions. For a complete list of predefined IAM roles and the permissions in each role, see https://cloud.google.com/iam/help/roles/reference."
        },
        "principal": {
          "description": "Required. The email address of the principal whose access you want to check. For example, `alice@example.com` or `my-service-account@my-project.iam.gserviceaccount.com`. The principal must be a Google Account or a service account. Other types of principals are not supported.",
          "type": "string"
        },
        "permissionFqdn": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. The permission that Policy Troubleshooter checked for, in the `v2` format."
        },
        "fullResourceName": {
          "type": "string",
          "description": "Required. The full resource name that identifies the resource. For example, `//compute.googleapis.com/projects/my-project/zones/us-central1-a/instances/my-instance`. For examples of full resource names for Google Cloud services, see https://cloud.google.com/iam/help/troubleshooter/full-resource-names."
        },
        "conditionContext": {
          "$ref": "#/$defs/GoogleCloudPolicytroubleshooterIamV3ConditionContext",
          "description": "Optional. Additional context for the request, such as the request time or IP address. This context allows Policy Troubleshooter to troubleshoot conditional role bindings and deny rules."
        }
      }
    },
    "GoogleCloudPolicytroubleshooterIamV3AllowBindingExplanation": {
      "description": "Details about how a role binding in an allow policy affects a principal's ability to use a permission.",
      "type": "object",
      "properties": {
        "allowAccessState": {
          "description": "Required. Indicates whether _this role binding_ gives the specified permission to the specified principal on the specified resource. This field does _not_ indicate whether the principal actually has the permission on the resource. There might be another role binding that overrides this role binding. To determine whether the principal actually has the permission, use the `overall_access_state` field in the TroubleshootIamPolicyResponse.",
          "type": "string",
          "enum": [
            "ALLOW_ACCESS_STATE_UNSPECIFIED",
            "ALLOW_ACCESS_STATE_GRANTED",
            "ALLOW_ACCESS_STATE_NOT_GRANTED",
            "ALLOW_ACCESS_STATE_UNKNOWN_CONDITIONAL",
            "ALLOW_ACCESS_STATE_UNKNOWN_INFO"
          ]
        },
        "memberships": {
          "additionalProperties": {
            "$ref": "#/$defs/GoogleCloudPolicytroubleshooterIamV3AllowBindingExplanationAnnotatedAllowMembership"
          },
          "type": "object",
          "description": "Indicates whether each role binding includes the principal specified in the request, either directly or indirectly. Each key identifies a principal in the role binding, and each value indicates whether the principal in the role binding includes the principal in the request. For example, suppose that a role binding includes the following principals: * `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 group `group:product-eng@example.com`. For the first principal in the role binding, the key is `user:alice@example.com`, and the `membership` field in the value is set to `NOT_INCLUDED`. For the second principal in the role binding, the key is `group:product-eng@example.com`, and the `membership` field in the value is set to `INCLUDED`."
        },
        "relevance": {
          "type": "string",
          "description": "The relevance of this role binding to the overall determination for the entire policy.",
          "enum": [
            "HEURISTIC_RELEVANCE_UNSPECIFIED",
            "HEURISTIC_RELEVANCE_NORMAL",
            "HEURISTIC_RELEVANCE_HIGH"
          ]
        },
        "role": {
          "description": "The role that this role binding grants. For example, `roles/compute.admin`. 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.",
          "type": "string"
        },
        "rolePermission": {
          "description": "Indicates whether the role granted by this role binding contains the specified permission.",
          "enum": [
            "ROLE_PERMISSION_INCLUSION_STATE_UNSPECIFIED",
            "ROLE_PERMISSION_INCLUDED",
            "ROLE_PERMISSION_NOT_INCLUDED",
            "ROLE_PERMISSION_UNKNOWN_INFO"
          ],
          "type": "string"
        },
        "condition": {
          "$ref": "#/$defs/GoogleTypeExpr",
          "description": "A condition expression that specifies when the role binding grants access. To learn about IAM Conditions, see https://cloud.google.com/iam/help/conditions/overview."
        },
        "combinedMembership": {
          "$ref": "#/$defs/GoogleCloudPolicytroubleshooterIamV3AllowBindingExplanationAnnotatedAllowMembership",
          "description": "The combined result of all memberships. Indicates if the principal is included in any role binding, either directly or indirectly."
        },
        "conditionExplanation": {
          "$ref": "#/$defs/GoogleCloudPolicytroubleshooterIamV3ConditionExplanation",
          "description": "Condition evaluation state for this role binding."
        },
        "rolePermissionRelevance": {
          "enum": [
            "HEURISTIC_RELEVANCE_UNSPECIFIED",
            "HEURISTIC_RELEVANCE_NORMAL",
            "HEURISTIC_RELEVANCE_HIGH"
          ],
          "description": "The relevance of the permission's existence, or nonexistence, in the role to the overall determination for the entire policy.",
          "type": "string"
        }
      }
    },
    "GoogleCloudPolicytroubleshooterIamV3AllowBindingExplanationAnnotatedAllowMembership": {
      "properties": {
        "relevance": {
          "description": "The relevance of the principal's status to the overall determination for the role binding.",
          "type": "string",
          "enum": [
            "HEURISTIC_RELEVANCE_UNSPECIFIED",
            "HEURISTIC_RELEVANCE_NORMAL",
            "HEURISTIC_RELEVANCE_HIGH"
          ]
        },
        "membership": {
          "type": "string",
          "description": "Indicates whether the role binding includes the principal.",
          "enum": [
            "MEMBERSHIP_MATCHING_STATE_UNSPECIFIED",
            "MEMBERSHIP_MATCHED",
            "MEMBERSHIP_NOT_MATCHED",
            "MEMBERSHIP_UNKNOWN_INFO",
            "MEMBERSHIP_UNKNOWN_UNSUPPORTED"
          ]
        }
      },
      "type": "object",
      "description": "Details about whether the role binding includes the principal."
    },
    "GoogleCloudPolicytroubleshooterIamV3AllowPolicyExplanation": {
      "properties": {
        "explainedPolicies": {
          "description": "List of IAM allow policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result. The list of policies includes the policy for the resource itself, as well as allow policies that are inherited from higher levels of the resource hierarchy, including the organization, the folder, and the project. To learn more about the resource hierarchy, see https://cloud.google.com/iam/help/resource-hierarchy.",
          "items": {
            "$ref": "#/$defs/GoogleCloudPolicytroubleshooterIamV3ExplainedAllowPolicy"
          },
          "type": "array"
        },
        "allowAccessState": {
          "enum": [
            "ALLOW_ACCESS_STATE_UNSPECIFIED",
            "ALLOW_ACCESS_STATE_GRANTED",
            "ALLOW_ACCESS_STATE_NOT_GRANTED",
            "ALLOW_ACCESS_STATE_UNKNOWN_CONDITIONAL",
            "ALLOW_ACCESS_STATE_UNKNOWN_INFO"
          ],
          "description": "Indicates whether the principal has the specified permission for the specified resource, based on evaluating all applicable IAM allow policies.",
          "type": "string"
        },
        "relevance": {
          "type": "string",
          "description": "The relevance of the allow policy type to the overall access state.",
          "enum": [
            "HEURISTIC_RELEVANCE_UNSPECIFIED",
            "HEURISTIC_RELEVANCE_NORMAL",
            "HEURISTIC_RELEVANCE_HIGH"
          ]
        }
      },
      "description": "Details about how the relevant IAM allow policies affect the final access state.",
      "type": "object"
    },
    "GoogleCloudPolicytroubleshooterIamV3ConditionContext": {
      "properties": {
        "effectiveTags": {
          "items": {
            "$ref": "#/$defs/GoogleCloudPolicytroubleshooterIamV3ConditionContextEffectiveTag"
          },
          "type": "array",
          "readOnly": true,
          "description": "Output only. The effective tags on the resource. The effective tags are fetched during troubleshooting."
        },
        "resource": {
          "$ref": "#/$defs/GoogleCloudPolicytroubleshooterIamV3ConditionContextResource",
          "description": "Represents a target resource that is involved with a network activity. If multiple resources are involved with an activity, this must be the primary one."
        },
        "destination": {
          "$ref": "#/$defs/GoogleCloudPolicytroubleshooterIamV3ConditionContextPeer",
          "description": "The destination of a network activity, such as accepting a TCP connection. In a multi-hop network activity, the destination represents the receiver of the last hop."
        },
        "request": {
          "$ref": "#/$defs/GoogleCloudPolicytroubleshooterIamV3ConditionContextRequest",
          "description": "Represents a network request, such as an HTTP request."
        }
      },
      "type": "object",
      "description": "Additional context for troubleshooting conditional role bindings and deny rules."
    },
    "GoogleCloudPolicytroubleshooterIamV3ConditionContextEffectiveTag": {
      "properties": {
        "namespacedTagKey": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. The namespaced name of the TagKey. Can be in the form `{organization_id}/{tag_key_short_name}` or `{project_id}/{tag_key_short_name}` or `{project_number}/{tag_key_short_name}`."
        },
        "inherited": {
          "description": "Output only. Indicates the inheritance status of a tag value attached to the given resource. If the tag value is inherited from one of the resource's ancestors, inherited will be true. If false, then the tag value is directly attached to the resource, inherited will be false.",
          "readOnly": true,
          "type": "boolean"
        },
        "namespacedTagValue": {
          "readOnly": true,
          "description": "Output only. The namespaced name of the TagValue. Can be in the form `{organization_id}/{tag_key_short_name}/{tag_value_short_name}` or `{project_id}/{tag_key_short_name}/{tag_value_short_name}` or `{project_number}/{tag_key_short_name}/{tag_value_short_name}`.",
          "type": "string"
        },
        "tagKeyParentName": {
          "description": "The parent name of the tag key. Must be in the format `organizations/{organization_id}` or `projects/{project_number}`",
          "type": "string"
        },
        "tagKey": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. The name of the TagKey, in the format `tagKeys/{id}`, such as `tagKeys/123`."
        },
        "tagValue": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. Resource name for TagValue in the format `tagValues/456`."
        }
      },
      "description": "A tag that applies to a resource during policy evaluation. Tags can be either directly bound to a resource or inherited from its ancestor. `EffectiveTag` contains the `name` and `namespaced_name` of the tag value and tag key, with additional fields of `inherited` to indicate the inheritance status of the effective tag.",
      "type": "object"
    },
    "GoogleCloudPolicytroubleshooterIamV3ConditionContextPeer": {
      "description": "This message defines attributes for a node that handles a network request. The node can be either a service or an application that sends, forwards, or receives the request. Service peers should fill in `principal` and `labels` as appropriate.",
      "properties": {
        "ip": {
          "description": "The IPv4 or IPv6 address of the peer.",
          "type": "string"
        },
        "port": {
          "format": "int64",
          "type": "string",
          "description": "The network port of the peer."
        }
      },
      "type": "object"
    },
    "GoogleCloudPolicytroubleshooterIamV3ConditionContextRequest": {
      "properties": {
        "receiveTime": {
          "description": "Optional. The timestamp when the destination service receives the first byte of the request.",
          "type": "string",
          "format": "google-datetime"
        }
      },
      "description": "This message defines attributes for an HTTP request. If the actual request is not an HTTP request, the runtime system should try to map the actual request to an equivalent HTTP request.",
      "type": "object"
    },
    "GoogleCloudPolicytroubleshooterIamV3ConditionContextResource": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "The stable identifier (name) of a resource on the `service`. A resource can be logically identified as `//{resource.service}/{resource.name}`. Unlike the resource URI, the resource name doesn't contain any protocol and version information. For a list of full resource name formats, see https://cloud.google.com/iam/help/troubleshooter/full-resource-names"
        },
        "service": {
          "description": "The name of the service that this resource belongs to, such as `compute.googleapis.com`. The service name might not match the DNS hostname that actually serves the request. For a full list of resource service values, see https://cloud.google.com/iam/help/conditions/resource-services",
          "type": "string"
        },
        "type": {
          "description": "The type of the resource, in the format `{service}/{kind}`. For a full list of resource type values, see https://cloud.google.com/iam/help/conditions/resource-types",
          "type": "string"
        }
      },
      "description": "Core attributes for a resource. A resource is an addressable (named) entity provided by the destination service. For example, a Compute Engine instance."
    },
    "GoogleCloudPolicytroubleshooterIamV3ConditionExplanation": {
      "description": "Explanation for how a condition affects a principal's access",
      "type": "object",
      "properties": {
        "evaluationStates": {
          "description": "The value of each statement of the condition expression. The value can be `true`, `false`, or `null`. The value is `null` if the statement can't be evaluated.",
          "items": {
            "$ref": "#/$defs/GoogleCloudPolicytroubleshooterIamV3ConditionExplanationEvaluationState"
          },
          "type": "array"
        },
        "errors": {
          "items": {
            "$ref": "#/$defs/GoogleRpcStatus"
          },
          "type": "array",
          "description": "Any errors that prevented complete evaluation of the condition expression."
        },
        "value": {
          "description": "Value of the condition."
        }
      }
    },
    "GoogleCloudPolicytroubleshooterIamV3ConditionExplanationEvaluationState": {
      "description": "Evaluated state of a condition expression.",
      "type": "object",
      "properties": {
        "start": {
          "description": "Start position of an expression in the condition, by character.",
          "type": "integer",
          "format": "int32"
        },
        "end": {
          "description": "End position of an expression in the condition, by character, end included, for example: the end position of the first part of `a==b || c==d` would be 4.",
          "format": "int32",
          "type": "integer"
        },
        "errors": {
          "description": "Any errors that prevented complete evaluation of the condition expression.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/GoogleRpcStatus"
          }
        },
        "value": {
          "description": "Value of this expression."
        }
      }
    },
    "GoogleCloudPolicytroubleshooterIamV3DenyPolicyExplanation": {
      "properties": {
        "relevance": {
          "description": "The relevance of the deny policy result to the overall access state.",
          "type": "string",
          "enum": [
            "HEURISTIC_RELEVANCE_UNSPECIFIED",
            "HEURISTIC_RELEVANCE_NORMAL",
            "HEURISTIC_RELEVANCE_HIGH"
          ]
        },
        "explainedResources": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/GoogleCloudPolicytroubleshooterIamV3ExplainedDenyResource"
          },
          "description": "List of resources with IAM deny policies that were evaluated to check the principal's denied permissions, with annotations to indicate how each policy contributed to the final result. The list of resources includes the policy for the resource itself, as well as policies that are inherited from higher levels of the resource hierarchy, including the organization, the folder, and the project. The order of the resources starts from the resource and climbs up the resource hierarchy. To learn more about the resource hierarchy, see https://cloud.google.com/iam/help/resource-hierarchy."
        },
        "permissionDeniable": {
          "type": "boolean",
          "description": "Indicates whether the permission to troubleshoot is supported in deny policies."
        },
        "denyAccessState": {
          "enum": [
            "DENY_ACCESS_STATE_UNSPECIFIED",
            "DENY_ACCESS_STATE_DENIED",
            "DENY_ACCESS_STATE_NOT_DENIED",
            "DENY_ACCESS_STATE_UNKNOWN_CONDITIONAL",
            "DENY_ACCESS_STATE_UNKNOWN_INFO"
          ],
          "description": "Indicates whether the principal is denied the specified permission for the specified resource, based on evaluating all applicable IAM deny policies.",
          "type": "string"
        }
      },
      "type": "object",
      "description": "Details about how the relevant IAM deny policies affect the final access state."
    },
    "GoogleCloudPolicytroubleshooterIamV3DenyRuleExplanation": {
      "description": "Details about how a deny rule in a deny policy affects a principal's ability to use a permission.",
      "properties": {
        "denyAccessState": {
          "enum": [
            "DENY_ACCESS_STATE_UNSPECIFIED",
            "DENY_ACCESS_STATE_DENIED",
            "DENY_ACCESS_STATE_NOT_DENIED",
            "DENY_ACCESS_STATE_UNKNOWN_CONDITIONAL",
            "DENY_ACCESS_STATE_UNKNOWN_INFO"
          ],
          "type": "string",
          "description": "Required. Indicates whether _this rule_ denies the specified permission to the specified principal for the specified resource. This field does _not_ indicate whether the principal is actually denied on the permission for the resource. There might be another rule that overrides this rule. To determine whether the principal actually has the permission, use the `overall_access_state` field in the TroubleshootIamPolicyResponse."
        },
        "combinedDeniedPrincipal": {
          "$ref": "#/$defs/GoogleCloudPolicytroubleshooterIamV3DenyRuleExplanationAnnotatedDenyPrincipalMatching",
          "description": "Indicates whether the principal is listed as a denied principal in the deny rule, either directly or through membership in a principal set."
        },
        "deniedPermissions": {
          "additionalProperties": {
            "$ref": "#/$defs/GoogleCloudPolicytroubleshooterIamV3DenyRuleExplanationAnnotatedPermissionMatching"
          },
          "type": "object",
          "description": "Lists all denied permissions in the deny rule and indicates whether each permission matches the permission in the request. Each key identifies a denied permission in the rule, and each value indicates whether the denied permission matches the permission in the request."
        },
        "combinedExceptionPrincipal": {
          "$ref": "#/$defs/GoogleCloudPolicytroubleshooterIamV3DenyRuleExplanationAnnotatedDenyPrincipalMatching",
          "description": "Indicates whether the principal is listed as an exception principal in the deny rule, either directly or through membership in a principal set."
        },
        "relevance": {
          "enum": [
            "HEURISTIC_RELEVANCE_UNSPECIFIED",
            "HEURISTIC_RELEVANCE_NORMAL",
            "HEURISTIC_RELEVANCE_HIGH"
          ],
          "description": "The relevance of this role binding to the overall determination for the entire policy.",
          "type": "string"
        },
        "combinedExceptionPermission": {
          "$ref": "#/$defs/GoogleCloudPolicytroubleshooterIamV3DenyRuleExplanationAnnotatedPermissionMatching",
          "description": "Indicates whether the permission in the request is listed as an exception permission in the deny rule."
        },
        "exceptionPrincipals": {
          "additionalProperties": {
            "$ref": "#/$defs/GoogleCloudPolicytroubleshooterIamV3DenyRuleExplanationAnnotatedDenyPrincipalMatching"
          },
          "description": "Lists all exception principals in the deny rule and indicates whether each principal matches the principal in the request, either directly or through membership in a principal set. Each key identifies a exception principal in the rule, and each value indicates whether the exception principal matches the principal in the request.",
          "type": "object"
        },
        "exceptionPermissions": {
          "description": "Lists all exception permissions in the deny rule and indicates whether each permission matches the permission in the request. Each key identifies a exception permission in the rule, and each value indicates whether the exception permission matches the permission in the request.",
          "additionalProperties": {
            "$ref": "#/$defs/GoogleCloudPolicytroubleshooterIamV3DenyRuleExplanationAnnotatedPermissionMatching"
          },
          "type": "object"
        },
        "combinedDeniedPermission": {
          "$ref": "#/$defs/GoogleCloudPolicytroubleshooterIamV3DenyRuleExplanationAnnotatedPermissionMatching",
          "description": "Indicates whether the permission in the request is listed as a denied permission in the deny rule."
        },
        "condition": {
          "$ref": "#/$defs/GoogleTypeExpr",
          "description": "A condition expression that specifies when the deny rule denies the principal access. To learn about IAM Conditions, see https://cloud.google.com/iam/help/conditions/overview."
        },
        "deniedPrincipals": {
          "additionalProperties": {
            "$ref": "#/$defs/GoogleCloudPolicytroubleshooterIamV3DenyRuleExplanationAnnotatedDenyPrincipalMatching"
          },
          "type": "object",
          "description": "Lists all denied principals in the deny rule and indicates whether each principal matches the principal in the request, either directly or through membership in a principal set. Each key identifies a denied principal in the rule, and each value indicates whether the denied principal matches the principal in the request."
        },
        "conditionExplanation": {
          "$ref": "#/$defs/GoogleCloudPolicytroubleshooterIamV3ConditionExplanation",
          "description": "Condition evaluation state for this role binding."
        }
      },
      "type": "object"
    },
    "GoogleCloudPolicytroubleshooterIamV3DenyRuleExplanationAnnotatedDenyPrincipalMatching": {
      "type": "object",
      "description": "Details about whether the principal in the request is listed as a denied principal in the deny rule, either directly or through membership in a principal set.",
      "properties": {
        "relevance": {
          "description": "The relevance of the principal's status to the overall determination for the role binding.",
          "type": "string",
          "enum": [
            "HEURISTIC_RELEVANCE_UNSPECIFIED",
            "HEURISTIC_RELEVANCE_NORMAL",
            "HEURISTIC_RELEVANCE_HIGH"
          ]
        },
        "membership": {
          "enum": [
            "MEMBERSHIP_MATCHING_STATE_UNSPECIFIED",
            "MEMBERSHIP_MATCHED",
            "MEMBERSHIP_NOT_MATCHED",
            "MEMBERSHIP_UNKNOWN_INFO",
            "MEMBERSHIP_UNKNOWN_UNSUPPORTED"
          ],
          "type": "string",
          "description": "Indicates whether the principal is listed as a denied principal in the deny rule, either directly or through membership in a principal set."
        }
      }
    },
    "GoogleCloudPolicytroubleshooterIamV3DenyRuleExplanationAnnotatedPermissionMatching": {
      "description": "Details about whether the permission in the request is denied by the deny rule.",
      "type": "object",
      "properties": {
        "permissionMatchingState": {
          "type": "string",
          "enum": [
            "PERMISSION_PATTERN_MATCHING_STATE_UNSPECIFIED",
            "PERMISSION_PATTERN_MATCHED",
            "PERMISSION_PATTERN_NOT_MATCHED"
          ],
          "description": "Indicates whether the permission in the request is denied by the deny rule."
        },
        "relevance": {
          "enum": [
            "HEURISTIC_RELEVANCE_UNSPECIFIED",
            "HEURISTIC_RELEVANCE_NORMAL",
            "HEURISTIC_RELEVANCE_HIGH"
          ],
          "type": "string",
          "description": "The relevance of the permission status to the overall determination for the rule."
        }
      }
    },
    "GoogleCloudPolicytroubleshooterIamV3ExplainedAllowPolicy": {
      "description": "Details about how a specific IAM allow policy contributed to the final access state.",
      "type": "object",
      "properties": {
        "allowAccessState": {
          "enum": [
            "ALLOW_ACCESS_STATE_UNSPECIFIED",
            "ALLOW_ACCESS_STATE_GRANTED",
            "ALLOW_ACCESS_STATE_NOT_GRANTED",
            "ALLOW_ACCESS_STATE_UNKNOWN_CONDITIONAL",
            "ALLOW_ACCESS_STATE_UNKNOWN_INFO"
          ],
          "type": "string",
          "description": "Required. Indicates whether _this policy_ 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 policy that overrides this policy. To determine whether the principal actually has the permission, use the `overall_access_state` field in the TroubleshootIamPolicyResponse."
        },
        "relevance": {
          "enum": [
            "HEURISTIC_RELEVANCE_UNSPECIFIED",
            "HEURISTIC_RELEVANCE_NORMAL",
            "HEURISTIC_RELEVANCE_HIGH"
          ],
          "description": "The relevance of this policy to the overall access state in the TroubleshootIamPolicyResponse. If the sender of the request does not have access to the policy, this field is omitted.",
          "type": "string"
        },
        "policy": {
          "$ref": "#/$defs/GoogleIamV1Policy",
          "description": "The IAM allow policy attached to the resource. If the sender of the request does not have access to the policy, this field is empty."
        },
        "fullResourceName": {
          "description": "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.",
          "type": "string"
        },
        "bindingExplanations": {
          "type": "array",
          "description": "Details about how each role binding in the policy affects the principal's ability, or inability, to use the permission for the resource. The order of the role bindings matches the role binding order in the policy. If the sender of the request does not have access to the policy, this field is omitted.",
          "items": {
            "$ref": "#/$defs/GoogleCloudPolicytroubleshooterIamV3AllowBindingExplanation"
          }
        }
      }
    },
    "GoogleCloudPolicytroubleshooterIamV3ExplainedDenyPolicy": {
      "description": "Details about how a specific IAM deny policy Policy contributed to the access check.",
      "properties": {
        "ruleExplanations": {
          "items": {
            "$ref": "#/$defs/GoogleCloudPolicytroubleshooterIamV3DenyRuleExplanation"
          },
          "type": "array",
          "description": "Details about how each rule in the policy affects the principal's inability to use the permission for the resource. The order of the deny rule matches the order of the rules in the deny policy. If the sender of the request does not have access to the policy, this field is omitted."
        },
        "relevance": {
          "enum": [
            "HEURISTIC_RELEVANCE_UNSPECIFIED",
            "HEURISTIC_RELEVANCE_NORMAL",
            "HEURISTIC_RELEVANCE_HIGH"
          ],
          "description": "The relevance of this policy to the overall access state in the TroubleshootIamPolicyResponse. If the sender of the request does not have access to the policy, this field is omitted.",
          "type": "string"
        },
        "policy": {
          "$ref": "#/$defs/GoogleIamV2Policy",
          "description": "The IAM deny policy attached to the resource. If the sender of the request does not have access to the policy, this field is omitted."
        },
        "denyAccessState": {
          "enum": [
            "DENY_ACCESS_STATE_UNSPECIFIED",
            "DENY_ACCESS_STATE_DENIED",
            "DENY_ACCESS_STATE_NOT_DENIED",
  

# --- truncated at 32 KB (61 KB total) ---
# Full source: https://artifacts.apis.io/google-cloud-iam/json-schema/google-cloud-iam-google-cloud-policytroubleshooter-iam-v3-troubleshoot-iam-policy-response-schema.json

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/google-cloud-iam-google-cloud-policytroubleshooter-iam-v3-troubleshoot-iam-policy-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.