View Source GoogleApi.BackupDR.V1.Model.NodeAffinity (google_api_backup_dr v0.13.0)

Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled.

Attributes

  • key (type: String.t, default: nil) - Optional. Corresponds to the label key of Node resource.
  • operator (type: String.t, default: nil) - Optional. Defines the operation of node selection.
  • values (type: list(String.t), default: nil) - Optional. Corresponds to the label values of Node resource.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.BackupDR.V1.Model.NodeAffinity{
  key: String.t() | nil,
  operator: String.t() | nil,
  values: [String.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.