Google Cloud Functions V2 Client - Class Environment (1.1.2)

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

Methods

name

Parameter
NameDescription
value mixed

value

Parameter
NameDescription
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;