Google Cloud Dataproc V1 Client - Class UpdateWorkflowTemplateRequest (3.10.1)

Reference documentation and code samples for the Google Cloud Dataproc V1 Client class UpdateWorkflowTemplateRequest.

A request to update a workflow template.

Generated from protobuf message google.cloud.dataproc.v1.UpdateWorkflowTemplateRequest

Namespace

Google \ Cloud \ Dataproc \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ template Google\Cloud\Dataproc\V1\WorkflowTemplate

Required. The updated workflow template. The template.version field must match the current version.

getTemplate

Required. The updated workflow template.

The template.version field must match the current version.

Returns
TypeDescription
Google\Cloud\Dataproc\V1\WorkflowTemplate|null

hasTemplate

clearTemplate

setTemplate

Required. The updated workflow template.

The template.version field must match the current version.

Parameter
NameDescription
var Google\Cloud\Dataproc\V1\WorkflowTemplate
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
template Google\Cloud\Dataproc\V1\WorkflowTemplate

Required. The updated workflow template.

The template.version field must match the current version.

Returns
TypeDescription
Google\Cloud\Dataproc\V1\UpdateWorkflowTemplateRequest