v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1352131166.0 KB
projects

Creates a new Workspace in a given Repository.

post/v1/{+parent}/workspaces

Path parameters

parentstring required

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

Query parameters

workspaceIdstring

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

Request body

namestring

Identifier. The workspace's name.

createTimestring google-datetime

Output only. The timestamp of when the workspace was created.

internalMetadatastring

Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.

disableMovesboolean

Optional. If set to true, workspaces will not be moved if its linked Repository is moved. Instead, it will be deleted.

Response

Successful response