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.
Implements
IMessageLaunchFlexTemplateParameter, IEquatableLaunchFlexTemplateParameter, IDeepCloneableLaunchFlexTemplateParameter, IBufferMessage, IMessageNamespace
Google.Cloud.Dataflow.V1Beta3Assembly
Google.Cloud.Dataflow.V1Beta3.dll
Constructors
LaunchFlexTemplateParameter()
public LaunchFlexTemplateParameter()
LaunchFlexTemplateParameter(LaunchFlexTemplateParameter)
public LaunchFlexTemplateParameter(LaunchFlexTemplateParameter other)
Parameter | |
---|---|
Name | Description |
other |
LaunchFlexTemplateParameter |
Properties
ContainerSpec
public ContainerSpec ContainerSpec { get; set; }
Spec about the container image to launch.
Property Value | |
---|---|
Type | Description |
ContainerSpec |
ContainerSpecGcsPath
public string ContainerSpecGcsPath { get; set; }
Cloud Storage path to a file with json serialized ContainerSpec as content.
Property Value | |
---|---|
Type | Description |
string |
Environment
public FlexTemplateRuntimeEnvironment Environment { get; set; }
The runtime environment for the FlexTemplate job
Property Value | |
---|---|
Type | Description |
FlexTemplateRuntimeEnvironment |
HasContainerSpecGcsPath
public bool HasContainerSpecGcsPath { get; }
Gets whether the "container_spec_gcs_path" field is set
Property Value | |
---|---|
Type | Description |
bool |
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 |
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 |
MapFieldstringstring |
Parameters
public MapField<string, string> Parameters { get; }
The parameters for FlexTemplate. Ex. {"num_workers":"5"}
Property Value | |
---|---|
Type | Description |
MapFieldstringstring |
TemplateCase
public LaunchFlexTemplateParameter.TemplateOneofCase TemplateCase { get; }
Property Value | |
---|---|
Type | Description |
LaunchFlexTemplateParameterTemplateOneofCase |
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 |
MapFieldstringstring |
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 |
bool |