# Class GetTemplateRequest (0.14.0)

0.14.0 (latest) 0.13.0 0.12.0 0.11.0 0.10.0 0.9.0 0.8.17 0.7.0 0.6.2 0.5.5 0.4.1 0.3.1 0.2.0 0.1.5

    GetTemplateRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A request to retrieve a Cloud Dataflow job template.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `project_id` | `str` Required. The ID of the Cloud Platform project that the job belongs to. |
| `gcs_path` | `str` Required. A Cloud Storage path to the template from which to create the job. Must be valid Cloud Storage URL, beginning with 'gs://'. This field is a member of `oneof`_ `template`. |
| `view` | `https://docs.cloud.google.com/python/docs/reference/dataflow/latest/google.cloud.dataflow_v1beta3.types.GetTemplateRequest.TemplateView` The view to retrieve. Defaults to METADATA_ONLY. |
| `location` | `str` The \[regional endpoint\] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request. |

## Classes

### TemplateView

    TemplateView(value)

The various views of a template that may be retrieved.