Cloud Dataproc V1 API - Class Google::Cloud::Dataproc::V1::WorkflowTemplatePlacement (v1.7.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

defcluster_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=

defcluster_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

defmanaged_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=

defmanaged_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.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.