public sealed class 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
IMessage<IamPolicySearchResult.Types.Explanation>, IEquatable<IamPolicySearchResult.Types.Explanation>, IDeepCloneable<IamPolicySearchResult.Types.Explanation>, IBufferMessage, IMessageNamespace
Google.Cloud.Asset.V1Assembly
Google.Cloud.Asset.V1.dll
Constructors
Explanation()
public Explanation()
Explanation(IamPolicySearchResult.Types.Explanation)
public Explanation(IamPolicySearchResult.Types.Explanation other)
Parameter | |
---|---|
Name | Description |
other | IamPolicySearchResult.Types.Explanation |
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 |
MapField<String, IamPolicySearchResult.Types.Explanation.Types.Permissions> |