class Google::Apis::DataflowV1b3::CreateJobFromTemplateRequest

A request to create a Cloud Dataflow job from a template.

Attributes

environment[RW]

The environment values to set at runtime. Corresponds to the JSON property `environment` @return [Google::Apis::DataflowV1b3::RuntimeEnvironment]

gcs_path[RW]

Required. A Cloud Storage path to the template from which to create the job. Must be a valid Cloud Storage URL, beginning with `gs://`. Corresponds to the JSON property `gcsPath` @return [String]

job_name[RW]

Required. The job name to use for the created job. Corresponds to the JSON property `jobName` @return [String]

location[RW]

The [regional endpoint] (cloud.google.com/dataflow/docs/concepts/ regional-endpoints) to which to direct the request. Corresponds to the JSON property `location` @return [String]

parameters[RW]

The runtime parameters to pass to the job. Corresponds to the JSON property `parameters` @return [Hash<String,String>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dataflow_v1b3/classes.rb, line 778
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 783
def update!(**args)
  @environment = args[:environment] if args.key?(:environment)
  @gcs_path = args[:gcs_path] if args.key?(:gcs_path)
  @job_name = args[:job_name] if args.key?(:job_name)
  @location = args[:location] if args.key?(:location)
  @parameters = args[:parameters] if args.key?(:parameters)
end