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_provisionexecprojectsId, locationsIdProvisions the project resource. During the process, related systems will get prepared and initialized. Caller must read the Terms for data use, and optionally specify in request to provide consent to that service terms.
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, locationsIdcollectionDisplayName, collectionIdCreates 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​

Provisions the project resource. During the process, related systems will get prepared and initialized. Caller must read the Terms for data use, and optionally specify in request to provide consent to that service terms.

EXEC google.discoveryengine.locations.projects_locations_provision
@projectsId='{{ projectsId }}' --required,
@locationsId='{{ locationsId }}' --required
@@json=
'{
"acceptDataUseTerms": {{ acceptDataUseTerms }},
"dataUseTermsVersion": "{{ dataUseTermsVersion }}",
"saasParams": "{{ saasParams }}"
}'
;