public sealed class IamPolicySearchResult.Types.Explanation : IMessage<IamPolicySearchResult.Types.Explanation>, IEquatable<IamPolicySearchResult.Types.Explanation>, IDeepCloneable<IamPolicySearchResult.Types.Explanation>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Asset Inventory v1 API class IamPolicySearchResult.Types.Explanation.
public MapField<string, IamPolicySearchResult.Types.Explanation.Types.Permissions> MatchedPermissions { get; }
The map from roles to their included permissions that match the
permission query (i.e., a query containing policy.role.permissions:).
Example: if query policy.role.permissions:compute.disk.get
matches a policy binding that contains owner role, the
matched_permissions will be {"roles/owner": ["compute.disk.get"]}. The
roles can also be found in the returned policy bindings. Note that the
map is populated only for requests with permission queries.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe document provides reference documentation for the \u003ccode\u003eIamPolicySearchResult.Types.Explanation\u003c/code\u003e class within the Google Cloud Asset Inventory v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class is used to provide explanations about the IAM policy search results, implementing various interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is 3.12.0, and it also includes the versions of the documentation available from 2.7.0 up until 3.12.0.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors, a default one and another that takes an \u003ccode\u003eIamPolicySearchResult.Types.Explanation\u003c/code\u003e instance as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMatchedPermissions\u003c/code\u003e property is a \u003ccode\u003eMapField\u003c/code\u003e that shows the matching permissions for a given role when a permission query is performed.\u003c/p\u003e\n"]]],[],null,[]]