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.
Implements
IMessageIamPolicyAnalysisQuery, IEquatableIamPolicyAnalysisQuery, IDeepCloneableIamPolicyAnalysisQuery, IBufferMessage, IMessageNamespace
Google.Cloud.Asset.V1Assembly
Google.Cloud.Asset.V1.dll
Constructors
IamPolicyAnalysisQuery()
public IamPolicyAnalysisQuery()
IamPolicyAnalysisQuery(IamPolicyAnalysisQuery)
public IamPolicyAnalysisQuery(IamPolicyAnalysisQuery other)
Parameter | |
---|---|
Name | Description |
other |
IamPolicyAnalysisQuery |
Properties
AccessSelector
public IamPolicyAnalysisQuery.Types.AccessSelector AccessSelector { get; set; }
Optional. Specifies roles or permissions for analysis. This is optional.
Property Value | |
---|---|
Type | Description |
IamPolicyAnalysisQueryTypesAccessSelector |
ConditionContext
public IamPolicyAnalysisQuery.Types.ConditionContext ConditionContext { get; set; }
Optional. The hypothetical context for IAM conditions evaluation.
Property Value | |
---|---|
Type | Description |
IamPolicyAnalysisQueryTypesConditionContext |
IdentitySelector
public IamPolicyAnalysisQuery.Types.IdentitySelector IdentitySelector { get; set; }
Optional. Specifies an identity for analysis.
Property Value | |
---|---|
Type | Description |
IamPolicyAnalysisQueryTypesIdentitySelector |
Options
public IamPolicyAnalysisQuery.Types.Options Options { get; set; }
Optional. The query options.
Property Value | |
---|---|
Type | Description |
IamPolicyAnalysisQueryTypesOptions |
ResourceSelector
public IamPolicyAnalysisQuery.Types.ResourceSelector ResourceSelector { get; set; }
Optional. Specifies a resource for analysis.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
string |