Class: Google::Apis::ComposerV1::PollAirflowCommandResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PollAirflowCommandResponse

Returns a new instance of PollAirflowCommandResponse.



1348
1349
1350
# File 'lib/google/apis/composer_v1/classes.rb', line 1348

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#exit_infoGoogle::Apis::ComposerV1::ExitInfo

Information about how a command ended. Corresponds to the JSON property exitInfo



1334
1335
1336
# File 'lib/google/apis/composer_v1/classes.rb', line 1334

def exit_info
  @exit_info
end

#outputArray<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

Returns:



1340
1341
1342
# File 'lib/google/apis/composer_v1/classes.rb', line 1340

def output
  @output
end

#output_endBoolean Also known as: output_end?

Whether the command execution has finished and there is no more output. Corresponds to the JSON property outputEnd

Returns:

  • (Boolean)


1345
1346
1347
# File 'lib/google/apis/composer_v1/classes.rb', line 1345

def output_end
  @output_end
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1353
1354
1355
1356
1357
# File 'lib/google/apis/composer_v1/classes.rb', line 1353

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