View Source GoogleApi.Dataproc.V1.Model.WorkflowTemplatePlacement (google_api_dataproc v0.54.0)

Specifies workflow execution target.Either managed_cluster or cluster_selector is required.

Attributes

  • clusterSelector (type: GoogleApi.Dataproc.V1.Model.ClusterSelector.t, default: nil) - Optional. A selector that chooses target cluster for jobs based on metadata.The selector is evaluated at the time each job is submitted.
  • managedCluster (type: GoogleApi.Dataproc.V1.Model.ManagedCluster.t, default: nil) - A cluster that is managed by the workflow.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Dataproc.V1.Model.WorkflowTemplatePlacement{
  clusterSelector: GoogleApi.Dataproc.V1.Model.ClusterSelector.t() | nil,
  managedCluster: GoogleApi.Dataproc.V1.Model.ManagedCluster.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.