Google Cloud Orchestration Airflow V1 Client - Class PollAirflowCommandResponse (1.4.2)

Reference documentation and code samples for the Google Cloud Orchestration Airflow V1 Client class PollAirflowCommandResponse.

Response to PollAirflowCommandRequest.

Generated from protobuf message google.cloud.orchestration.airflow.service.v1.PollAirflowCommandResponse

Namespace

Google \ Cloud \ Orchestration \ Airflow \ Service \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ output array<Google\Cloud\Orchestration\Airflow\Service\V1\PollAirflowCommandResponse\Line>

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

↳ output_end bool

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

↳ exit_info Google\Cloud\Orchestration\Airflow\Service\V1\PollAirflowCommandResponse\ExitInfo

The result exit status of the command.

getOutput

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

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setOutput

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

Parameter
NameDescription
var array<Google\Cloud\Orchestration\Airflow\Service\V1\PollAirflowCommandResponse\Line>
Returns
TypeDescription
$this

getOutputEnd

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

Returns
TypeDescription
bool

setOutputEnd

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

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getExitInfo

The result exit status of the command.

Returns
TypeDescription
Google\Cloud\Orchestration\Airflow\Service\V1\PollAirflowCommandResponse\ExitInfo|null

hasExitInfo

clearExitInfo

setExitInfo

The result exit status of the command.

Parameter
NameDescription
var Google\Cloud\Orchestration\Airflow\Service\V1\PollAirflowCommandResponse\ExitInfo
Returns
TypeDescription
$this