Google Cloud Asset Inventory v1 API - Class IamPolicyAnalysisQuery (3.6.0)

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

Reference documentation and code samples for the Google Cloud Asset Inventory v1 API class IamPolicyAnalysisQuery.

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
IamPolicyAnalysisQueryTypesAccessSelector

ConditionContext

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

Optional. The hypothetical context for IAM conditions evaluation.

Property Value
TypeDescription
IamPolicyAnalysisQueryTypesConditionContext

IdentitySelector

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

Optional. Specifies an identity for analysis.

Property Value
TypeDescription
IamPolicyAnalysisQueryTypesIdentitySelector

Options

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

Optional. The query options.

Property Value
TypeDescription
IamPolicyAnalysisQueryTypesOptions

ResourceSelector

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

Optional. Specifies a resource for analysis.

Property Value
TypeDescription
IamPolicyAnalysisQueryTypesResourceSelector

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