projects

Manages overal generative question feature state -- enables toggling feature on and off.

patch/v2/{+catalog}/generativeQuestionFeature

Request

  • Base URL: https://retail.googleapis.com
  • URL: https://retail.googleapis.com/v2/{+catalog}/generativeQuestionFeature
  • Auth: OAuth 2 (implicit, authorization URL https://accounts.google.com/o/oauth2/auth, scopes: https://www.googleapis.com/auth/cloud-platform) and OAuth 2 (authorization code, authorization URL https://accounts.google.com/o/oauth2/auth, token URL https://accounts.google.com/o/oauth2/token, scopes: https://www.googleapis.com/auth/cloud-platform)

Path parameters

catalogstring required

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

Query parameters

updateMaskstring

Optional. Indicates which fields in the provided GenerativeQuestionsFeatureConfig to update. If not set or empty, all supported fields are updated.

Request body

catalogstring

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

featureEnabledboolean

Optional. Determines whether questions will be used at serving time. Note: This feature cannot be enabled until initial data requirements are satisfied.

minimumProductsinteger

Optional. Minimum number of products in the response to trigger follow-up questions. Value must be 0 or positive.

Response

Successful response

Changes

    • breaking

      removed the request body

    • breaking

      removed the media type */* for the response with the status