public sealed class TroubleshootIamPolicyResponse : IMessage<TroubleshootIamPolicyResponse>, IEquatable<TroubleshootIamPolicyResponse>, IDeepCloneable<TroubleshootIamPolicyResponse>, IBufferMessage, IMessage
Reference documentation and code samples for the Policy Troubleshooter v1 API class TroubleshootIamPolicyResponse.
Response for
[TroubleshootIamPolicy][google.cloud.policytroubleshooter.v1.IamChecker.TroubleshootIamPolicy].
public RepeatedField<ExplainedPolicy> ExplainedPolicies { get; }
List of IAM 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 can include the policy for the resource itself. It can
also include policies that are inherited from higher levels of the resource
hierarchy, including the organization, the folder, and the project.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eTroubleshootIamPolicyResponse\u003c/code\u003e class is the response type for the \u003ccode\u003eTroubleshootIamPolicy\u003c/code\u003e API method within the Policy Troubleshooter v1 API, used to evaluate IAM policies.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing functionalities for message handling, equality checks, deep cloning, and buffered message operations.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers properties like \u003ccode\u003eAccess\u003c/code\u003e (to indicate access status), \u003ccode\u003eErrors\u003c/code\u003e (for general errors in the response), and \u003ccode\u003eExplainedPolicies\u003c/code\u003e (for a list of evaluated IAM policies).\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions of the API available, ranging from version 1.1.0 up to the latest version 2.5.0, including documentation links to each version of the \u003ccode\u003eTroubleshootIamPolicyResponse\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes constructors for creating new instances and cloning from existing \u003ccode\u003eTroubleshootIamPolicyResponse\u003c/code\u003e objects, and it inherits members such as \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, and \u003ccode\u003eToString()\u003c/code\u003e from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,[]]