Cloud Functions API . projects . locations . runtimes

Instance Methods

close()

Close httplib2 connections.

list(parent, filter=None, x__xgafv=None)

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

Method Details

close()
Close httplib2 connections.
list(parent, filter=None, x__xgafv=None)
Returns a list of runtimes that are supported for the requested project.

Args:
  parent: string, Required. The project and location from which the runtimes should be listed, specified in the format `projects/*/locations/*` (required)
  filter: string, The filter for Runtimes that match the filter expression, following the syntax outlined in https://google.aip.dev/160.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Response for the `ListRuntimes` method.
  "runtimes": [ # The runtimes that match the request.
    { # Describes a runtime and any special information (e.g., deprecation status) related to it.
      "displayName": "A String", # The user facing name, eg 'Go 1.13', 'Node.js 12', etc.
      "environment": "A String", # The environment for the runtime.
      "name": "A String", # The name of the runtime, e.g., 'go113', 'nodejs12', etc.
      "stage": "A String", # The stage of life this runtime is in, e.g., BETA, GA, etc.
      "warnings": [ # Warning messages, e.g., a deprecation warning.
        "A String",
      ],
    },
  ],
}