GoogleApi.Compute.V1.Model.SchedulingNodeAffinity (google_api_compute v0.41.0) View Source

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

Attributes

  • key (type: String.t, default: nil) - Corresponds to the label key of Node resource.
  • operator (type: String.t, default: nil) - Defines the operation of node selection. Valid operators are IN for affinity and NOT_IN for anti-affinity.
  • values (type: list(String.t), default: nil) - Corresponds to the label values of Node resource.

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.SchedulingNodeAffinity{
  key: String.t() | nil,
  operator: String.t() | nil,
  values: [String.t()] | nil
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.