2025-09-19
▼ ▲ discoveryengine.projects.locations.setUpDataConnectorV2
Path : v1alpha/{+parent}:setUpDataConnectorV2
Flat Path : v1alpha/projects/{projectsId}/locations/{locationsId}:setUpDataConnectorV2
HTTP Method : POST
Parameters :
parent
Description : Required. The parent of Collection, in the format of `projects/{project}/locations/{location}`.
Pattern : ^projects/[^/]+/locations/[^/]+$
Location : path
Required : Yes
Type : string
collectionId
Description : Required. The ID to use for the Collection, which will become the final component of the Collection's resource name. A new Collection is created as part of the DataConnector setup. DataConnector is a singleton resource under Collection, managing all DataStores of the Collection. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned.
Location : query
Type : string
collectionDisplayName
Description : Required. The display name of the Collection. Should be human readable, used to display collections in the Console Dashboard. UTF-8 encoded string with limit of 1024 characters.
Location : query
Type : string
Parameter Order : parent
Scopes : https://www.googleapis.com/auth/cloud-platform
Description : Creates a Collection and sets up the DataConnector for it. To stop a DataConnector after setup, use the CollectionService.DeleteCollection method.