IamPolicyAnalysisQueryResponse constructor
- required Input<
AccessSelectorResponse> accessSelector, - required Input<
ConditionContextResponse> conditionContext, - required Input<
IdentitySelectorResponse> identitySelector, - required Input<
OptionsResponse> options, - required Input<
ResourceSelectorResponse> resourceSelector, - required Input<
String> scope,
Creates a new IamPolicyAnalysisQueryResponse.
accessSelector Optional. Specifies roles or permissions for analysis. This is optional.
conditionContext Optional. The hypothetical context for IAM conditions evaluation.
identitySelector Optional. Specifies an identity for analysis.
options Optional. The query options.
resourceSelector Optional. Specifies a resource for analysis.
scope 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 .
Implementation
const IamPolicyAnalysisQueryResponse({
required this.accessSelector,
required this.conditionContext,
required this.identitySelector,
required this.options,
required this.resourceSelector,
required this.scope,
});