Reference documentation and code samples for the Google Cloud Functions V2 Client class Runtime.
Describes a runtime and any special information (e.g., deprecation status) related to it.
Generated from protobuf message google.cloud.functions.v2.ListRuntimesResponse.Runtime
Namespace
Google \ Cloud \ Functions \ V2 \ ListRuntimesResponseMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
The name of the runtime, e.g., 'go113', 'nodejs12', etc.
↳ display_name
string
The user facing name, eg 'Go 1.13', 'Node.js 12', etc.
↳ stage
int
The stage of life this runtime is in, e.g., BETA, GA, etc.
↳ warnings
array
Warning messages, e.g., a deprecation warning.
↳ environment
int
The environment for the runtime.
getName
The name of the runtime, e.g., 'go113', 'nodejs12', etc.
string
setName
The name of the runtime, e.g., 'go113', 'nodejs12', etc.
var
string
$this
getDisplayName
The user facing name, eg 'Go 1.13', 'Node.js 12', etc.
string
setDisplayName
The user facing name, eg 'Go 1.13', 'Node.js 12', etc.
var
string
$this
getStage
The stage of life this runtime is in, e.g., BETA, GA, etc.
int
setStage
The stage of life this runtime is in, e.g., BETA, GA, etc.
var
int
$this
getWarnings
Warning messages, e.g., a deprecation warning.
setWarnings
Warning messages, e.g., a deprecation warning.
var
string[]
$this
getEnvironment
The environment for the runtime.
int
setEnvironment
The environment for the runtime.
var
int
$this