Class: Google::Apis::DataflowV1b3::LaunchFlexTemplateRequest
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::LaunchFlexTemplateRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataflow_v1b3/classes.rb,
lib/google/apis/dataflow_v1b3/representations.rb,
lib/google/apis/dataflow_v1b3/representations.rb
Overview
A request to launch a Cloud Dataflow job from a FlexTemplate.
Instance Attribute Summary collapse
-
#launch_parameter ⇒ Google::Apis::DataflowV1b3::LaunchFlexTemplateParameter
Launch FlexTemplate Parameter.
-
#validate_only ⇒ Boolean
(also: #validate_only?)
If true, the request is validated but not actually executed.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LaunchFlexTemplateRequest
constructor
A new instance of LaunchFlexTemplateRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LaunchFlexTemplateRequest
Returns a new instance of LaunchFlexTemplateRequest.
2650 2651 2652 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 2650 def initialize(**args) update!(**args) end |
Instance Attribute Details
#launch_parameter ⇒ Google::Apis::DataflowV1b3::LaunchFlexTemplateParameter
Launch FlexTemplate Parameter.
Corresponds to the JSON property launchParameter
2642 2643 2644 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 2642 def launch_parameter @launch_parameter 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
2647 2648 2649 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 2647 def validate_only @validate_only end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2655 2656 2657 2658 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 2655 def update!(**args) @launch_parameter = args[:launch_parameter] if args.key?(:launch_parameter) @validate_only = args[:validate_only] if args.key?(:validate_only) end |