Google Cloud Orchestration Airflow V1 Client - Class ExitInfo (1.3.0)

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

Information about how a command ended.

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

Namespace

Google \ Cloud \ Orchestration \ Airflow \ Service \ V1 \ PollAirflowCommandResponse

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ exit_code int

The exit code from the command execution.

↳ error string

Error message. Empty if there was no error.

getExitCode

The exit code from the command execution.

Returns
TypeDescription
int

setExitCode

The exit code from the command execution.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getError

Error message. Empty if there was no error.

Returns
TypeDescription
string

setError

Error message. Empty if there was no error.

Parameter
NameDescription
var string
Returns
TypeDescription
$this