Class: Google::Apis::ComposerV1beta1::PollAirflowCommandResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/composer_v1beta1/classes.rb,
lib/google/apis/composer_v1beta1/representations.rb,
lib/google/apis/composer_v1beta1/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.



1441
1442
1443
# File 'lib/google/apis/composer_v1beta1/classes.rb', line 1441

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

Instance Attribute Details

#exit_infoGoogle::Apis::ComposerV1beta1::ExitInfo

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



1427
1428
1429
# File 'lib/google/apis/composer_v1beta1/classes.rb', line 1427

def exit_info
  @exit_info
end

#outputArray<Google::Apis::ComposerV1beta1::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



1433
1434
1435
# File 'lib/google/apis/composer_v1beta1/classes.rb', line 1433

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)


1438
1439
1440
# File 'lib/google/apis/composer_v1beta1/classes.rb', line 1438

def output_end
  @output_end
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1446
1447
1448
1449
1450
# File 'lib/google/apis/composer_v1beta1/classes.rb', line 1446

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