Workflows Service, gRPC: WorkflowService.Get
Retrieves specified Workflow.
gRPC request
rpc Get (GetWorkflowRequest) returns (GetWorkflowResponse)
GetWorkflowRequest
{
"workflow_id": "string"
}
|
Field |
Description |
|
workflow_id |
string Required field. ID of the Workflow. |
GetWorkflowResponse
{
"workflow": {
"id": "string",
"folder_id": "string",
"specification": {
// Includes only one of the fields `spec_yaml`
"spec_yaml": "string"
// end of the list of possible fields
},
"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",
"express": "bool",
"schedule": {
"cron_expression": "string",
"timezone": "string"
}
}
}
|
Field |
Description |
|
workflow |
Workflow properties. |
Workflow
|
Field |
Description |
|
id |
string ID of the Workflow. Generated at creation time. |
|
folder_id |
string ID of the folder that the Workflow belongs to. |
|
specification |
Specification of the Workflow |
|
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 resource access in Workflow execution. |
|
express |
bool Express execution mode. |
|
schedule |
Workflow schedule settings. |
WorkflowSpecification
|
Field |
Description |
|
spec_yaml |
string Workflow specification in YAML format. Includes only one of the fields |
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.
|
WorkflowSchedule
|
Field |
Description |
|
cron_expression |
string Required field. Cron expression for the Workflow schedule. |
|
timezone |
string Required field. Timezone for the Workflow schedule. |