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
IMessage<IamPolicyAnalysisQuery>, IEquatable<IamPolicyAnalysisQuery>, IDeepCloneable<IamPolicyAnalysisQuery>, 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 |
IamPolicyAnalysisQuery.Types.AccessSelector |
ConditionContext
public IamPolicyAnalysisQuery.Types.ConditionContext ConditionContext { get; set; }
Optional. The hypothetical context for IAM conditions evaluation.
Property Value | |
---|---|
Type | Description |
IamPolicyAnalysisQuery.Types.ConditionContext |
IdentitySelector
public IamPolicyAnalysisQuery.Types.IdentitySelector IdentitySelector { get; set; }
Optional. Specifies an identity for analysis.
Property Value | |
---|---|
Type | Description |
IamPolicyAnalysisQuery.Types.IdentitySelector |
Options
public IamPolicyAnalysisQuery.Types.Options Options { get; set; }
Optional. The query options.
Property Value | |
---|---|
Type | Description |
IamPolicyAnalysisQuery.Types.Options |
ResourceSelector
public IamPolicyAnalysisQuery.Types.ResourceSelector ResourceSelector { get; set; }
Optional. Specifies a resource for analysis.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
String |