Class: Google::Cloud::Dataproc::V1beta2::ClusterSelector
- Inherits:
-
Object
- Object
- Google::Cloud::Dataproc::V1beta2::ClusterSelector
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dataproc/v1beta2/workflow_templates.rb
Overview
A selector that chooses target cluster for jobs based on metadata.
Defined Under Namespace
Classes: ClusterLabelsEntry
Instance Attribute Summary collapse
-
#cluster_labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Required.
-
#zone ⇒ ::String
Optional.
Instance Attribute Details
#cluster_labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns Required. The cluster labels. Cluster must have all labels to match.
180 181 182 183 184 185 186 187 188 189 190 191 192 |
# File 'proto_docs/google/cloud/dataproc/v1beta2/workflow_templates.rb', line 180 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.
180 181 182 183 184 185 186 187 188 189 190 191 192 |
# File 'proto_docs/google/cloud/dataproc/v1beta2/workflow_templates.rb', line 180 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 |