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.



218
219
220
221
222
223
224
225
226
227
228
229
230
# File 'proto_docs/google/cloud/dataproc/v1/workflow_templates.rb', line 218

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.



218
219
220
221
222
223
224
225
226
227
228
229
230
# File 'proto_docs/google/cloud/dataproc/v1/workflow_templates.rb', line 218

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