# Class LaunchFlexTemplateParameter (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

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

Launch FlexTemplate Parameter.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

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

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `job_name` | `str` Required. The job name to use for the created job. For update job request, job name should be same as the existing running job. |
| `container_spec` | `https://docs.cloud.google.com/python/docs/reference/dataflow/latest/google.cloud.dataflow_v1beta3.types.ContainerSpec` Spec about the container image to launch. This field is a member of `oneof`_ `template`. |
| `container_spec_gcs_path` | `str` Cloud Storage path to a file with json serialized ContainerSpec as content. This field is a member of `oneof`_ `template`. |
| `parameters` | `MutableMapping[str, str]` The parameters for FlexTemplate. Ex. {"num_workers":"5"} |
| `launch_options` | `MutableMapping[str, str]` Launch options for this flex template job. This is a common set of options across languages and templates. This should not be used to pass job parameters. |
| `environment` | `https://docs.cloud.google.com/python/docs/reference/dataflow/latest/google.cloud.dataflow_v1beta3.types.FlexTemplateRuntimeEnvironment` The runtime environment for the FlexTemplate job |
| `update` | `bool` Set this to true if you are sending a request to update a running streaming job. When set, the job name should be the same as the running job. |
| `transform_name_mappings` | `MutableMapping[str, str]` Use this to pass transform_name_mappings for streaming update jobs. Ex:{"oldTransformName":"newTransformName",...}' |

## Classes

### LaunchOptionsEntry

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

The abstract base class for a message.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `kwargs` | `dict` Keys and values corresponding to the fields of the message. |
| `mapping` | ``Union[dict, `.Message`]`` A dictionary or message to be used to determine the values for this message. |
| `ignore_unknown_fields` | `Optional(bool)` If True, do not raise errors for unknown fields. Only applied if `mapping` is a mapping type or there are keyword parameters. |

### ParametersEntry

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

The abstract base class for a message.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `kwargs` | `dict` Keys and values corresponding to the fields of the message. |
| `mapping` | ``Union[dict, `.Message`]`` A dictionary or message to be used to determine the values for this message. |
| `ignore_unknown_fields` | `Optional(bool)` If True, do not raise errors for unknown fields. Only applied if `mapping` is a mapping type or there are keyword parameters. |

### TransformNameMappingsEntry

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

The abstract base class for a message.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `kwargs` | `dict` Keys and values corresponding to the fields of the message. |
| `mapping` | ``Union[dict, `.Message`]`` A dictionary or message to be used to determine the values for this message. |
| `ignore_unknown_fields` | `Optional(bool)` If True, do not raise errors for unknown fields. Only applied if `mapping` is a mapping type or there are keyword parameters. |