Workflows Service, gRPC: WorkflowService.Update
Updates specified Workflow.
gRPC request
rpc Update (UpdateWorkflowRequest) returns (operation.Operation)
UpdateWorkflowRequest
{
"workflowId": "string",
"name": "string",
"description": "string",
"labels": "string",
"specification": {
// Includes only one of the fields `specYaml`
"specYaml": "string"
// end of the list of possible fields
},
"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",
"updateMask": "google.protobuf.FieldMask"
}
Field |
Description |
workflowId |
string Required field. ID of 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 |
specification |
Specification 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 resources access in Workflow execution. |
updateMask |
Field mask that specifies which fields of the Workflow should be updated. |
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.
|
operation.Operation
{
"id": "string",
"description": "string",
"createdAt": "google.protobuf.Timestamp",
"createdBy": "string",
"modifiedAt": "google.protobuf.Timestamp",
"done": "bool",
"metadata": {
"workflowId": "string"
},
// Includes only one of the fields `error`, `response`
"error": "google.rpc.Status",
"response": {
"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"
}
// end of the list of possible fields
}
An Operation resource. For more information, see Operation.
Field |
Description |
id |
string ID of the operation. |
description |
string Description of the operation. 0-256 characters long. |
createdAt |
Creation timestamp. |
createdBy |
string ID of the user or service account who initiated the operation. |
modifiedAt |
The time when the Operation resource was last modified. |
done |
bool If the value is |
metadata |
Service-specific metadata associated with the operation. |
error |
The error result of the operation in case of failure or cancellation. Includes only one of the fields The operation result. |
response |
The normal response of the operation in case of success. Includes only one of the fields The operation result. |
UpdateWorkflowMetadata
Field |
Description |
workflowId |
string Required field. ID of the Workflow. |
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.
|