Stay organized with collections Save and categorize content based on your preferences.
Synchronously invokes a deployed Cloud Function. To be used for testing purposes as very limited traffic is allowed. For more information on the actual limits, refer to Rate Limits.
HTTP requestPOST https://cloudfunctions.googleapis.com/v1/{name}:call
name
string
Required. The name of the function to be called. It takes the form projects/{project}/locations/{location}/functions/{function}
.
Authorization requires the following IAM permission on the specified resource name
:
cloudfunctions.functions.call
The request body contains data with the following structure:
JSON representation{ "data": string }Fields
data
string
Required. Input to be passed to the function.
Response bodyResponse of functions.call
method.
If successful, the response body contains data with the following structure:
JSON representation{ "executionId": string, "result": string, "error": string }Fields
executionId
string
Execution id of function invocation.
result
string
Result populated for successful execution of synchronous function. Will not be populated if function does not return a result through context.
error
string
Either system or user-function generated error. Set if execution was not successful.
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 document describes how to synchronously invoke a deployed Cloud Function using a POST request to the specified endpoint."],["The request requires a function name in the path parameters, structured as `projects/{project}/locations/{location}/functions/{function}`, and the `cloudfunctions.functions.call` IAM permission."],["The request body should contain a JSON object with a `data` field (a string) which provides the input to the function."],["A successful call returns a JSON response body including `executionId`, `result`, and `error` fields, where `result` shows the function's output and `error` shows any errors during execution."],["Authorization for this request requires the `https://www.googleapis.com/auth/cloud-platform` OAuth scope."]]],[]]
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