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

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
Name Description
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
Type Description
string

setEnvironment

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

Parameter
Name Description
var string
Returns
Type Description
$this

getExecutionId

The unique ID of the command execution.

Returns
Type Description
string

setExecutionId

The unique ID of the command execution.

Parameter
Name Description
var string
Returns
Type Description
$this

getPod

The name of the pod where the command is executed.

Returns
Type Description
string

setPod

The name of the pod where the command is executed.

Parameter
Name Description
var string
Returns
Type Description
$this

getPodNamespace

The namespace of the pod where the command is executed.

Returns
Type Description
string

setPodNamespace

The namespace of the pod where the command is executed.

Parameter
Name Description
var string
Returns
Type Description
$this

getNextLineNumber

Line number from which new logs should be fetched.

Returns
Type Description
int

setNextLineNumber

Line number from which new logs should be fetched.

Parameter
Name Description
var int
Returns
Type Description
$this