- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Moves a Repository to a new location.
HTTP request
POST https://dataform.googleapis.com/v1beta1/{name=projects/*/locations/*/repositories/*}:move
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
name |
Required. The full resource name of the repository to move. |
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{ "destinationContainingFolder": string } |
| Fields | |
|---|---|
destinationContainingFolder |
Required. The name of the Folder, TeamFolder, or root location to move the repository to. Can be in the format of: "" to move into the root User folder, |
Response body
If successful, the response body contains an instance of Operation.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/bigquery
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the destinationContainingFolder resource:
dataform.folders.addContents
Requires the following IAM permission on the name resource:
dataform.repositories.move
For more information, see the IAM documentation.