Skip to main content

catalogs_generative_question

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

Overview

Namecatalogs_generative_question
TypeResource
Idgoogle.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:

NameAccessible byRequired ParamsOptional ParamsDescription
projects_locations_catalogs_update_generative_questionupdateprojectsId, locationsId, catalogsIdupdateMaskAllows 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.

NameDatatypeDescription
catalogsIdstring
locationsIdstring
projectsIdstring
updateMaskstring (google-fieldmask)

UPDATE examples

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;