Cloud Functions Service, gRPC: FunctionService.List
Retrieves the list of functions in the specified folder.
gRPC request
rpc List (ListFunctionsRequest) returns (ListFunctionsResponse)
ListFunctionsRequest
{
"folder_id": "string",
"page_size": "int64",
"page_token": "string",
"filter": "string"
}
Field |
Description |
folder_id |
string Required field. ID of the folder to list functions in. To get a folder ID make a yandex.cloud.resourcemanager.v1.FolderService.List request. |
page_size |
int64 The maximum number of results per page to return. If the number of available Default value: 100. |
page_token |
string Page token. To get the next page of results, set |
filter |
string A filter expression that filters functions listed in the response. The expression must specify:
|
ListFunctionsResponse
{
"functions": [
{
"id": "string",
"folder_id": "string",
"created_at": "google.protobuf.Timestamp",
"name": "string",
"description": "string",
"labels": "map<string, string>",
"http_invoke_url": "string",
"status": "Status"
}
],
"next_page_token": "string"
}
Field |
Description |
functions[] |
List of functions in the specified folder. |
next_page_token |
string Token for getting the next page of the list. If the number of results is greater than Each subsequent page will have its own |
Function
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.
|