Class: Google::Cloud::Orchestration::Airflow::Service::V1::PollAirflowCommandResponse

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/orchestration/airflow/service/v1/environments.rb

Overview

Response to PollAirflowCommandRequest.

Defined Under Namespace

Classes: ExitInfo, Line

Instance Attribute Summary collapse

Instance Attribute Details

#exit_info::Google::Cloud::Orchestration::Airflow::Service::V1::PollAirflowCommandResponse::ExitInfo

Returns The result exit status of the command.



334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
# File 'proto_docs/google/cloud/orchestration/airflow/service/v1/environments.rb', line 334

class PollAirflowCommandResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Contains information about a single line from logs.
  # @!attribute [rw] line_number
  #   @return [::Integer]
  #     Number of the line.
  # @!attribute [rw] content
  #   @return [::String]
  #     Text content of the log line.
  class Line
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Information about how a command ended.
  # @!attribute [rw] exit_code
  #   @return [::Integer]
  #     The exit code from the command execution.
  # @!attribute [rw] error
  #   @return [::String]
  #     Error message. Empty if there was no error.
  class ExitInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#output::Array<::Google::Cloud::Orchestration::Airflow::Service::V1::PollAirflowCommandResponse::Line>

Returns Output from the command execution. It may not contain the full output and the caller may need to poll for more lines.

Returns:



334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
# File 'proto_docs/google/cloud/orchestration/airflow/service/v1/environments.rb', line 334

class PollAirflowCommandResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Contains information about a single line from logs.
  # @!attribute [rw] line_number
  #   @return [::Integer]
  #     Number of the line.
  # @!attribute [rw] content
  #   @return [::String]
  #     Text content of the log line.
  class Line
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Information about how a command ended.
  # @!attribute [rw] exit_code
  #   @return [::Integer]
  #     The exit code from the command execution.
  # @!attribute [rw] error
  #   @return [::String]
  #     Error message. Empty if there was no error.
  class ExitInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#output_end::Boolean

Returns Whether the command execution has finished and there is no more output.

Returns:

  • (::Boolean)

    Whether the command execution has finished and there is no more output.



334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
# File 'proto_docs/google/cloud/orchestration/airflow/service/v1/environments.rb', line 334

class PollAirflowCommandResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Contains information about a single line from logs.
  # @!attribute [rw] line_number
  #   @return [::Integer]
  #     Number of the line.
  # @!attribute [rw] content
  #   @return [::String]
  #     Text content of the log line.
  class Line
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Information about how a command ended.
  # @!attribute [rw] exit_code
  #   @return [::Integer]
  #     The exit code from the command execution.
  # @!attribute [rw] error
  #   @return [::String]
  #     Error message. Empty if there was no error.
  class ExitInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end