Class IamPolicySearchResult.Types.Explanation (2.10.0)

public sealed class Explanation : IMessage<IamPolicySearchResult.Types.Explanation>, IEquatable<IamPolicySearchResult.Types.Explanation>, IDeepCloneable<IamPolicySearchResult.Types.Explanation>, IBufferMessage, IMessage

Explanation about the IAM policy search result.

Inheritance

Object > IamPolicySearchResult.Types.Explanation

Namespace

Google.Cloud.Asset.V1

Assembly

Google.Cloud.Asset.V1.dll

Constructors

Explanation()

public Explanation()

Explanation(IamPolicySearchResult.Types.Explanation)

public Explanation(IamPolicySearchResult.Types.Explanation other)
Parameter
NameDescription
otherIamPolicySearchResult.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 {&quot;roles/owner&quot;: [&quot;compute.disk.get&quot;]}. 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
TypeDescription
MapField<String, IamPolicySearchResult.Types.Explanation.Types.Permissions>