# Google Cloud Functions V2 Client - Class IngressSettings (2.1.3)

2.1.3 (latest) 2.1.2 2.0.6 1.7.0 1.6.5 1.5.0 1.4.2 1.3.1 1.2.0 1.1.2 1.0.3 Reference documentation and code samples for the Google Cloud Functions V2 Client class IngressSettings.

Available ingress settings.

This controls what traffic can reach the function.
If unspecified, ALLOW_ALL will be used.

Protobuf type `google.cloud.functions.v2.ServiceConfig.IngressSettings`

## Namespace

Google \\ Cloud \\ Functions \\ V2 \\ ServiceConfig

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### INGRESS_SETTINGS_UNSPECIFIED

    Value: 0

Unspecified.

Generated from protobuf enum `INGRESS_SETTINGS_UNSPECIFIED = 0;`

### ALLOW_ALL

    Value: 1

Allow HTTP traffic from public and private sources.

Generated from protobuf enum `ALLOW_ALL = 1;`

### ALLOW_INTERNAL_ONLY

    Value: 2

Allow HTTP traffic from only private VPC sources.

Generated from protobuf enum `ALLOW_INTERNAL_ONLY = 2;`

### ALLOW_INTERNAL_AND_GCLB

    Value: 3

Allow HTTP traffic from private VPC sources and through GCLB.

Generated from protobuf enum `ALLOW_INTERNAL_AND_GCLB = 3;`