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

IAM policy analysis query message.

Attributes

  • 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 .

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type 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
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.