Cloud Functions Service, gRPC: FunctionService.Get
Returns the specified function.
To get the list of all available functions, make a List request.
gRPC request
rpc Get (GetFunctionRequest) returns (Function)
GetFunctionRequest
{
"function_id": "string"
}
Field |
Description |
function_id |
string Required field. ID of the function to return. To get a function ID make a FunctionService.List request. |
Function
{
"id": "string",
"folder_id": "string",
"created_at": "google.protobuf.Timestamp",
"name": "string",
"description": "string",
"labels": "map<string, string>",
"http_invoke_url": "string",
"status": "Status"
}
A serverless function. For details about the concept, see Functions.
Field |
Description |
id |
string ID of the function. Generated at creation time. |
folder_id |
string ID of the folder that the function belongs to. |
created_at |
Creation timestamp for the function. |
name |
string Name of the function. The name is unique within the folder. |
description |
string Description of the function. |
labels |
object (map<string, string>) Function labels as |
http_invoke_url |
string URL that needs to be requested to invoke the function. |
status |
enum Status Status of the function.
|