View Source GoogleApi.Dataproc.V1.Model.InstanceSelection (google_api_dataproc v0.54.0)

Defines machines types and a rank to which the machines types belong.

Attributes

  • machineTypes (type: list(String.t), default: nil) - Optional. Full machine-type names, e.g. "n1-standard-16".
  • rank (type: integer(), default: nil) - Optional. Preference of this instance selection. Lower number means higher preference. Dataproc will first try to create a VM based on the machine-type with priority rank and fallback to next rank based on availability. Machine types and instance selections with the same priority have the same preference.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Dataproc.V1.Model.InstanceSelection{
  machineTypes: [String.t()] | nil,
  rank: integer() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.