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 latest version available for the Policy Troubleshooter v1 API is 2.5.0, but this documentation is for version 2.4.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTroubleshootIamPolicyResponse\u003c/code\u003e is a class that provides the response for the \u003ccode\u003eTroubleshootIamPolicy\u003c/code\u003e method in the Policy Troubleshooter v1 API, which is used to check IAM permissions.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces, offering functionalities such as equality comparison and deep cloning.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTroubleshootIamPolicyResponse\u003c/code\u003e class includes properties like \u003ccode\u003eAccess\u003c/code\u003e, \u003ccode\u003eErrors\u003c/code\u003e, and \u003ccode\u003eExplainedPolicies\u003c/code\u003e to detail the outcome of the permission check, listing any errors, and identifying policies that contributed to the final result.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTroubleshootIamPolicyResponse\u003c/code\u003e class includes a constructor that allows for copying an existing instance, facilitating the creation of new response objects based on previous ones.\u003c/p\u003e\n"]]],[],null,[]]