IAM policy analysis query message. .. attribute:: parent
Required. The relative name of the root asset. Only resources and IAM policies within the parent will be analyzed. This can only be an organization number (such as “organizations/123”) or a folder number (such as “folders/123”).
Optional. Specifies an identity for analysis. Leaving it empty means ANY.
Classes
AccessSelector
Specifies roles and/or permissions to analyze, to determine both the identities possessing them and the resources they control. If multiple values are specified, results will include identities and resources matching any of them. .. attribute:: roles
Optional. The roles to appear in result.
IdentitySelector
Specifies an identity for which to determine resource access, based on roles assigned either directly to them or to the groups they belong to, directly or indirectly. .. attribute:: identity
Required. The identity appear in the form of members in IAM
policy binding
<https://cloud.google.com/iam/reference/rest/v1/Binding>
__.
ResourceSelector
Specifies the resource to analyze for access policies, which may be set directly on the resource, or on ancestors such as organizations, folders or projects. At least one of [ResourceSelector][google.cloud.a sset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector], [IdentitySele ctor][google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySele ctor] or [AccessSelector][google.cloud.asset.v1p4beta1.IamPolicyAnalys isQuery.AccessSelector] must be specified in a request. .. attribute:: full_resource_name
Required. The full resource name <https://cloud.google.com/ap
is/design/resource_names#full_resource_name>
__ .