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

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/dataproc/v1/doc/google/cloud/dataproc/v1/workflow_templates.rb

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#cluster_labelsHash{String => String}

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

Returns:

  • (Hash{String => String})

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



131
# File 'lib/google/cloud/dataproc/v1/doc/google/cloud/dataproc/v1/workflow_templates.rb', line 131

class ClusterSelector; end

#zoneString

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.



131
# File 'lib/google/cloud/dataproc/v1/doc/google/cloud/dataproc/v1/workflow_templates.rb', line 131

class ClusterSelector; end