Class: Google::Cloud::Dataproc::V1::ClusterSelector

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

Overview

A selector that chooses target cluster for jobs based on metadata.

Defined Under Namespace

Classes: ClusterLabelsEntry

Instance Attribute Summary collapse

Instance Attribute Details

#cluster_labels::Google::Protobuf::Map{::String => ::String}

Returns Required. The cluster labels. Cluster must have all labels to match.

Returns:

  • (::Google::Protobuf::Map{::String => ::String})

    Required. The cluster labels. Cluster must have all labels to match.



174
175
176
177
178
179
180
181
182
183
184
185
186
# File 'proto_docs/google/cloud/dataproc/v1/workflow_templates.rb', line 174

class ClusterSelector
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ClusterLabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#zone::String

Returns Optional. The zone where workflow process executes. This parameter does not affect the selection of the cluster.

If unspecified, the zone of the first cluster matching the selector is used.

Returns:

  • (::String)

    Optional. The zone where workflow process executes. This parameter does not affect the selection of the cluster.

    If unspecified, the zone of the first cluster matching the selector is used.



174
175
176
177
178
179
180
181
182
183
184
185
186
# File 'proto_docs/google/cloud/dataproc/v1/workflow_templates.rb', line 174

class ClusterSelector
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ClusterLabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end