Creates a corpus inside a project.
HTTP request
 POST https://visionai.googleapis.com/v1alpha1/{parent=projects/*/locations/*}/corpora 
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
| parent |   Required. Form:  | 
Request body
The request body contains an instance of  Corpus 
 
.
Response body
If successful, the response body contains a newly created instance of  Operation 
 
.
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:
-  visionai.corpora.create
For more information, see the IAM documentation .

