Method: projects.locations.ragCorpora.create

Creates a RagCorpus.

HTTP request

POST http://{service-endpoint}/v1beta1/{parent}/ragCorpora

Where {service-endpoint} is one of the supported service endpoints.

Path parameters

Parameters
parent

string

Required. The resource name of the Location to create the RagCorpus in. Format: projects/{project}/locations/{location}

Request body

The request body contains an instance of RagCorpus.

Response body

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

Authorization scopes

Requires the following OAuth scope:

  • http://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.