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

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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Compute.V1.Model.SchedulingNodeAffinity{
  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.