Class: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1LaunchFlexTemplateRequest
- Inherits:
-
Object
- Object
- Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1LaunchFlexTemplateRequest
- 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 Dataflow job from a Flex Template.
Instance Attribute Summary collapse
-
#launch_parameter ⇒ Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1LaunchFlexTemplateParameter
Launch Flex Template parameter.
-
#location ⇒ String
Required.
-
#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) ⇒ GoogleCloudDatapipelinesV1LaunchFlexTemplateRequest
constructor
A new instance of GoogleCloudDatapipelinesV1LaunchFlexTemplateRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatapipelinesV1LaunchFlexTemplateRequest
Returns a new instance of GoogleCloudDatapipelinesV1LaunchFlexTemplateRequest.
345 346 347 |
# File 'lib/google/apis/datapipelines_v1/classes.rb', line 345 def initialize(**args) update!(**args) end |
Instance Attribute Details
#launch_parameter ⇒ Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1LaunchFlexTemplateParameter
Launch Flex Template parameter.
Corresponds to the JSON property launchParameter
325 326 327 |
# File 'lib/google/apis/datapipelines_v1/classes.rb', line 325 def launch_parameter @launch_parameter end |
#location ⇒ String
Required. The regional endpoint to which to direct the request. For example, us-
central1, us-west1.
Corresponds to the JSON property location
332 333 334 |
# File 'lib/google/apis/datapipelines_v1/classes.rb', line 332 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
337 338 339 |
# File 'lib/google/apis/datapipelines_v1/classes.rb', line 337 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
342 343 344 |
# File 'lib/google/apis/datapipelines_v1/classes.rb', line 342 def validate_only @validate_only end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
350 351 352 353 354 355 |
# File 'lib/google/apis/datapipelines_v1/classes.rb', line 350 def update!(**args) @launch_parameter = args[:launch_parameter] if args.key?(:launch_parameter) @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 |