BuildConfigOverrides
import type { BuildConfigOverrides } from "https://googleapis.deno.dev/v1/cloudfunctions:v2.ts";Contains overrides related to the function's build configuration.
interface BuildConfigOverrides {
runtime?: string;
}§Properties
§
runtime?: string
[src]Optional. Specifies the desired runtime for the new Cloud Run function.
(e.g., "nodejs20", "python312"). Constraints: 1. This field CANNOT be
used to change the runtime language (e.g., from NODEJS to PYTHON). The
backend will enforce this. 2. This field can ONLY be used to upgrade the
runtime version (e.g., nodejs18 to nodejs20). Downgrading the version
is not permitted. The backend will validate the version change. If provided
and valid, this overrides the runtime of the Gen1 function.