Method: projects.locations.repositories.create

Creates a new Repository in a given project and location.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

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

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

  • dataform.repositories.create

Query parameters

Parameters
repositoryId

string

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

Request body

The request body contains an instance of Repository.

Response body

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

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.repositories.get

For more information, see the IAM documentation.