Optional. The optional version of the function whose details should be obtained. The version of a 1st Gen function is an integer that starts from 1 and gets incremented on redeployments. Each deployment creates a config version of the underlying function. GCF may keep historical configs for old versions. This field can be specified to fetch the historical configs. Leave it blank or set to 0 to get the latest version of the function.
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of CloudFunction.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-08 UTC."],[[["This endpoint retrieves details for a specific Google Cloud Function using a `GET` request."],["The `name` path parameter is mandatory and specifies the exact function to be retrieved, including project, location, and function name."],["An optional `versionId` query parameter can be used to fetch details of a specific function version; otherwise, the latest version is returned."],["The request body must be empty, and a successful response will contain details about the Cloud Function."],["Authorization for this request requires either the `https://www.googleapis.com/auth/cloudfunctions` or `https://www.googleapis.com/auth/cloud-platform` OAuth scope."]]],[]]