# Dataflow v1beta3 API - Class LaunchFlexTemplateParameter (2.0.0-beta10)

2.0.0-beta10 (latest) 2.0.0-beta09 1.0.0-beta03

    public sealed class LaunchFlexTemplateParameter : IMessage<LaunchFlexTemplateParameter>, IEquatable<LaunchFlexTemplateParameter>, IDeepCloneable<LaunchFlexTemplateParameter>, IBufferMessage, IMessage

Reference documentation and code samples for the Dataflow v1beta3 API class LaunchFlexTemplateParameter.

Launch FlexTemplate Parameter.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> LaunchFlexTemplateParameter

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[LaunchFlexTemplateParameter](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/latest/Google.Cloud.Dataflow.V1Beta3.LaunchFlexTemplateParameter), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[LaunchFlexTemplateParameter](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/latest/Google.Cloud.Dataflow.V1Beta3.LaunchFlexTemplateParameter), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[LaunchFlexTemplateParameter](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/latest/Google.Cloud.Dataflow.V1Beta3.LaunchFlexTemplateParameter), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Dataflow.V1Beta3](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/latest/Google.Cloud.Dataflow.V1Beta3)

## Assembly

Google.Cloud.Dataflow.V1Beta3.dll

## Constructors

### LaunchFlexTemplateParameter()

    public LaunchFlexTemplateParameter()

### LaunchFlexTemplateParameter(LaunchFlexTemplateParameter)

    public LaunchFlexTemplateParameter(LaunchFlexTemplateParameter other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/latest/Google.Cloud.Dataflow.V1Beta3.LaunchFlexTemplateParameter` |

## Properties

### ContainerSpec

    public ContainerSpec ContainerSpec { get; set; }

Spec about the container image to launch.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/latest/Google.Cloud.Dataflow.V1Beta3.ContainerSpec` |   |

### ContainerSpecGcsPath

    public string ContainerSpecGcsPath { get; set; }

Cloud Storage path to a file with json serialized ContainerSpec as
content.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### Environment

    public FlexTemplateRuntimeEnvironment Environment { get; set; }

The runtime environment for the FlexTemplate job

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/latest/Google.Cloud.Dataflow.V1Beta3.FlexTemplateRuntimeEnvironment` |   |

### HasContainerSpecGcsPath

    public bool HasContainerSpecGcsPath { get; }

Gets whether the "container_spec_gcs_path" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### JobName

    public string JobName { get; set; }

Required. The job name to use for the created job. For update job request,
job name should be same as the existing running job.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### LaunchOptions

    public MapField<string, string> LaunchOptions { get; }

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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.MapField-2.htmlhttps://learn.microsoft.com/dotnet/api/system.stringhttps://learn.microsoft.com/dotnet/api/system.string` |   |

### Parameters

    public MapField<string, string> Parameters { get; }

The parameters for FlexTemplate.
Ex. {"num_workers":"5"}

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.MapField-2.htmlhttps://learn.microsoft.com/dotnet/api/system.stringhttps://learn.microsoft.com/dotnet/api/system.string` |   |

### TemplateCase

    public LaunchFlexTemplateParameter.TemplateOneofCase TemplateCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/latest/Google.Cloud.Dataflow.V1Beta3.LaunchFlexTemplateParameterhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/latest/Google.Cloud.Dataflow.V1Beta3.LaunchFlexTemplateParameter.TemplateOneofCase` |   |

### TransformNameMappings

    public MapField<string, string> TransformNameMappings { get; }

Use this to pass transform_name_mappings for streaming update jobs.
Ex:{"oldTransformName":"newTransformName",...}'

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.MapField-2.htmlhttps://learn.microsoft.com/dotnet/api/system.stringhttps://learn.microsoft.com/dotnet/api/system.string` |   |

### Update

    public bool Update { get; set; }

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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |