Method: projects.locations.repositories.move

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

string

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

string

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, projects/*/locations/*/folders/*, projects/*/locations/*/teamFolders/*

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-platform
  • https://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.