---
title: "POST /v2/{+parent}/generativeQuestion:batchUpdate"
method: POST
path: "/v2/{+parent}/generativeQuestion:batchUpdate"
tags: ["projects"]
---

# POST /v2/{+parent}/generativeQuestion:batchUpdate

`POST /v2/{+parent}/generativeQuestion:batchUpdate`

Allows management of multiple questions.

## Path parameters

- `parent` string, required

## Request body

- GoogleCloudRetailV2BatchUpdateGenerativeQuestionConfigsRequest — Request for BatchUpdateGenerativeQuestionConfig method.
  - `requests` GoogleCloudRetailV2UpdateGenerativeQuestionConfigRequest[] — Required. The updates question configs.
    - `updateMask` string, google-fieldmask — 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.
    - `generativeQuestionConfig` 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)
