Class: Google::Apis::DataflowV1b3::CreateJobFromTemplateRequest

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

Request to create a Dataflow job.

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) ⇒ CreateJobFromTemplateRequest

Returns a new instance of CreateJobFromTemplateRequest.


1151
1152
1153
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1151

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

Instance Attribute Details

#gcs_pathString

A path to the serialized JSON representation of the job. Corresponds to the JSON property gcsPath

Returns:

  • (String)

1144
1145
1146
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1144

def gcs_path
  @gcs_path
end

#parametersHash<String,String>

Dynamic parameterization of the job's runtime environment. Corresponds to the JSON property parameters

Returns:

  • (Hash<String,String>)

1149
1150
1151
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1149

def parameters
  @parameters
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


1156
1157
1158
1159
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1156

def update!(**args)
  @gcs_path = args[:gcs_path] if args.key?(:gcs_path)
  @parameters = args[:parameters] if args.key?(:parameters)
end