2.1.3 (latest) 2.1.2 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 NetworkSettings.

A NetworkSettings resource is a container for ingress settings for a version
or service.

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

## Namespace

Google \\ Cloud \\ AppEngine \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ ingress_traffic_allowed` | `int` The ingress settings for version or service. |

### getIngressTrafficAllowed

The ingress settings for version or service.

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

### setIngressTrafficAllowed

The ingress settings for version or service.

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

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