# Google Cloud Orchestration Airflow V1 Client - Class Line (2.2.3)

2.2.3 (latest) 2.2.2 2.1.8 2.0.1 1.6.4 1.5.0 1.4.2 1.3.0 1.2.0 1.1.0 1.0.4 Reference documentation and code samples for the Google Cloud Orchestration Airflow V1 Client class Line.

Contains information about a single line from logs.

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

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ line_number` | `int` Number of the line. |
| `↳ content` | `string` Text content of the log line. |

### getLineNumber

Number of the line.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### setLineNumber

Number of the line.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getContent

Text content of the log line.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setContent

Text content of the log line.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |