Google Cloud Functions V2 Client - Class Runtime (2.0.6)

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 \ ListRuntimesResponse

Methods

__construct

Constructor.

Parameters
Name
Description
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.

↳ deprecation_date
Google\Type\Date

Deprecation date for the runtime.

↳ decommission_date
Google\Type\Date

Decommission date for the runtime.

getName

The name of the runtime, e.g., 'go113', 'nodejs12', etc.

Returns
Type
Description
string

setName

The name of the runtime, e.g., 'go113', 'nodejs12', etc.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getDisplayName

The user facing name, eg 'Go 1.13', 'Node.js 12', etc.

Returns
Type
Description
string

setDisplayName

The user facing name, eg 'Go 1.13', 'Node.js 12', etc.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getStage

The stage of life this runtime is in, e.g., BETA, GA, etc.

Returns
Type
Description
int

setStage

The stage of life this runtime is in, e.g., BETA, GA, etc.

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getWarnings

Warning messages, e.g., a deprecation warning.

Returns
Type
Description

setWarnings

Warning messages, e.g., a deprecation warning.

Parameter
Name
Description
var
string[]
Returns
Type
Description
$this

getEnvironment

The environment for the runtime.

Returns
Type
Description
int

setEnvironment

The environment for the runtime.

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getDeprecationDate

Deprecation date for the runtime.

Returns
Type
Description

hasDeprecationDate

clearDeprecationDate

setDeprecationDate

Deprecation date for the runtime.

Parameter
Name
Description
Returns
Type
Description
$this

getDecommissionDate

Decommission date for the runtime.

Returns
Type
Description

hasDecommissionDate

clearDecommissionDate

setDecommissionDate

Decommission date for the runtime.

Parameter
Name
Description
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: