Creates a Collection
and sets up the DataConnector
for it. To stop a DataConnector
after setup, use the CollectionService.DeleteCollection
method.
HTTP request
POST https://discoveryengine.googleapis.com/v1alpha/{parent=projects/*/locations/*}:setUpDataConnector
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The parent of |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{
"collectionId": string,
"collectionDisplayName": string,
"dataConnector": {
object ( |
Fields | |
---|---|
collection |
Required. The id to use for the This field must conform to RFC-1034 standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned. |
collection |
Required. The display name of the Should be human readable, used to display collections in the Console Dashboard. UTF-8 encoded string with limit of 1024 characters. |
data |
Required. The |
Response body
If successful, the response body contains an instance of Operation
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.