v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1348275334.9 KB
projects

Allows management of individual questions.

patch/v2/{+catalog}/generativeQuestion

Path parameters

catalogstring required

Required. Resource name of the catalog. Format: projects/{project}/locations/{location}/catalogs/{catalog}

Query parameters

updateMaskstring

Optional. Indicates which fields in the provided GenerativeQuestionConfig to update. The following are NOT supported: * GenerativeQuestionConfig.frequency If not set or empty, all supported fields are updated.

Request body

allowedInConversationboolean

Optional. Whether the question is asked at serving time.

finalQuestionstring

Optional. The question that will be used at serving time. Question can have a max length of 300 bytes. When not populated, generated_question should be used.

exampleValuesstring[]

Output only. Values that can be used to answer the question.

generatedQuestionstring

Output only. The LLM generated question.

catalogstring

Required. Resource name of the catalog. Format: projects/{project}/locations/{location}/catalogs/{catalog}

facetstring

Required. The facet to which the question is associated.

frequencynumber float

Output only. The ratio of how often a question was asked.

Response

Successful response