IamPolicyAnalysisQueryResponse

data class IamPolicyAnalysisQueryResponse(val accessSelector: AccessSelectorResponse, val conditionContext: ConditionContextResponse, val identitySelector: IdentitySelectorResponse, val options: OptionsResponse, val resourceSelector: ResourceSelectorResponse, val scope: String)

IAM policy analysis query message.

Constructors

Link copied to clipboard
fun IamPolicyAnalysisQueryResponse(accessSelector: AccessSelectorResponse, conditionContext: ConditionContextResponse, identitySelector: IdentitySelectorResponse, options: OptionsResponse, resourceSelector: ResourceSelectorResponse, scope: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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

Link copied to clipboard

Optional. The hypothetical context for IAM conditions evaluation.

Link copied to clipboard

Optional. Specifies an identity for analysis.

Link copied to clipboard

Optional. The query options.

Link copied to clipboard

Optional. Specifies a resource for analysis.

Link copied to clipboard

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 .