# Google Cloud Orchestration Airflow V1 Client - Class NetworkingConfig (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 NetworkingConfig.

Configuration options for networking connections in the Composer 2
environment.

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

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ connection_type` | `int` Optional. Indicates the user requested specific connection type between Tenant and Customer projects. You cannot set networking connection type in public IP environment. |

### getConnectionType

Optional. Indicates the user requested specific connection type between
Tenant and Customer projects. You cannot set networking connection type in
public IP environment.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [ConnectionType](https://docs.cloud.google.com/php/docs/reference/cloud-orchestration-airflow/latest/V1.NetworkingConfig.ConnectionType). |

### setConnectionType

Optional. Indicates the user requested specific connection type between
Tenant and Customer projects. You cannot set networking connection type in
public IP environment.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [ConnectionType](https://docs.cloud.google.com/php/docs/reference/cloud-orchestration-airflow/latest/V1.NetworkingConfig.ConnectionType). |

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