- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
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 |
Required. The location in which to create the repository. Must be in the format Authorization requires the following IAM permission on the specified resource
|
Query parameters
Parameters | |
---|---|
repositoryId |
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.