Class IamPolicyAnalysisQuery (2.9.0)

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

IAM policy analysis query message.

Inheritance

Object > IamPolicyAnalysisQuery

Namespace

Google.Cloud.Asset.V1

Assembly

Google.Cloud.Asset.V1.dll

Constructors

IamPolicyAnalysisQuery()

public IamPolicyAnalysisQuery()

IamPolicyAnalysisQuery(IamPolicyAnalysisQuery)

public IamPolicyAnalysisQuery(IamPolicyAnalysisQuery other)
Parameter
NameDescription
otherIamPolicyAnalysisQuery

Properties

AccessSelector

public IamPolicyAnalysisQuery.Types.AccessSelector AccessSelector { get; set; }

Optional. Specifies roles or permissions for analysis. This is optional.

Property Value
TypeDescription
IamPolicyAnalysisQuery.Types.AccessSelector

ConditionContext

public IamPolicyAnalysisQuery.Types.ConditionContext ConditionContext { get; set; }

Optional. The hypothetical context for IAM conditions evaluation.

Property Value
TypeDescription
IamPolicyAnalysisQuery.Types.ConditionContext

IdentitySelector

public IamPolicyAnalysisQuery.Types.IdentitySelector IdentitySelector { get; set; }

Optional. Specifies an identity for analysis.

Property Value
TypeDescription
IamPolicyAnalysisQuery.Types.IdentitySelector

Options

public IamPolicyAnalysisQuery.Types.Options Options { get; set; }

Optional. The query options.

Property Value
TypeDescription
IamPolicyAnalysisQuery.Types.Options

ResourceSelector

public IamPolicyAnalysisQuery.Types.ResourceSelector ResourceSelector { get; set; }

Optional. Specifies a resource for analysis.

Property Value
TypeDescription
IamPolicyAnalysisQuery.Types.ResourceSelector

Scope

public string Scope { get; set; }

Required. The relative name of the root asset. Only resources and IAM policies within the scope will be analyzed.

This can only be an organization number (such as "organizations/123"), a folder number (such as "folders/123"), a project ID (such as "projects/my-project-id"), or a project number (such as "projects/12345").

To know how to get organization id, visit here .

To know how to get folder or project id, visit here .

Property Value
TypeDescription
String