class Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1LaunchTemplateRequest

A request to launch a template.

Attributes

gcs_path[RW]

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]

launch_parameters[RW]

Parameters to provide to the template being launched. Corresponds to the JSON property ‘launchParameters` @return [Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1LaunchTemplateParameters]

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]

project_id[RW]

Required. The ID of the Cloud Platform project that the job belongs to. Corresponds to the JSON property ‘projectId` @return [String]

validate_only[RW]

If true, the request is validated but not actually executed. Defaults to false. Corresponds to the JSON property ‘validateOnly` @return [Boolean]

validate_only?[RW]

If true, the request is validated but not actually executed. Defaults to false. Corresponds to the JSON property ‘validateOnly` @return [Boolean]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/datapipelines_v1/classes.rb, line 441
def update!(**args)
  @gcs_path = args[:gcs_path] if args.key?(:gcs_path)
  @launch_parameters = args[:launch_parameters] if args.key?(:launch_parameters)
  @location = args[:location] if args.key?(:location)
  @project_id = args[:project_id] if args.key?(:project_id)
  @validate_only = args[:validate_only] if args.key?(:validate_only)
end