Class: Google::Cloud::Dataproc::V1::InstanceFlexibilityPolicy::InstanceSelection

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dataproc/v1/clusters.rb

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#machine_types::Array<::String>

Returns Optional. Full machine-type names, e.g. "n1-standard-16".

Returns:

  • (::Array<::String>)

    Optional. Full machine-type names, e.g. "n1-standard-16".



676
677
678
679
# File 'proto_docs/google/cloud/dataproc/v1/clusters.rb', line 676

class InstanceSelection
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#rank::Integer

Returns 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.

Returns:

  • (::Integer)

    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.



676
677
678
679
# File 'proto_docs/google/cloud/dataproc/v1/clusters.rb', line 676

class InstanceSelection
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end