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-03-21 UTC."],[[["This webpage provides documentation for the `IamPolicySearchResult.Types.Explanation` class within the Google Cloud Asset Inventory v1 API."],["The `IamPolicySearchResult.Types.Explanation` class is used to explain the details of an IAM policy search result and implements several interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The latest available version of the API is 3.12.0, while this page specifically documents version 3.11.0, and older versions of the API, ranging from 3.10.0 down to 2.7.0, are also accessible through the provided links."],["The `MatchedPermissions` property is a map that links roles to the specific permissions they grant, particularly relevant when the search query includes `policy.role.permissions`."],["The `Explanation` class has two constructors: one default constructor with no parameters and one that takes another `IamPolicySearchResult.Types.Explanation` as a parameter, this is used to duplicate the object."]]],[]]