# Cloud Dataproc V1beta2 API - Class Google::Cloud::Dataproc::V1beta2::UpdateWorkflowTemplateRequest (v0.6.3)

Reference documentation and code samples for the Cloud Dataproc V1beta2 API class Google::Cloud::Dataproc::V1beta2::UpdateWorkflowTemplateRequest.

A request to update a workflow template.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #template

    def template() -> ::Google::Cloud::Dataproc::V1beta2::WorkflowTemplate

**Returns**

- ([::Google::Cloud::Dataproc::V1beta2::WorkflowTemplate](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataproc-v1beta2/latest/Google-Cloud-Dataproc-V1beta2-WorkflowTemplate)) --- Required. The updated workflow template.


  The `template.version` field must match the current version.

### #template=

    def template=(value) -> ::Google::Cloud::Dataproc::V1beta2::WorkflowTemplate

**Parameter**

- **value** ([::Google::Cloud::Dataproc::V1beta2::WorkflowTemplate](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataproc-v1beta2/latest/Google-Cloud-Dataproc-V1beta2-WorkflowTemplate)) --- Required. The updated workflow template.


  The `template.version` field must match the current version.
**Returns**

- ([::Google::Cloud::Dataproc::V1beta2::WorkflowTemplate](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataproc-v1beta2/latest/Google-Cloud-Dataproc-V1beta2-WorkflowTemplate)) --- Required. The updated workflow template.


  The `template.version` field must match the current version.