2.2.3 (latest) 2.1.3 2.0.4 1.3.5 1.2.2 1.1.1 1.0.6 Reference documentation and code samples for the Google Cloud Appengine Admin V1 Client class VpcAccessConnector.

VPC access connector specification.

Generated from protobuf message `google.appengine.v1.VpcAccessConnector`

## Namespace

Google \\ Cloud \\ AppEngine \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1. |
| `↳ egress_setting` | `int` The egress setting for the connector, controlling what traffic is diverted through it. |

### getName

Full Serverless VPC Access Connector name e.g.

/projects/my-project/locations/us-central1/connectors/c1.

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

### setName

Full Serverless VPC Access Connector name e.g.

/projects/my-project/locations/us-central1/connectors/c1.

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

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

### getEgressSetting

The egress setting for the connector, controlling what traffic is diverted
through it.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [EgressSetting](https://docs.cloud.google.com/php/docs/reference/cloud-appengine-admin/latest/V1.VpcAccessConnector.EgressSetting). |

### setEgressSetting

The egress setting for the connector, controlling what traffic is diverted
through it.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [EgressSetting](https://docs.cloud.google.com/php/docs/reference/cloud-appengine-admin/latest/V1.VpcAccessConnector.EgressSetting). |

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