Class: Google::Apis::DataflowV1b3::LaunchFlexTemplateParameter

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dataflow_v1b3/classes.rb,
generated/google/apis/dataflow_v1b3/representations.rb,
generated/google/apis/dataflow_v1b3/representations.rb

Overview

Launch FlexTemplate Parameter.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ LaunchFlexTemplateParameter

Returns a new instance of LaunchFlexTemplateParameter.



2268
2269
2270
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2268

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#container_specGoogle::Apis::DataflowV1b3::ContainerSpec

Container Spec. Corresponds to the JSON property containerSpec



2250
2251
2252
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2250

def container_spec
  @container_spec
end

#container_spec_gcs_pathString

Gcs path to a file with json serialized ContainerSpec as content. Corresponds to the JSON property containerSpecGcsPath

Returns:

  • (String)


2255
2256
2257
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2255

def container_spec_gcs_path
  @container_spec_gcs_path
end

#job_nameString

Required. The job name to use for the created job. Corresponds to the JSON property jobName

Returns:

  • (String)


2260
2261
2262
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2260

def job_name
  @job_name
end

#parametersHash<String,String>

The parameters for FlexTemplate. Ex. "num_workers":"5" Corresponds to the JSON property parameters

Returns:

  • (Hash<String,String>)


2266
2267
2268
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2266

def parameters
  @parameters
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2273
2274
2275
2276
2277
2278
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2273

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)
  @job_name = args[:job_name] if args.key?(:job_name)
  @parameters = args[:parameters] if args.key?(:parameters)
end