---
title: "PATCH /v2/{+catalog}/generativeQuestion"
method: PATCH
path: "/v2/{+catalog}/generativeQuestion"
tags: ["projects"]
---

# PATCH /v2/{+catalog}/generativeQuestion

`PATCH /v2/{+catalog}/generativeQuestion`

Allows management of individual questions.

## Path parameters

- `catalog` string, required

## Query parameters

- `updateMask` string

## Request body

- GoogleCloudRetailV2GenerativeQuestionConfig — Configuration for a single generated question.
  - `allowedInConversation` boolean — Optional. Whether the question is asked at serving time.
  - `finalQuestion` string — 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.
  - `exampleValues` string[] — Output only. Values that can be used to answer the question.
  - `generatedQuestion` string — Output only. The LLM generated question.
  - `catalog` string — Required. Resource name of the catalog. Format: projects/{project}/locations/{location}/catalogs/{catalog}
  - `facet` string — Required. The facet to which the question is associated.
  - `frequency` number, float — Output only. The ratio of how often a question was asked.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/retail.md) · [All operations](https://skmtc.net/google/apis/retail/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/retail/versions/146c67e59640/schema)
