Class: Google::Apis::ComposerV1::PollAirflowCommandResponse
- Inherits:
-
Object
- Object
- Google::Apis::ComposerV1::PollAirflowCommandResponse
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/composer_v1/classes.rb,
lib/google/apis/composer_v1/representations.rb,
lib/google/apis/composer_v1/representations.rb
Overview
Response to PollAirflowCommandRequest.
Instance Attribute Summary collapse
-
#exit_info ⇒ Google::Apis::ComposerV1::ExitInfo
Information about how a command ended.
-
#output ⇒ Array<Google::Apis::ComposerV1::Line>
Output from the command execution.
-
#output_end ⇒ Boolean
(also: #output_end?)
Whether the command execution has finished and there is no more output.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PollAirflowCommandResponse
constructor
A new instance of PollAirflowCommandResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PollAirflowCommandResponse
Returns a new instance of PollAirflowCommandResponse.
1280 1281 1282 |
# File 'lib/google/apis/composer_v1/classes.rb', line 1280 def initialize(**args) update!(**args) end |
Instance Attribute Details
#exit_info ⇒ Google::Apis::ComposerV1::ExitInfo
Information about how a command ended.
Corresponds to the JSON property exitInfo
1266 1267 1268 |
# File 'lib/google/apis/composer_v1/classes.rb', line 1266 def exit_info @exit_info end |
#output ⇒ Array<Google::Apis::ComposerV1::Line>
Output from the command execution. It may not contain the full output and the
caller may need to poll for more lines.
Corresponds to the JSON property output
1272 1273 1274 |
# File 'lib/google/apis/composer_v1/classes.rb', line 1272 def output @output end |
#output_end ⇒ Boolean Also known as: output_end?
Whether the command execution has finished and there is no more output.
Corresponds to the JSON property outputEnd
1277 1278 1279 |
# File 'lib/google/apis/composer_v1/classes.rb', line 1277 def output_end @output_end end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1285 1286 1287 1288 1289 |
# File 'lib/google/apis/composer_v1/classes.rb', line 1285 def update!(**args) @exit_info = args[:exit_info] if args.key?(:exit_info) @output = args[:output] if args.key?(:output) @output_end = args[:output_end] if args.key?(:output_end) end |