Workflows Service, gRPC: WorkflowService.List
Retrieves list of Workflows in specified folder.
gRPC request
rpc List (ListWorkflowsRequest) returns (ListWorkflowsResponse)
ListWorkflowsRequest
{
"folder_id": "string",
"page_size": "int64",
"page_token": "string",
"filter": "string"
}
Field |
Description |
folder_id |
string Required field. ID of the folder to list Workflows in. |
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:
|
ListWorkflowsResponse
{
"workflows": [
{
"id": "string",
"folder_id": "string",
"created_at": "google.protobuf.Timestamp",
"name": "string",
"description": "string",
"labels": "map<string, string>",
"status": "Status",
"log_options": {
"disabled": "bool",
// Includes only one of the fields `log_group_id`, `folder_id`
"log_group_id": "string",
"folder_id": "string",
// end of the list of possible fields
"min_level": "Level"
},
"network_id": "string",
"service_account_id": "string"
}
],
"next_page_token": "string"
}
Field |
Description |
workflows[] |
List of Workflows. |
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 |
WorkflowPreview
Field |
Description |
id |
string ID of the Workflow. Generated at creation time. |
folder_id |
string ID of the folder that the Workflow belongs to. |
created_at |
Creation timestamp for the Workflow. |
name |
string Name of the Workflow. The name is unique within the folder. |
description |
string Description of the Workflow. |
labels |
object (map<string, string>) Workflow labels as |
status |
enum Status Status of the Workflow.
|
log_options |
Options for logging from the Workflow. |
network_id |
string ID of the VPC network Workflow will be executed in, in order to access private resources. |
service_account_id |
string ID of the Service Account which will be used for resources access in Workflow execution. |
LogOptions
Field |
Description |
disabled |
bool Is logging from Workflow disabled. |
log_group_id |
string ID of the logging group which should be used for Workflows logs. Includes only one of the fields |
folder_id |
string ID of the folder which default logging group should be used for Workflows. Includes only one of the fields |
min_level |
enum Level Minimum logs level. See LogLevel.Level for details.
|