Class: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1LaunchTemplateRequest
- Inherits:
-
Object
- Object
- Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1LaunchTemplateRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datapipelines_v1/classes.rb,
lib/google/apis/datapipelines_v1/representations.rb,
lib/google/apis/datapipelines_v1/representations.rb
Overview
A request to launch a template.
Instance Attribute Summary collapse
-
#gcs_path ⇒ String
A Cloud Storage path to the template from which to create the job.
-
#launch_parameters ⇒ Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1LaunchTemplateParameters
Parameters to provide to the template being launched.
-
#location ⇒ String
The regional endpoint to which to direct the request.
-
#project_id ⇒ String
Required.
-
#validate_only ⇒ Boolean
(also: #validate_only?)
If true, the request is validated but not actually executed.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatapipelinesV1LaunchTemplateRequest
constructor
A new instance of GoogleCloudDatapipelinesV1LaunchTemplateRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatapipelinesV1LaunchTemplateRequest
Returns a new instance of GoogleCloudDatapipelinesV1LaunchTemplateRequest.
436 437 438 |
# File 'lib/google/apis/datapipelines_v1/classes.rb', line 436 def initialize(**args) update!(**args) end |
Instance Attribute Details
#gcs_path ⇒ String
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
412 413 414 |
# File 'lib/google/apis/datapipelines_v1/classes.rb', line 412 def gcs_path @gcs_path end |
#launch_parameters ⇒ Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1LaunchTemplateParameters
Parameters to provide to the template being launched.
Corresponds to the JSON property launchParameters
417 418 419 |
# File 'lib/google/apis/datapipelines_v1/classes.rb', line 417 def launch_parameters @launch_parameters end |
#location ⇒ String
The regional endpoint to which to direct the request.
Corresponds to the JSON property location
423 424 425 |
# File 'lib/google/apis/datapipelines_v1/classes.rb', line 423 def location @location end |
#project_id ⇒ String
Required. The ID of the Cloud Platform project that the job belongs to.
Corresponds to the JSON property projectId
428 429 430 |
# File 'lib/google/apis/datapipelines_v1/classes.rb', line 428 def project_id @project_id end |
#validate_only ⇒ Boolean Also known as: validate_only?
If true, the request is validated but not actually executed. Defaults to false.
Corresponds to the JSON property validateOnly
433 434 435 |
# File 'lib/google/apis/datapipelines_v1/classes.rb', line 433 def validate_only @validate_only end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
441 442 443 444 445 446 447 |
# 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 |