Reference documentation and code samples for the Google Cloud Dataproc V1 Client class WorkflowTemplatePlacement.
Specifies workflow execution target.
Either managed_cluster
or cluster_selector
is required.
Generated from protobuf message google.cloud.dataproc.v1.WorkflowTemplatePlacement
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ managed_cluster |
Google\Cloud\Dataproc\V1\ManagedCluster
A cluster that is managed by the workflow. |
↳ cluster_selector |
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. |
getManagedCluster
A cluster that is managed by the workflow.
Generated from protobuf field .google.cloud.dataproc.v1.ManagedCluster managed_cluster = 1;
Returns | |
---|---|
Type | Description |
Google\Cloud\Dataproc\V1\ManagedCluster|null |
hasManagedCluster
setManagedCluster
A cluster that is managed by the workflow.
Generated from protobuf field .google.cloud.dataproc.v1.ManagedCluster managed_cluster = 1;
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Dataproc\V1\ManagedCluster
|
Returns | |
---|---|
Type | Description |
$this |
getClusterSelector
Optional. A selector that chooses target cluster for jobs based on metadata.
The selector is evaluated at the time each job is submitted.
Generated from protobuf field .google.cloud.dataproc.v1.ClusterSelector cluster_selector = 2;
Returns | |
---|---|
Type | Description |
Google\Cloud\Dataproc\V1\ClusterSelector|null |
hasClusterSelector
setClusterSelector
Optional. A selector that chooses target cluster for jobs based on metadata.
The selector is evaluated at the time each job is submitted.
Generated from protobuf field .google.cloud.dataproc.v1.ClusterSelector cluster_selector = 2;
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Dataproc\V1\ClusterSelector
|
Returns | |
---|---|
Type | Description |
$this |
getPlacement
Returns | |
---|---|
Type | Description |
string |