Policy Troubleshooter v1 API - Class TroubleshootIamPolicyResponse (2.5.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
Name Description
other TroubleshootIamPolicyResponse

Properties

Access

public AccessState Access { get; set; }

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

Property Value
Type Description
AccessState

Errors

public RepeatedField<Status> Errors { get; }

The general errors contained in the troubleshooting response.

Property Value
Type Description
RepeatedFieldStatus

ExplainedPolicies

public RepeatedField<ExplainedPolicy> ExplainedPolicies { get; }

List of IAM policies that were evaluated to check the principal'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
Type Description
RepeatedFieldExplainedPolicy