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 \ ServiceConfigMethods
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;