GoogleApi.Compute.V1.Model.Rule (google_api_compute v0.37.0) View Source

A rule to be applied in a Policy.

Attributes

  • action (type: String.t, default: nil) - Required
  • conditions (type: list(GoogleApi.Compute.V1.Model.Condition.t), default: nil) - Additional restrictions that must be met. All conditions must pass for the rule to match.
  • description (type: String.t, default: nil) - Human-readable description of the rule.
  • ins (type: list(String.t), default: nil) - If one or more 'in' clauses are specified, the rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries.
  • logConfigs (type: list(GoogleApi.Compute.V1.Model.LogConfig.t), default: nil) - The config returned to callers of tech.iam.IAM.CheckPolicy for any entries that match the LOG action.
  • notIns (type: list(String.t), default: nil) - If one or more 'not_in' clauses are specified, the rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries.
  • permissions (type: list(String.t), default: nil) - A permission is a string of form '..' (e.g., 'storage.buckets.list'). A value of '' matches all permissions, and a verb part of '' (e.g., 'storage.buckets.*') matches all verbs.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Compute.V1.Model.Rule{
  action: String.t() | nil,
  conditions: [GoogleApi.Compute.V1.Model.Condition.t()] | nil,
  description: String.t() | nil,
  ins: [String.t()] | nil,
  logConfigs: [GoogleApi.Compute.V1.Model.LogConfig.t()] | nil,
  notIns: [String.t()] | nil,
  permissions: [String.t()] | nil
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.