Reference documentation and code samples for the Google Cloud Dataflow V1beta3 Client class LaunchFlexTemplateParameter.
Launch FlexTemplate Parameter.
Generated from protobuf message google.dataflow.v1beta3.LaunchFlexTemplateParameter
Namespace
Google \ Cloud \ Dataflow \ V1beta3Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ job_name
string
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
↳ container_spec_gcs_path
string
Cloud Storage path to a file with json serialized ContainerSpec as content.
↳ parameters
↳ launch_options
array| Google\Protobuf\Internal\MapField
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
↳ 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
array| Google\Protobuf\Internal\MapField
Use this to pass transform_name_mappings for streaming update jobs. Ex:{"oldTransformName":"newTransformName",...}'
getJobName
Required. The job name to use for the created job. For update job request, job name should be same as the existing running job.
string
setJobName
Required. The job name to use for the created job. For update job request, job name should be same as the existing running job.
var
string
$this
getContainerSpec
Spec about the container image to launch.
hasContainerSpec
setContainerSpec
Spec about the container image to launch.
$this
getContainerSpecGcsPath
Cloud Storage path to a file with json serialized ContainerSpec as content.
string
hasContainerSpecGcsPath
setContainerSpecGcsPath
Cloud Storage path to a file with json serialized ContainerSpec as content.
var
string
$this
getParameters
The parameters for FlexTemplate.
Ex. {"num_workers":"5"}
setParameters
The parameters for FlexTemplate.
Ex. {"num_workers":"5"}
$this
getLaunchOptions
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.
setLaunchOptions
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.
$this
getEnvironment
The runtime environment for the FlexTemplate job
hasEnvironment
clearEnvironment
setEnvironment
The runtime environment for the FlexTemplate job
$this
getUpdate
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.
bool
setUpdate
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.
var
bool
$this
getTransformNameMappings
Use this to pass transform_name_mappings for streaming update jobs.
Ex:{"oldTransformName":"newTransformName",...}'
setTransformNameMappings
Use this to pass transform_name_mappings for streaming update jobs.
Ex:{"oldTransformName":"newTransformName",...}'
$this
getTemplate
string