Skip to main content

user_stores

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

Overview

Nameuser_stores
TypeResource
Idgoogle.discoveryengine.user_stores

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_user_stores_batch_update_user_licensesupdateprojectsId, locationsId, userStoresIdUpdates the User License. This method is used for batch assign/unassign licenses to users.

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
userStoresIdstring

UPDATE examples

Updates the User License. This method is used for batch assign/unassign licenses to users.

UPDATE google.discoveryengine.user_stores
SET
data__inlineSource = '{{ inlineSource }}',
data__deleteUnassignedUserLicenses = {{ deleteUnassignedUserLicenses }}
WHERE
projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND userStoresId = '{{ userStoresId }}' --required
RETURNING
name,
done,
error,
metadata,
response;