Stay organized with collections Save and categorize content based on your preferences.
Returns a function with the given name from the requested project.
HTTP requestGET https://cloudfunctions.googleapis.com/v2alpha/{name}
name
string
Required. The name of the function which details should be obtained. It takes the form projects/{project}/locations/{location}/functions/{function}
.
Authorization requires the following IAM permission on the specified resource name
:
cloudfunctions.functions.get
revision
string
Optional. The optional version of the 1st gen 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. GCF may keep historical configs for old versions of 1st gen function. This field can be specified to fetch the historical configs. This field is valid only for GCF 1st gen function.
Request bodyThe request body must be empty.
Response bodyIf successful, the response body contains an instance of Function
.
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-06-16 UTC.
[[["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-06-16 UTC."],[[["This endpoint retrieves details of a function within a specified project and location using a `GET` request to the provided URL."],["The `name` parameter, which is required, dictates the specific function to be fetched, and it follows the format `projects/{project}/locations/{location}/functions/{function}`."],["An optional `revision` query parameter can be provided to fetch the details of a specific version of a 1st gen function."],["The `cloudfunctions.functions.get` IAM permission and the `https://www.googleapis.com/auth/cloud-platform` OAuth scope are required for authorization."],["The request body must be empty, and a successful request will return a [Function](/functions/docs/reference/rest/v2alpha/projects.locations.functions#Function) instance in the response body."]]],[]]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4