GoogleApi.CloudAsset.V1.Model.IamPolicyAnalysisQuery (google_api_cloud_asset v0.23.2) View Source

IAM policy analysis query message.


  • accessSelector (type: GoogleApi.CloudAsset.V1.Model.AccessSelector.t, default: nil) - Optional. Specifies roles or permissions for analysis. This is optional.
  • conditionContext (type: GoogleApi.CloudAsset.V1.Model.ConditionContext.t, default: nil) - Optional. The hypothetical context for IAM conditions evaluation.
  • identitySelector (type: GoogleApi.CloudAsset.V1.Model.IdentitySelector.t, default: nil) - Optional. Specifies an identity for analysis.
  • options (type: GoogleApi.CloudAsset.V1.Model.Options.t, default: nil) - Optional. The query options.
  • resourceSelector (type: GoogleApi.CloudAsset.V1.Model.ResourceSelector.t, default: nil) - Optional. Specifies a resource for analysis.
  • scope (type: String.t, default: nil) - 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 .

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


t() :: %GoogleApi.CloudAsset.V1.Model.IamPolicyAnalysisQuery{
  accessSelector: GoogleApi.CloudAsset.V1.Model.AccessSelector.t() | nil,
  conditionContext: GoogleApi.CloudAsset.V1.Model.ConditionContext.t() | nil,
  identitySelector: GoogleApi.CloudAsset.V1.Model.IdentitySelector.t() | nil,
  options: GoogleApi.CloudAsset.V1.Model.Options.t() | nil,
  resourceSelector: GoogleApi.CloudAsset.V1.Model.ResourceSelector.t() | nil,
  scope: String.t() | nil

Link to this section Functions


decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.