Google Cloud Run V2 Client - Class AmbientNetworking (1.15.0)

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

Configuration for Ambient Networking.

Generated from protobuf message google.cloud.run.v2.AmbientNetworking

Namespace

Google \ Cloud \ Run \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ enabled bool

Optional. Whether ambient networking is enabled.

↳ ambient_scope int

The ambient networking scope of the instance.

getEnabled

Optional. Whether ambient networking is enabled.

Returns
Type Description
bool

hasEnabled

clearEnabled

setEnabled

Optional. Whether ambient networking is enabled.

Parameter
Name Description
var bool
Returns
Type Description
$this

getAmbientScope

The ambient networking scope of the instance.

Returns
Type Description
int Enum of type AmbientScope.

setAmbientScope

The ambient networking scope of the instance.

Parameter
Name Description
var int

Enum of type AmbientScope.

Returns
Type Description
$this