Reference documentation and code samples for the Cloud Dataproc V1beta2 API class Google::Cloud::Dataproc::V1beta2::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::V1beta2::ClusterSelector Returns
- (::Google::Cloud::Dataproc::V1beta2::ClusterSelector) — Optional. A selector that chooses target cluster for jobs based on metadata.
The selector is evaluated at the time each job is submitted.
#cluster_selector=
def cluster_selector=(value) -> ::Google::Cloud::Dataproc::V1beta2::ClusterSelector Parameter
- value (::Google::Cloud::Dataproc::V1beta2::ClusterSelector) — Optional. A selector that chooses target cluster for jobs based on metadata.
The selector is evaluated at the time each job is submitted.
Returns
- (::Google::Cloud::Dataproc::V1beta2::ClusterSelector) — Optional. A selector that chooses target cluster for jobs based on metadata.
The selector is evaluated at the time each job is submitted.
#managed_cluster
def managed_cluster() -> ::Google::Cloud::Dataproc::V1beta2::ManagedCluster Returns
- (::Google::Cloud::Dataproc::V1beta2::ManagedCluster) — Optional. A cluster that is managed by the workflow.
#managed_cluster=
def managed_cluster=(value) -> ::Google::Cloud::Dataproc::V1beta2::ManagedCluster Parameter
- value (::Google::Cloud::Dataproc::V1beta2::ManagedCluster) — Optional. A cluster that is managed by the workflow.
Returns
- (::Google::Cloud::Dataproc::V1beta2::ManagedCluster) — Optional. A cluster that is managed by the workflow.