Policy Troubleshooter v1 API - Class TroubleshootIamPolicyResponse (2.1.0)

public sealed class TroubleshootIamPolicyResponse : IMessage<TroubleshootIamPolicyResponse>, IEquatable<TroubleshootIamPolicyResponse>, IDeepCloneable<TroubleshootIamPolicyResponse>, IBufferMessage, IMessage

Reference documentation and code samples for the Policy Troubleshooter v1 API class TroubleshootIamPolicyResponse.

Response for [TroubleshootIamPolicy][google.cloud.policytroubleshooter.v1.IamChecker.TroubleshootIamPolicy].

Inheritance

Object > TroubleshootIamPolicyResponse

Namespace

Google.Cloud.PolicyTroubleshooter.V1

Assembly

Google.Cloud.PolicyTroubleshooter.V1.dll

Constructors

TroubleshootIamPolicyResponse()

public TroubleshootIamPolicyResponse()

TroubleshootIamPolicyResponse(TroubleshootIamPolicyResponse)

public TroubleshootIamPolicyResponse(TroubleshootIamPolicyResponse other)
Parameter
NameDescription
otherTroubleshootIamPolicyResponse

Properties

Access

public AccessState Access { get; set; }

Indicates whether the member has the specified permission for the specified resource, based on evaluating all of the applicable IAM policies.

Property Value
TypeDescription
AccessState

ExplainedPolicies

public RepeatedField<ExplainedPolicy> ExplainedPolicies { get; }

List of IAM policies that were evaluated to check the member's permissions, with annotations to indicate how each policy contributed to the final result.

The list of policies can include the policy for the resource itself. It can also include policies that are inherited from higher levels of the resource hierarchy, including the organization, the folder, and the project.

To learn more about the resource hierarchy, see https://cloud.google.com/iam/help/resource-hierarchy.

Property Value
TypeDescription
RepeatedField<ExplainedPolicy>