Google Cloud Run V2 Client - Class IngressTraffic (1.6.0)

Reference documentation and code samples for the Google Cloud Run V2 Client class IngressTraffic.

Allowed ingress traffic for the Container.

Protobuf type google.cloud.run.v2.IngressTraffic

Namespace

Google \ Cloud \ Run \ V2

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

INGRESS_TRAFFIC_UNSPECIFIED

Value: 0

Unspecified

Generated from protobuf enum INGRESS_TRAFFIC_UNSPECIFIED = 0;

INGRESS_TRAFFIC_ALL

Value: 1

All inbound traffic is allowed.

Generated from protobuf enum INGRESS_TRAFFIC_ALL = 1;

INGRESS_TRAFFIC_INTERNAL_ONLY

Value: 2

Only internal traffic is allowed.

Generated from protobuf enum INGRESS_TRAFFIC_INTERNAL_ONLY = 2;

INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER

Value: 3

Both internal and Google Cloud Load Balancer traffic is allowed.

Generated from protobuf enum INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER = 3;

INGRESS_TRAFFIC_NONE

Value: 4

No ingress traffic is allowed.

Generated from protobuf enum INGRESS_TRAFFIC_NONE = 4;

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.