Method: projects.locations.repositories.workspaces.create

Creates a new Workspace in a given Repository.

HTTP request

POST https://dataform.googleapis.com/v1beta1/{parent=projects/*/locations/*/repositories/*}/workspaces

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The repository in which to create the workspace. Must be in the format projects/*/locations/*/repositories/*.

Authorization requires the following IAM permission on the specified resource parent:

  • dataform.workspaces.create

Query parameters

Parameters
workspaceId

string

Required. The ID to use for the workspace, which will become the final component of the workspace's resource name.

Request body

The request body contains an instance of Workspace.

Response body

If successful, the response body contains a newly created instance of Workspace.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • dataform.workspaces.create

For more information, see the IAM documentation.