Skip to main content

locations

Creates, updates, deletes, gets or lists a locations resource.

Overview

Namelocations
TypeResource
Idgoogle.discoveryengine.locations

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
projects_locations_set_up_data_connectorexecprojectsId, locationsIdCreates a Collection and sets up the DataConnector for it. To stop a DataConnector after setup, use the CollectionService.DeleteCollection method.
projects_locations_set_up_data_connector_v2execprojectsId, locationsIdcollectionId, collectionDisplayNameCreates a Collection and sets up the DataConnector for it. To stop a DataConnector after setup, use the CollectionService.DeleteCollection method.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
locationsIdstring
projectsIdstring
collectionDisplayNamestring
collectionIdstring

Lifecycle Methods

Creates a Collection and sets up the DataConnector for it. To stop a DataConnector after setup, use the CollectionService.DeleteCollection method.

EXEC google.discoveryengine.locations.projects_locations_set_up_data_connector 
@projectsId='{{ projectsId }}' --required,
@locationsId='{{ locationsId }}' --required
@@json=
'{
"collectionId": "{{ collectionId }}",
"collectionDisplayName": "{{ collectionDisplayName }}",
"dataConnector": "{{ dataConnector }}"
}'
;