Method: projects.locations.functions.get

Returns a function with the given name from the requested project.

HTTP request


Path parameters



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

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Function.

Authorization scopes

Requires the following OAuth scope:


For more information, see the Authentication Overview.