class Google::Apis::DataflowV1b3::LaunchFlexTemplateParameter

Launch FlexTemplate Parameter.

Attributes

container_spec[RW]

Container Spec. Corresponds to the JSON property `containerSpec` @return [Google::Apis::DataflowV1b3::ContainerSpec]

container_spec_gcs_path[RW]

Cloud Storage path to a file with json serialized ContainerSpec as content. Corresponds to the JSON property `containerSpecGcsPath` @return [String]

environment[RW]

The environment values to be set at runtime for flex template. Corresponds to the JSON property `environment` @return [Google::Apis::DataflowV1b3::FlexTemplateRuntimeEnvironment]

job_name[RW]

Required. The job name to use for the created job. For update job request, job name should be same as the existing running job. Corresponds to the JSON property `jobName` @return [String]

launch_options[RW]

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. Corresponds to the JSON property `launchOptions` @return [Hash<String,String>]

parameters[RW]

The parameters for FlexTemplate. Ex. `“num_workers”:“5”` Corresponds to the JSON property `parameters` @return [Hash<String,String>]

transform_name_mappings[RW]

Use this to pass transform_name_mappings for streaming update jobs. Ex:`“ oldTransformName”:“newTransformName”,…`' Corresponds to the JSON property `transformNameMappings` @return [Hash<String,String>]

update[RW]

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. Corresponds to the JSON property `update` @return [Boolean]

update?[RW]

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. Corresponds to the JSON property `update` @return [Boolean]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dataflow_v1b3/classes.rb, line 2522
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dataflow_v1b3/classes.rb, line 2527
def update!(**args)
  @container_spec = args[:container_spec] if args.key?(:container_spec)
  @container_spec_gcs_path = args[:container_spec_gcs_path] if args.key?(:container_spec_gcs_path)
  @environment = args[:environment] if args.key?(:environment)
  @job_name = args[:job_name] if args.key?(:job_name)
  @launch_options = args[:launch_options] if args.key?(:launch_options)
  @parameters = args[:parameters] if args.key?(:parameters)
  @transform_name_mappings = args[:transform_name_mappings] if args.key?(:transform_name_mappings)
  @update = args[:update] if args.key?(:update)
end