Cloud Dataproc V1 API - Class Google::Cloud::Dataproc::V1::ClusterSelector (v1.0.0)

Reference documentation and code samples for the Cloud Dataproc V1 API class Google::Cloud::Dataproc::V1::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}
Returns
  • (::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}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — 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.

#zone

def zone() -> ::String
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.

#zone=

def zone=(value) -> ::String
Parameter
  • 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.

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.