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.
Explanation about the IAM policy search result.
Implements
IMessageIamPolicySearchResultTypesExplanation, IEquatableIamPolicySearchResultTypesExplanation, IDeepCloneableIamPolicySearchResultTypesExplanation, IBufferMessage, IMessageNamespace
GoogleCloudGoogle.Cloud.AssetV1Assembly
Google.Cloud.Asset.V1.dll
Constructors
Explanation()
public Explanation()
Explanation(Explanation)
public Explanation(IamPolicySearchResult.Types.Explanation other)
Parameter | |
---|---|
Name | Description |
other | IamPolicySearchResultTypesExplanation |
Properties
MatchedPermissions
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.
Property Value | |
---|---|
Type | Description |
MapFieldstringIamPolicySearchResultTypesExplanationTypesPermissions |