- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization Scopes
- Try it!
Creates a new workflow. If a workflow with the specified name already exists in the specified project and location, the long running operation returns a google.rpc.Code.ALREADY_EXISTS
error.
HTTP request
POST https://workflows.googleapis.com/v1/{parent=projects/*/locations/*}/workflows
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. Project and location in which the workflow should be created. Format: projects/{project}/locations/{location} Authorization requires the following IAM permission on the specified resource
|
Query parameters
Parameters | |
---|---|
workflowId |
Required. The ID of the workflow to be created. It has to fulfill the following requirements:
|
Request body
The request body contains an instance of Workflow
.
Response body
If successful, the response body contains a newly created instance of Operation
.
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.