Class WorkflowTemplatePlacement (5.16.0)

WorkflowTemplatePlacement(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Specifies workflow execution target.

Either managed_cluster or cluster_selector is required.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
managed_cluster google.cloud.dataproc_v1.types.ManagedCluster
A cluster that is managed by the workflow. This field is a member of oneof_ placement.
cluster_selector google.cloud.dataproc_v1.types.ClusterSelector
Optional. A selector that chooses target cluster for jobs based on metadata. The selector is evaluated at the time each job is submitted. This field is a member of oneof_ placement.