Google Cloud Functions V2 Client - Class Environment (1.6.5)

Reference documentation and code samples for the Google Cloud Functions V2 Client class Environment.

The environment the function is hosted on.

Protobuf type google.cloud.functions.v2.Environment

Namespace

Google \ Cloud \ Functions \ V2

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

ENVIRONMENT_UNSPECIFIED

Value: 0

Unspecified

Generated from protobuf enum ENVIRONMENT_UNSPECIFIED = 0;

GEN_1

Value: 1

Gen 1

Generated from protobuf enum GEN_1 = 1;

GEN_2

Value: 2

Gen 2

Generated from protobuf enum GEN_2 = 2;