Method: projects.locations.runtimes.list

Returns a list of runtimes that are supported for the requested project.

HTTP request

GET https://cloudfunctions.googleapis.com/v2/{parent}/runtimes

Path parameters

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

string

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 (Runtime)
    }
  ]
}
Fields
runtimes[]

object (Runtime)

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 (RuntimeStage),
  "warnings": [
    string
  ],
  "environment": enum (Environment),
  "deprecationDate": {
    object (Date)
  },
  "decommissionDate": {
    object (Date)
  }
}
Fields
name

string

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

displayName

string

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

stage

enum (RuntimeStage)

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

warnings[]

string

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

environment

enum (Environment)

The environment for the runtime.

deprecationDate

object (Date)

Deprecation date for the runtime.

decommissionDate

object (Date)

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.