Workflows Service, gRPC: WorkflowService.Get
Retrieves specified Workflow.
gRPC request
rpc Get (GetWorkflowRequest) returns (GetWorkflowResponse)
GetWorkflowRequest
{
"workflowId": "string"
}
Field |
Description |
workflowId |
string Required field. ID of the Workflow. |
GetWorkflowResponse
{
"workflow": {
"id": "string",
"folderId": "string",
"specification": {
// Includes only one of the fields `specYaml`
"specYaml": "string"
// end of the list of possible fields
},
"createdAt": "google.protobuf.Timestamp",
"name": "string",
"description": "string",
"labels": "string",
"status": "Status",
"logOptions": {
"disabled": "bool",
// Includes only one of the fields `logGroupId`, `folderId`
"logGroupId": "string",
"folderId": "string",
// end of the list of possible fields
"minLevel": "Level"
},
"networkId": "string",
"serviceAccountId": "string"
}
}
Field |
Description |
workflow |
Workflow properties. |
Workflow
Field |
Description |
id |
string ID of the Workflow. Generated at creation time. |
folderId |
string ID of the folder that the Workflow belongs to. |
specification |
Specification of the Workflow |
createdAt |
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 |
string Workflow labels as |
status |
enum Status Status of the Workflow.
|
logOptions |
Options for logging from the Workflow. |
networkId |
string ID of the VPC network Workflow will be executed in, in order to access private resources. |
serviceAccountId |
string ID of the Service Account which will be used for resource access in Workflow execution. |
WorkflowSpecification
Field |
Description |
specYaml |
string Workflow specification in YAML format. Includes only one of the fields |
LogOptions
Field |
Description |
disabled |
bool Is logging from Workflow disabled. |
logGroupId |
string ID of the logging group which should be used for Workflows logs. Includes only one of the fields |
folderId |
string ID of the folder which default logging group should be used for Workflows. Includes only one of the fields |
minLevel |
enum Level Minimum logs level. See LogLevel.Level for details.
|