Cloud Dataproc V1 API - Class Google::Cloud::Dataproc::V1::WorkflowTemplatePlacement (v1.2.0)

Reference documentation and code samples for the Cloud Dataproc V1 API class Google::Cloud::Dataproc::V1::WorkflowTemplatePlacement.

Specifies workflow execution target.

Either managed_cluster or cluster_selector is required.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#cluster_selector

def cluster_selector() -> ::Google::Cloud::Dataproc::V1::ClusterSelector
Returns
  • (::Google::Cloud::Dataproc::V1::ClusterSelector) — Optional. A selector that chooses target cluster for jobs based on metadata.

    The selector is evaluated at the time each job is submitted.

    Note: The following fields are mutually exclusive: cluster_selector, managed_cluster. If a field in that set is populated, all other fields in the set will automatically be cleared.

#cluster_selector=

def cluster_selector=(value) -> ::Google::Cloud::Dataproc::V1::ClusterSelector
Parameter
  • value (::Google::Cloud::Dataproc::V1::ClusterSelector) — Optional. A selector that chooses target cluster for jobs based on metadata.

    The selector is evaluated at the time each job is submitted.

    Note: The following fields are mutually exclusive: cluster_selector, managed_cluster. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Dataproc::V1::ClusterSelector) — Optional. A selector that chooses target cluster for jobs based on metadata.

    The selector is evaluated at the time each job is submitted.

    Note: The following fields are mutually exclusive: cluster_selector, managed_cluster. If a field in that set is populated, all other fields in the set will automatically be cleared.

#managed_cluster

def managed_cluster() -> ::Google::Cloud::Dataproc::V1::ManagedCluster
Returns
  • (::Google::Cloud::Dataproc::V1::ManagedCluster) — A cluster that is managed by the workflow.

    Note: The following fields are mutually exclusive: managed_cluster, cluster_selector. If a field in that set is populated, all other fields in the set will automatically be cleared.

#managed_cluster=

def managed_cluster=(value) -> ::Google::Cloud::Dataproc::V1::ManagedCluster
Parameter
  • value (::Google::Cloud::Dataproc::V1::ManagedCluster) — A cluster that is managed by the workflow.

    Note: The following fields are mutually exclusive: managed_cluster, cluster_selector. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Dataproc::V1::ManagedCluster) — A cluster that is managed by the workflow.

    Note: The following fields are mutually exclusive: managed_cluster, cluster_selector. If a field in that set is populated, all other fields in the set will automatically be cleared.