catalogs_generative_question
Creates, updates, deletes, gets or lists a catalogs_generative_question
resource.
Overview
Name | catalogs_generative_question |
Type | Resource |
Id | google.retail.catalogs_generative_question |
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:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
projects_locations_catalogs_update_generative_question | update | projectsId , locationsId , catalogsId | updateMask | Allows management of individual questions. |
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.
Name | Datatype | Description |
---|---|---|
catalogsId | string | |
locationsId | string | |
projectsId | string | |
updateMask | string (google-fieldmask) |
UPDATE
examples
- projects_locations_catalogs_update_generative_question
Allows management of individual questions.
UPDATE google.retail.catalogs_generative_question
SET
data__catalog = '{{ catalog }}',
data__facet = '{{ facet }}',
data__finalQuestion = '{{ finalQuestion }}',
data__allowedInConversation = {{ allowedInConversation }}
WHERE
projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND catalogsId = '{{ catalogsId }}' --required
AND updateMask = '{{ updateMask}}'
RETURNING
allowedInConversation,
catalog,
exampleValues,
facet,
finalQuestion,
frequency,
generatedQuestion;