runtime property
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.
Optional.
Implementation
core.String? runtime;