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

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
Name Description
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
Type Description
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
Name Description
var array<Google\Cloud\Orchestration\Airflow\Service\V1\PollAirflowCommandResponse\Line>
Returns
Type Description
$this

getOutputEnd

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

Returns
Type Description
bool

setOutputEnd

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

Parameter
Name Description
var bool
Returns
Type Description
$this

getExitInfo

The result exit status of the command.

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

hasExitInfo

clearExitInfo

setExitInfo

The result exit status of the command.

Parameter
Name Description
var Google\Cloud\Orchestration\Airflow\Service\V1\PollAirflowCommandResponse\ExitInfo
Returns
Type Description
$this