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

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

Poll Airflow Command request.

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

Namespace

Google \ Cloud \ Orchestration \ Airflow \ Service \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ environment string

The resource name of the environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}"

↳ execution_id string

The unique ID of the command execution.

↳ pod string

The name of the pod where the command is executed.

↳ pod_namespace string

The namespace of the pod where the command is executed.

↳ next_line_number int

Line number from which new logs should be fetched.

getEnvironment

The resource name of the environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}"

Returns
TypeDescription
string

setEnvironment

The resource name of the environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}"

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getExecutionId

The unique ID of the command execution.

Returns
TypeDescription
string

setExecutionId

The unique ID of the command execution.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPod

The name of the pod where the command is executed.

Returns
TypeDescription
string

setPod

The name of the pod where the command is executed.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPodNamespace

The namespace of the pod where the command is executed.

Returns
TypeDescription
string

setPodNamespace

The namespace of the pod where the command is executed.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getNextLineNumber

Line number from which new logs should be fetched.

Returns
TypeDescription
int

setNextLineNumber

Line number from which new logs should be fetched.

Parameter
NameDescription
var int
Returns
TypeDescription
$this