Google Cloud Dataproc V1 Client - Class UpdateWorkflowTemplateRequest (2.0.0-RC1)

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
Name Description
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
Type Description
Google\Cloud\Dataproc\V1\WorkflowTemplate|null

hasTemplate

clearTemplate

setTemplate

Required. The updated workflow template.

The template.version field must match the current version.

Parameter
Name Description
var Google\Cloud\Dataproc\V1\WorkflowTemplate
Returns
Type Description
$this

static::build

Parameter
Name Description
template Google\Cloud\Dataproc\V1\WorkflowTemplate

Required. The updated workflow template.

The template.version field must match the current version.

Returns
Type Description
Google\Cloud\Dataproc\V1\UpdateWorkflowTemplateRequest