Reference documentation and code samples for the Cloud Dataproc V1beta2 API class Google::Cloud::Dataproc::V1beta2::ClusterSelector.
A selector that chooses target cluster for jobs based on metadata.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#cluster_labels
def cluster_labels() -> ::Google::Protobuf::Map{::String => ::String}
- (::Google::Protobuf::Map{::String => ::String}) — Required. The cluster labels. Cluster must have all labels to match.
#cluster_labels=
def cluster_labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
- value (::Google::Protobuf::Map{::String => ::String}) — Required. The cluster labels. Cluster must have all labels to match.
- (::Google::Protobuf::Map{::String => ::String}) — Required. The cluster labels. Cluster must have all labels to match.
#zone
def zone() -> ::String
-
(::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.
#zone=
def zone=(value) -> ::String
-
value (::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.
-
(::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.