- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Runtime
- RuntimeStage
- Try it!
Returns a list of runtimes that are supported for the requested project.
HTTP request
GET https://cloudfunctions.googleapis.com/v2/{parent}/runtimes
Path parameters
parent
string
Required. The project and location from which the runtimes should be listed, specified in the format projects/*/locations/*
It takes the form projects/{project}/locations/{location}
.
Authorization requires the following IAM
permission on the specified resource parent
:
-
iam.permissions.none
Query parameters
Parameters | |
---|---|
filter
|
The filter for Runtimes that match the filter expression, following the syntax outlined in https://google.aip.dev/160 . |
Request body
The request body must be empty.
Response body
Response for the runtimes.list
method.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"runtimes"
:
[
{
object (
|
Fields | |
---|---|
runtimes[]
|
The runtimes that match the request. |
Authorization scopes
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview .
Runtime
Describes a runtime and any special information (e.g., deprecation status) related to it.
JSON representation |
---|
{ "name" : string , "displayName" : string , "stage" : enum ( |
Fields | |
---|---|
name
|
The name of the runtime, e.g., 'go113', 'nodejs12', etc. |
display
|
The user facing name, eg 'Go 1.13', 'Node.js 12', etc. |
stage
|
The stage of life this runtime is in, e.g., BETA, GA, etc. |
warnings[]
|
Warning messages, e.g., a deprecation warning. |
environment
|
The environment for the runtime. |
deprecation
|
Deprecation date for the runtime. |
decommission
|
Decommission date for the runtime. |
RuntimeStage
The various stages that a runtime can be in.
Enums | |
---|---|
RUNTIME_STAGE_UNSPECIFIED
|
Not specified. |
DEVELOPMENT
|
The runtime is in development. |
ALPHA
|
The runtime is in the Alpha stage. |
BETA
|
The runtime is in the Beta stage. |
GA
|
The runtime is generally available. |
DEPRECATED
|
The runtime is deprecated. |
DECOMMISSIONED
|
The runtime is no longer supported. |