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/v1/{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 | |
|---|---|
collectionId | 
                  
                     
 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.  | 
                
collectionDisplayName | 
                  
                     
 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.  | 
                
dataConnector | 
                  
                     
 Required. The   | 
                
Response body
If successful, the response body contains an instance of Operation.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/discoveryengine.readwritehttps://www.googleapis.com/auth/discoveryengine.assist.readwrite
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the parent resource:
discoveryengine.locations.setUpDataConnector
For more information, see the IAM documentation.