# Package Classes (2.11.0)

2.11.0 (latest) 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.25.0 1.24.0 1.23.1 1.22.0 1.21.2 1.20.1 1.19.1 1.18.0 1.17.0 1.16.3 1.15.1 1.14.1 1.13.0 1.12.0 1.11.0 1.10.2 1.9.0 1.8.1 1.7.0 1.6.1 1.5.0 1.4.1 1.3.0 1.2.1 1.1.0 1.0.2 0.4.2 0.3.1 0.2.0 0.1.0 Summary of entries of Classes for retail.

## Classes

### [AnalyticsServiceAsyncClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.services.analytics_service.AnalyticsServiceAsyncClient)

Service for managing \& accessing retail search business
metric. Retail recommendation business metric is currently not
available.

### [AnalyticsServiceClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.services.analytics_service.AnalyticsServiceClient)

Service for managing \& accessing retail search business
metric. Retail recommendation business metric is currently not
available.

### [CatalogServiceAsyncClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.services.catalog_service.CatalogServiceAsyncClient)

Service for managing catalog configuration.

### [CatalogServiceClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.services.catalog_service.CatalogServiceClient)

Service for managing catalog configuration.

### [ListCatalogsAsyncPager](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.services.catalog_service.pagers.ListCatalogsAsyncPager)

A pager for iterating through `list_catalogs` requests.

This class thinly wraps an initial
[ListCatalogsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ListCatalogsResponse) object, and
provides an `__aiter__` method to iterate through its
`catalogs` field.

If there are more pages, the `__aiter__` method will make additional
`ListCatalogs` requests and continue to iterate
through the `catalogs` field on the
corresponding responses.

All the usual [ListCatalogsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ListCatalogsResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [ListCatalogsPager](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.services.catalog_service.pagers.ListCatalogsPager)

A pager for iterating through `list_catalogs` requests.

This class thinly wraps an initial
[ListCatalogsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ListCatalogsResponse) object, and
provides an `__iter__` method to iterate through its
`catalogs` field.

If there are more pages, the `__iter__` method will make additional
`ListCatalogs` requests and continue to iterate
through the `catalogs` field on the
corresponding responses.

All the usual [ListCatalogsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ListCatalogsResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [CompletionServiceAsyncClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.services.completion_service.CompletionServiceAsyncClient)

Autocomplete service for retail.

This feature is only available for users who have Retail Search
enabled. Enable Retail Search on Cloud Console before using this
feature.

### [CompletionServiceClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.services.completion_service.CompletionServiceClient)

Autocomplete service for retail.

This feature is only available for users who have Retail Search
enabled. Enable Retail Search on Cloud Console before using this
feature.

### [ControlServiceAsyncClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.services.control_service.ControlServiceAsyncClient)

Service for modifying Control.

### [ControlServiceClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.services.control_service.ControlServiceClient)

Service for modifying Control.

### [ListControlsAsyncPager](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.services.control_service.pagers.ListControlsAsyncPager)

A pager for iterating through `list_controls` requests.

This class thinly wraps an initial
[ListControlsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ListControlsResponse) object, and
provides an `__aiter__` method to iterate through its
`controls` field.

If there are more pages, the `__aiter__` method will make additional
`ListControls` requests and continue to iterate
through the `controls` field on the
corresponding responses.

All the usual [ListControlsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ListControlsResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [ListControlsPager](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.services.control_service.pagers.ListControlsPager)

A pager for iterating through `list_controls` requests.

This class thinly wraps an initial
[ListControlsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ListControlsResponse) object, and
provides an `__iter__` method to iterate through its
`controls` field.

If there are more pages, the `__iter__` method will make additional
`ListControls` requests and continue to iterate
through the `controls` field on the
corresponding responses.

All the usual [ListControlsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ListControlsResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [ConversationalSearchServiceAsyncClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.services.conversational_search_service.ConversationalSearchServiceAsyncClient)

Service for retail conversational search.

This feature is only available for users who have Retail
Conversational Search enabled. Enable Retail Conversational
Search on Cloud Console before using this feature.

### [ConversationalSearchServiceClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.services.conversational_search_service.ConversationalSearchServiceClient)

Service for retail conversational search.

This feature is only available for users who have Retail
Conversational Search enabled. Enable Retail Conversational
Search on Cloud Console before using this feature.

### [GenerativeQuestionServiceAsyncClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.services.generative_question_service.GenerativeQuestionServiceAsyncClient)

Service for managing LLM generated questions in search
serving.

### [GenerativeQuestionServiceClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.services.generative_question_service.GenerativeQuestionServiceClient)

Service for managing LLM generated questions in search
serving.

### [ModelServiceAsyncClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.services.model_service.ModelServiceAsyncClient)

Service for performing CRUD operations on models. Recommendation
models contain all the metadata necessary to generate a set of
models for the `Predict()` API. A model is queried indirectly via
a ServingConfig, which associates a model with a given Placement
(e.g. Frequently Bought Together on Home Page).

This service allows you to do the following:

- Initiate training of a model.
- Pause training of an existing model.
- List all the available models along with their metadata.
- Control their tuning schedule.

### [ModelServiceClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.services.model_service.ModelServiceClient)

Service for performing CRUD operations on models. Recommendation
models contain all the metadata necessary to generate a set of
models for the `Predict()` API. A model is queried indirectly via
a ServingConfig, which associates a model with a given Placement
(e.g. Frequently Bought Together on Home Page).

This service allows you to do the following:

- Initiate training of a model.
- Pause training of an existing model.
- List all the available models along with their metadata.
- Control their tuning schedule.

### [ListModelsAsyncPager](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.services.model_service.pagers.ListModelsAsyncPager)

A pager for iterating through `list_models` requests.

This class thinly wraps an initial
[ListModelsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ListModelsResponse) object, and
provides an `__aiter__` method to iterate through its
`models` field.

If there are more pages, the `__aiter__` method will make additional
`ListModels` requests and continue to iterate
through the `models` field on the
corresponding responses.

All the usual [ListModelsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ListModelsResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [ListModelsPager](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.services.model_service.pagers.ListModelsPager)

A pager for iterating through `list_models` requests.

This class thinly wraps an initial
[ListModelsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ListModelsResponse) object, and
provides an `__iter__` method to iterate through its
`models` field.

If there are more pages, the `__iter__` method will make additional
`ListModels` requests and continue to iterate
through the `models` field on the
corresponding responses.

All the usual [ListModelsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ListModelsResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [PredictionServiceAsyncClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.services.prediction_service.PredictionServiceAsyncClient)

Service for making recommendation prediction.

### [PredictionServiceClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.services.prediction_service.PredictionServiceClient)

Service for making recommendation prediction.

### [ProductServiceAsyncClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.services.product_service.ProductServiceAsyncClient)

Service for ingesting Product
information of the customer's website.

### [ProductServiceClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.services.product_service.ProductServiceClient)

Service for ingesting Product
information of the customer's website.

### [ListProductsAsyncPager](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.services.product_service.pagers.ListProductsAsyncPager)

A pager for iterating through `list_products` requests.

This class thinly wraps an initial
[ListProductsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ListProductsResponse) object, and
provides an `__aiter__` method to iterate through its
`products` field.

If there are more pages, the `__aiter__` method will make additional
`ListProducts` requests and continue to iterate
through the `products` field on the
corresponding responses.

All the usual [ListProductsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ListProductsResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [ListProductsPager](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.services.product_service.pagers.ListProductsPager)

A pager for iterating through `list_products` requests.

This class thinly wraps an initial
[ListProductsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ListProductsResponse) object, and
provides an `__iter__` method to iterate through its
`products` field.

If there are more pages, the `__iter__` method will make additional
`ListProducts` requests and continue to iterate
through the `products` field on the
corresponding responses.

All the usual [ListProductsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ListProductsResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [SearchServiceAsyncClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.services.search_service.SearchServiceAsyncClient)

Service for search.

This feature is only available for users who have Retail Search
enabled. Enable Retail Search on Cloud Console before using this
feature.

### [SearchServiceClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.services.search_service.SearchServiceClient)

Service for search.

This feature is only available for users who have Retail Search
enabled. Enable Retail Search on Cloud Console before using this
feature.

### [SearchAsyncPager](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.services.search_service.pagers.SearchAsyncPager)

A pager for iterating through `search` requests.

This class thinly wraps an initial
[SearchResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.SearchResponse) object, and
provides an `__aiter__` method to iterate through its
`results` field.

If there are more pages, the `__aiter__` method will make additional
`Search` requests and continue to iterate
through the `results` field on the
corresponding responses.

All the usual [SearchResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.SearchResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [SearchPager](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.services.search_service.pagers.SearchPager)

A pager for iterating through `search` requests.

This class thinly wraps an initial
[SearchResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.SearchResponse) object, and
provides an `__iter__` method to iterate through its
`results` field.

If there are more pages, the `__iter__` method will make additional
`Search` requests and continue to iterate
through the `results` field on the
corresponding responses.

All the usual [SearchResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.SearchResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [ServingConfigServiceAsyncClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.services.serving_config_service.ServingConfigServiceAsyncClient)

Service for modifying ServingConfig.

### [ServingConfigServiceClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.services.serving_config_service.ServingConfigServiceClient)

Service for modifying ServingConfig.

### [ListServingConfigsAsyncPager](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.services.serving_config_service.pagers.ListServingConfigsAsyncPager)

A pager for iterating through `list_serving_configs` requests.

This class thinly wraps an initial
[ListServingConfigsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ListServingConfigsResponse) object, and
provides an `__aiter__` method to iterate through its
`serving_configs` field.

If there are more pages, the `__aiter__` method will make additional
`ListServingConfigs` requests and continue to iterate
through the `serving_configs` field on the
corresponding responses.

All the usual [ListServingConfigsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ListServingConfigsResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [ListServingConfigsPager](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.services.serving_config_service.pagers.ListServingConfigsPager)

A pager for iterating through `list_serving_configs` requests.

This class thinly wraps an initial
[ListServingConfigsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ListServingConfigsResponse) object, and
provides an `__iter__` method to iterate through its
`serving_configs` field.

If there are more pages, the `__iter__` method will make additional
`ListServingConfigs` requests and continue to iterate
through the `serving_configs` field on the
corresponding responses.

All the usual [ListServingConfigsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ListServingConfigsResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [UserEventServiceAsyncClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.services.user_event_service.UserEventServiceAsyncClient)

Service for ingesting end user actions on the customer
website.

### [UserEventServiceClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.services.user_event_service.UserEventServiceClient)

Service for ingesting end user actions on the customer
website.

### [AddCatalogAttributeRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.AddCatalogAttributeRequest)

Request for
CatalogService.AddCatalogAttribute
method.

### [AddControlRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.AddControlRequest)

Request for AddControl method.

### [AddFulfillmentPlacesMetadata](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.AddFulfillmentPlacesMetadata)

Metadata related to the progress of the AddFulfillmentPlaces
operation. Currently empty because there is no meaningful metadata
populated from the
ProductService.AddFulfillmentPlaces
method.

### [AddFulfillmentPlacesRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.AddFulfillmentPlacesRequest)

Request message for
ProductService.AddFulfillmentPlaces
method.

### [AddFulfillmentPlacesResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.AddFulfillmentPlacesResponse)

Response of the AddFulfillmentPlacesRequest. Currently empty because
there is no meaningful response populated from the
ProductService.AddFulfillmentPlaces
method.

### [AddLocalInventoriesMetadata](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.AddLocalInventoriesMetadata)

Metadata related to the progress of the AddLocalInventories
operation. Currently empty because there is no meaningful metadata
populated from the
ProductService.AddLocalInventories
method.

### [AddLocalInventoriesRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.AddLocalInventoriesRequest)

Request message for
ProductService.AddLocalInventories
method.

### [AddLocalInventoriesResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.AddLocalInventoriesResponse)

Response of the
ProductService.AddLocalInventories
API. Currently empty because there is no meaningful response
populated from the
ProductService.AddLocalInventories
method.

### [AttributeConfigLevel](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.AttributeConfigLevel)

At which level we offer configuration for attributes.

### [AttributesConfig](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.AttributesConfig)

Catalog level attribute config.

### [CatalogAttributesEntry](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.AttributesConfig.CatalogAttributesEntry)

The abstract base class for a message.

### [Audience](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.Audience)

An intended audience of the
Product for whom it's sold.

### [BatchUpdateGenerativeQuestionConfigsRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.BatchUpdateGenerativeQuestionConfigsRequest)

Request for BatchUpdateGenerativeQuestionConfig method.

### [BatchUpdateGenerativeQuestionConfigsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.BatchUpdateGenerativeQuestionConfigsResponse)

Aggregated response for UpdateGenerativeQuestionConfig
method.

### [BigQueryOutputResult](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.BigQueryOutputResult)

A BigQuery output result.

### [BigQuerySource](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.BigQuerySource)

BigQuery source import data from.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [Catalog](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.Catalog)

The catalog configuration.

### [CatalogAttribute](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.CatalogAttribute)

Catalog level attribute config for an attribute. For example,
if customers want to enable/disable facet for a specific
attribute.

### [AttributeType](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.CatalogAttribute.AttributeType)

The type of an attribute.

        Used when type cannot be derived from attribute that is not
        <xref uid="google.cloud.retail.v2.CatalogAttribute.in_use">in_use</xref>.
    TEXTUAL (1):
        Textual attribute.
    NUMERICAL (2):
        Numerical attribute.

### [DynamicFacetableOption](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.CatalogAttribute.DynamicFacetableOption)

The status of the dynamic facetable option of a catalog
attribute.

### [ExactSearchableOption](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.CatalogAttribute.ExactSearchableOption)

The status of the exact-searchable option of a catalog
attribute.

### [FacetConfig](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.CatalogAttribute.FacetConfig)

Possible options for the facet that corresponds to the
current attribute config.

### [IgnoredFacetValues](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.CatalogAttribute.FacetConfig.IgnoredFacetValues)

Facet values
to ignore on facets
during the specified time range for the given
SearchResponse.Facet.key
attribute.

### [MergedFacet](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.CatalogAttribute.FacetConfig.MergedFacet)

The current facet key (i.e. attribute config) maps into the
merged_facet_key.
A facet key can have at most one child. The current facet key and
the merged facet key need both to be textual custom attributes or
both numerical custom attributes (same type).

### [MergedFacetValue](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.CatalogAttribute.FacetConfig.MergedFacetValue)

Replaces a set of textual facet values by the same (possibly
different) merged facet value. Each facet value should appear at
most once as a value per
CatalogAttribute. This
feature is available only for textual custom attributes.

### [RerankConfig](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.CatalogAttribute.FacetConfig.RerankConfig)

Options to rerank based on facet values engaged by the user for the
current key. That key needs to be a custom textual key and
facetable. To use this control, you also need to pass all the facet
keys engaged by the user in the request using the field
\[SearchRequest.FacetSpec\]. In particular, if you don't pass the
facet keys engaged that you want to rerank on, this control won't be
effective. Moreover, to obtain better results, the facet values that
you want to rerank on should be close to English (ideally made of
words, underscores, and spaces).

### [IndexableOption](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.CatalogAttribute.IndexableOption)

The status of the indexable option of a catalog attribute.

### [RetrievableOption](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.CatalogAttribute.RetrievableOption)

The status of the retrievable option of a catalog attribute.

### [SearchableOption](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.CatalogAttribute.SearchableOption)

The status of the searchable option of a catalog attribute.

### [CollectUserEventRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.CollectUserEventRequest)

Request message for CollectUserEvent method.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [ColorInfo](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ColorInfo)

The color information of a
Product.

### [CompleteQueryRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.CompleteQueryRequest)

Autocomplete parameters.

### [CompleteQueryResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.CompleteQueryResponse)

Response of the autocomplete query.

### [AttributeResult](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.CompleteQueryResponse.AttributeResult)

Resource that represents attribute results.

### [AttributeResultsEntry](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.CompleteQueryResponse.AttributeResultsEntry)

The abstract base class for a message.

### [CompletionResult](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.CompleteQueryResponse.CompletionResult)

Resource that represents completion results.

### [AttributesEntry](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.CompleteQueryResponse.CompletionResult.AttributesEntry)

The abstract base class for a message.

### [RecentSearchResult](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.CompleteQueryResponse.RecentSearchResult)

Deprecated: Recent search of this user.

### [CompletionConfig](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.CompletionConfig)

Catalog level autocomplete config for customers to customize
autocomplete feature's settings.

### [CompletionDataInputConfig](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.CompletionDataInputConfig)

The input config source for completion data.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [CompletionDetail](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.CompletionDetail)

Detailed completion information including completion
attribution token and clicked completion info.

### [Condition](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.Condition)

Metadata that is used to define a condition that triggers an action.
A valid condition must specify at least one of 'query_terms' or
'products_filter'. If multiple fields are specified, the condition
is met if all the fields are satisfied e.g. if a set of query terms
and product_filter are set, then only items matching the
product_filter for requests with a query matching the query terms
wil get boosted.

### [QueryTerm](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.Condition.QueryTerm)

Query terms that we want to match on.

### [TimeRange](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.Condition.TimeRange)

Used for time-dependent conditions.
Example: Want to have rule applied for week long sale.

### [Control](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.Control)

Configures dynamic metadata that can be linked to a
ServingConfig and affect
search or recommendation results at serving time.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [ConversationalSearchRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ConversationalSearchRequest)

Request message for
ConversationalSearchService.ConversationalSearch
method.

### [ConversationalFilteringSpec](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ConversationalSearchRequest.ConversationalFilteringSpec)

This field specifies all conversational filtering related
parameters addition to conversational retail search.

### [Mode](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ConversationalSearchRequest.ConversationalFilteringSpec.Mode)

Enum to control Conversational Filtering mode.
A single conversation session including multiple turns supports
modes for Conversational Search OR Conversational Filtering
without Conversational Search, but not both.

### [SearchParams](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ConversationalSearchRequest.SearchParams)

Search parameters.

### [UserAnswer](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ConversationalSearchRequest.UserAnswer)

This field specifies the current user answer during the
conversational filtering search. This can be either user
selected from suggested answers or user input plain text.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [SelectedAnswer](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ConversationalSearchRequest.UserAnswer.SelectedAnswer)

This field specifies the selected answers during the
conversational search.

### [UserLabelsEntry](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ConversationalSearchRequest.UserLabelsEntry)

The abstract base class for a message.

### [ConversationalSearchResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ConversationalSearchResponse)

Response message for
ConversationalSearchService.ConversationalSearch
method.

### [ConversationalFilteringResult](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ConversationalSearchResponse.ConversationalFilteringResult)

This field specifies all related information that is needed
on client side for UI rendering of conversational filtering
search.

### [AdditionalFilter](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ConversationalSearchResponse.ConversationalFilteringResult.AdditionalFilter)

Additional filter that client side need to apply.

### [FollowupQuestion](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ConversationalSearchResponse.FollowupQuestion)

The conversational followup question generated for Intent
refinement.

### [SuggestedAnswer](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ConversationalSearchResponse.FollowupQuestion.SuggestedAnswer)

Suggested answers to the follow-up question.
If it's numerical attribute, only ProductAttributeInterval will
be set. If it's textual attribute, only productAttributeValue
will be set.

### [RefinedSearch](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ConversationalSearchResponse.RefinedSearch)

The proposed refined search for intent-refinement/bundled shopping
conversation. When using CONVERSATIONAL_FILTER_ONLY mode, the
refined_query from search response will be populated here.

### [State](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ConversationalSearchResponse.State)

The state of the response generation.

### [CreateControlRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.CreateControlRequest)

Request for CreateControl method.

### [CreateModelMetadata](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.CreateModelMetadata)

Metadata associated with a create operation.

### [CreateModelRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.CreateModelRequest)

Request for creating a model.

### [CreateProductRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.CreateProductRequest)

Request message for
ProductService.CreateProduct
method.

### [CreateServingConfigRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.CreateServingConfigRequest)

Request for CreateServingConfig method.

### [CustomAttribute](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.CustomAttribute)

A custom attribute that is not explicitly modeled in
Product.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [DeleteControlRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.DeleteControlRequest)

Request for DeleteControl method.

### [DeleteModelRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.DeleteModelRequest)

Request for deleting a model.

### [DeleteProductRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.DeleteProductRequest)

Request message for
ProductService.DeleteProduct
method.

### [DeleteServingConfigRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.DeleteServingConfigRequest)

Request for DeleteServingConfig method.

### [DoubleList](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.DoubleList)

A message with a list of double values.

### [ExperimentInfo](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ExperimentInfo)

Metadata for active A/B testing experiment.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [ServingConfigExperiment](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ExperimentInfo.ServingConfigExperiment)

Metadata for active serving config A/B tests.

### [ExportAnalyticsMetricsRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ExportAnalyticsMetricsRequest)

Request message for the `ExportAnalyticsMetrics` method.

### [ExportAnalyticsMetricsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ExportAnalyticsMetricsResponse)

Response of the ExportAnalyticsMetricsRequest. If the long
running operation was successful, then this message is returned
by the google.longrunning.Operations.response field if the
operation was successful.

### [ExportErrorsConfig](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ExportErrorsConfig)

Configuration of destination for Export related errors.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [ExportMetadata](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ExportMetadata)

Metadata related to the progress of the Export operation.
This is returned by the google.longrunning.Operation.metadata
field.

### [FulfillmentInfo](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.FulfillmentInfo)

Fulfillment information, such as the store IDs for in-store
pickup or region IDs for different shipping methods.

### [GcsOutputResult](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.GcsOutputResult)

A Gcs output result.

### [GcsSource](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.GcsSource)

Google Cloud Storage location for input content.

### [GenerativeQuestionConfig](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.GenerativeQuestionConfig)

Configuration for a single generated question.

### [GenerativeQuestionsFeatureConfig](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.GenerativeQuestionsFeatureConfig)

Configuration for overall generative question feature state.

### [GetAttributesConfigRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.GetAttributesConfigRequest)

Request for
CatalogService.GetAttributesConfig
method.

### [GetCompletionConfigRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.GetCompletionConfigRequest)

Request for
CatalogService.GetCompletionConfig
method.

### [GetControlRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.GetControlRequest)

Request for GetControl method.

### [GetDefaultBranchRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.GetDefaultBranchRequest)

Request message to show which branch is currently the default
branch.

### [GetDefaultBranchResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.GetDefaultBranchResponse)

Response message of
CatalogService.GetDefaultBranch.

### [GetGenerativeQuestionsFeatureConfigRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.GetGenerativeQuestionsFeatureConfigRequest)

Request for GetGenerativeQuestionsFeatureConfig method.

### [GetModelRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.GetModelRequest)

Request for getting a model.

### [GetProductRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.GetProductRequest)

Request message for
ProductService.GetProduct
method.

### [GetServingConfigRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.GetServingConfigRequest)

Request for GetServingConfig method.

### [HarmCategory](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.HarmCategory)

Harm categories that will block the content.

### [Image](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.Image)

Product image. Recommendations AI
and Retail Search use product images to improve prediction and
search results. Product images can be returned in results, and are
shown in prediction or search previews in the console. Please try to
provide correct product images and avoid using images with size too
small.

### [ImportCompletionDataRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ImportCompletionDataRequest)

Request message for ImportCompletionData methods.

### [ImportCompletionDataResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ImportCompletionDataResponse)

Response of the
ImportCompletionDataRequest.
If the long running operation is done, this message is returned by
the google.longrunning.Operations.response field if the operation is
successful.

### [ImportErrorsConfig](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ImportErrorsConfig)

Configuration of destination for Import related errors.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [ImportMetadata](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ImportMetadata)

Metadata related to the progress of the Import operation.
This is returned by the google.longrunning.Operation.metadata
field.

### [ImportProductsRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ImportProductsRequest)

Request message for Import methods.

### [ReconciliationMode](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ImportProductsRequest.ReconciliationMode)

Indicates how imported products are reconciled with the
existing products created or imported before.

### [ImportProductsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ImportProductsResponse)

Response of the
ImportProductsRequest.
If the long running operation is done, then this message is returned
by the google.longrunning.Operations.response field if the operation
was successful.

### [ImportUserEventsRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ImportUserEventsRequest)

Request message for the ImportUserEvents request.

### [ImportUserEventsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ImportUserEventsResponse)

Response of the ImportUserEventsRequest. If the long running
operation was successful, then this message is returned by the
google.longrunning.Operations.response field if the operation
was successful.

### [Interval](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.Interval)

A floating point interval.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [ListCatalogsRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ListCatalogsRequest)

Request for
CatalogService.ListCatalogs
method.

### [ListCatalogsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ListCatalogsResponse)

Response for
CatalogService.ListCatalogs
method.

### [ListControlsRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ListControlsRequest)

Request for ListControls method.

### [ListControlsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ListControlsResponse)

Response for ListControls method.

### [ListGenerativeQuestionConfigsRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ListGenerativeQuestionConfigsRequest)

Request for ListQuestions method.

### [ListGenerativeQuestionConfigsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ListGenerativeQuestionConfigsResponse)

Response for ListQuestions method.

### [ListModelsRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ListModelsRequest)

Request for listing models associated with a resource.

### [ListModelsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ListModelsResponse)

Response to a ListModelRequest.

### [ListProductsRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ListProductsRequest)

Request message for
ProductService.ListProducts
method.

### [ListProductsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ListProductsResponse)

Response message for
ProductService.ListProducts
method.

### [ListServingConfigsRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ListServingConfigsRequest)

Request for ListServingConfigs method.

### [ListServingConfigsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ListServingConfigsResponse)

Response for ListServingConfigs method.

### [LocalInventory](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.LocalInventory)

The inventory information at a place (e.g. a store)
identified by a place ID.

### [AttributesEntry](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.LocalInventory.AttributesEntry)

The abstract base class for a message.

### [Model](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.Model)

Metadata that describes the training and serving parameters of a
Model. A
Model can be associated with a
ServingConfig and then
queried through the Predict API.

### [ContextProductsType](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.Model.ContextProductsType)

Use single or multiple context products for recommendations.

### [DataState](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.Model.DataState)

Describes whether this model have sufficient training data
to be continuously trained.

### [FrequentlyBoughtTogetherFeaturesConfig](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.Model.FrequentlyBoughtTogetherFeaturesConfig)

Additional configs for the frequently-bought-together model
type.

### [ModelFeaturesConfig](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.Model.ModelFeaturesConfig)

Additional model features config.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [PeriodicTuningState](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.Model.PeriodicTuningState)

Describes whether periodic tuning is enabled for this model or not.
Periodic tuning is scheduled at most every three months. You can
start a tuning process manually by using the `TuneModel` method,
which starts a tuning process immediately and resets the quarterly
schedule. Enabling or disabling periodic tuning does not affect any
current tuning processes.

### [ServingConfigList](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.Model.ServingConfigList)

Represents an ordered combination of valid serving configs, which
can be used for `PAGE_OPTIMIZATION` recommendations.

### [ServingState](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.Model.ServingState)

The serving state of the model.

### [TrainingState](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.Model.TrainingState)

The training state of the model.

### [OutputConfig](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.OutputConfig)

The output configuration setting.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [BigQueryDestination](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.OutputConfig.BigQueryDestination)

The BigQuery output destination configuration.

### [GcsDestination](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.OutputConfig.GcsDestination)

The Google Cloud Storage output destination configuration.

### [OutputResult](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.OutputResult)

Output result that stores the information about where the
exported data is stored.

### [PauseModelRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.PauseModelRequest)

Request for pausing training of a model.

### [PinControlMetadata](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.PinControlMetadata)

Metadata for pinning to be returned in the response.
This is used for distinguishing between applied vs dropped pins.

### [AllMatchedPinsEntry](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.PinControlMetadata.AllMatchedPinsEntry)

The abstract base class for a message.

### [DroppedPinsEntry](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.PinControlMetadata.DroppedPinsEntry)

The abstract base class for a message.

### [ProductPins](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.PinControlMetadata.ProductPins)

List of product ids which have associated pins.

### [PredictRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.PredictRequest)

Request message for Predict method.

### [LabelsEntry](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.PredictRequest.LabelsEntry)

The abstract base class for a message.

### [ParamsEntry](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.PredictRequest.ParamsEntry)

The abstract base class for a message.

### [PredictResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.PredictResponse)

Response message for predict method.

### [PredictionResult](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.PredictResponse.PredictionResult)

PredictionResult represents the recommendation prediction
results.

### [MetadataEntry](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.PredictResponse.PredictionResult.MetadataEntry)

The abstract base class for a message.

### [PriceInfo](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.PriceInfo)

The price information of a
Product.

### [PriceRange](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.PriceInfo.PriceRange)

The price range of all
variant
Product having the same
Product.primary_product_id.

### [Product](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.Product)

Product captures all metadata information of items to be
recommended or searched.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [AttributesEntry](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.Product.AttributesEntry)

The abstract base class for a message.

### [Availability](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.Product.Availability)

Product availability. If this field is unspecified, the
product is assumed to be in stock.

### [Type](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.Product.Type)

The type of this product.

        As the primary unit for predicting, indexing and search
        serving, a
        <xref uid="google.cloud.retail.v2.Product.Type.PRIMARY">Type.PRIMARY</xref>
        <xref uid="google.cloud.retail.v2.Product">Product</xref> is grouped with
        multiple
        <xref uid="google.cloud.retail.v2.Product.Type.VARIANT">Type.VARIANT</xref>
        <xref uid="google.cloud.retail.v2.Product">Product</xref>s.
    VARIANT (2):
        The variant type.

        <xref uid="google.cloud.retail.v2.Product.Type.VARIANT">Type.VARIANT</xref>
        <xref uid="google.cloud.retail.v2.Product">Product</xref>s usually share
        some common attributes on the same
        <xref uid="google.cloud.retail.v2.Product.Type.PRIMARY">Type.PRIMARY</xref>
        <xref uid="google.cloud.retail.v2.Product">Product</xref>s, but they have
        variant attributes like different colors, sizes and prices,
        etc.
    COLLECTION (3):
        The collection type. Collection products are bundled
        <xref uid="google.cloud.retail.v2.Product.Type.PRIMARY">Type.PRIMARY</xref>
        <xref uid="google.cloud.retail.v2.Product">Product</xref>s or
        <xref uid="google.cloud.retail.v2.Product.Type.VARIANT">Type.VARIANT</xref>
        <xref uid="google.cloud.retail.v2.Product">Product</xref>s that are sold
        together, such as a jewelry set with necklaces, earrings and
        rings, etc.

### [ProductAttributeInterval](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ProductAttributeInterval)

Product attribute name and numeric interval.

### [ProductAttributeValue](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ProductAttributeValue)

Product attribute which structured by an attribute name and value.
This structure is used in conversational search filters and answers.
For example, if we have `name=color` and `value=red`, this means
that the color is `red`.

### [ProductDetail](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ProductDetail)

Detailed product information associated with a user event.

### [ProductInlineSource](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ProductInlineSource)

The inline source for the input config for ImportProducts
method.

### [ProductInputConfig](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ProductInputConfig)

The input config source for products.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [ProductLevelConfig](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ProductLevelConfig)

Configures what level the product should be uploaded with
regards to how users will be send events and how predictions
will be made.

### [Promotion](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.Promotion)

Promotion information.

### [PurchaseTransaction](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.PurchaseTransaction)

A transaction represents the entire purchase transaction.

### [PurgeMetadata](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.PurgeMetadata)

Metadata related to the progress of the Purge operation.
This will be returned by the
google.longrunning.Operation.metadata field.

### [PurgeProductsMetadata](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.PurgeProductsMetadata)

Metadata related to the progress of the PurgeProducts
operation. This will be returned by the
google.longrunning.Operation.metadata field.

### [PurgeProductsRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.PurgeProductsRequest)

Request message for PurgeProducts method.

### [PurgeProductsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.PurgeProductsResponse)

Response of the PurgeProductsRequest. If the long running
operation is successfully done, then this message is returned by
the google.longrunning.Operations.response field.

### [PurgeUserEventsRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.PurgeUserEventsRequest)

Request message for PurgeUserEvents method.

### [PurgeUserEventsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.PurgeUserEventsResponse)

Response of the PurgeUserEventsRequest. If the long running
operation is successfully done, then this message is returned by
the google.longrunning.Operations.response field.

### [Rating](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.Rating)

The rating of a Product.

### [RecommendationsFilteringOption](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.RecommendationsFilteringOption)

If filtering for recommendations is enabled.

### [RejoinUserEventsMetadata](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.RejoinUserEventsMetadata)

Metadata for `RejoinUserEvents` method.

### [RejoinUserEventsRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.RejoinUserEventsRequest)

Request message for RejoinUserEvents method.

### [UserEventRejoinScope](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.RejoinUserEventsRequest.UserEventRejoinScope)

The scope of user events to be rejoined with the latest product
catalog. If the rejoining aims at reducing number of unjoined
events, set `UserEventRejoinScope` to `UNJOINED_EVENTS`. If the
rejoining aims at correcting product catalog information in joined
events, set `UserEventRejoinScope` to `JOINED_EVENTS`. If all
events needs to be rejoined, set `UserEventRejoinScope` to
`USER_EVENT_REJOIN_SCOPE_UNSPECIFIED`.

### [RejoinUserEventsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.RejoinUserEventsResponse)

Response message for `RejoinUserEvents` method.

### [RemoveCatalogAttributeRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.RemoveCatalogAttributeRequest)

Request for
CatalogService.RemoveCatalogAttribute
method.

### [RemoveControlRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.RemoveControlRequest)

Request for RemoveControl method.

### [RemoveFulfillmentPlacesMetadata](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.RemoveFulfillmentPlacesMetadata)

Metadata related to the progress of the RemoveFulfillmentPlaces
operation. Currently empty because there is no meaningful metadata
populated from the
ProductService.RemoveFulfillmentPlaces
method.

### [RemoveFulfillmentPlacesRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.RemoveFulfillmentPlacesRequest)

Request message for
ProductService.RemoveFulfillmentPlaces
method.

### [RemoveFulfillmentPlacesResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.RemoveFulfillmentPlacesResponse)

Response of the RemoveFulfillmentPlacesRequest. Currently empty
because there is no meaningful response populated from the
ProductService.RemoveFulfillmentPlaces
method.

### [RemoveLocalInventoriesMetadata](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.RemoveLocalInventoriesMetadata)

Metadata related to the progress of the RemoveLocalInventories
operation. Currently empty because there is no meaningful metadata
populated from the
ProductService.RemoveLocalInventories
method.

### [RemoveLocalInventoriesRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.RemoveLocalInventoriesRequest)

Request message for
ProductService.RemoveLocalInventories
method.

### [RemoveLocalInventoriesResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.RemoveLocalInventoriesResponse)

Response of the
ProductService.RemoveLocalInventories
API. Currently empty because there is no meaningful response
populated from the
ProductService.RemoveLocalInventories
method.

### [ReplaceCatalogAttributeRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ReplaceCatalogAttributeRequest)

Request for
CatalogService.ReplaceCatalogAttribute
method.

### [ResumeModelRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ResumeModelRequest)

Request for resuming training of a model.

### [Rule](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.Rule)

A rule is a condition-action pair

- A condition defines when a rule is to be triggered.
- An action specifies what occurs on that trigger. Currently rules only work for controls with SOLUTION_TYPE_SEARCH.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [BoostAction](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.Rule.BoostAction)

A boost action to apply to results matching condition
specified above.

### [DoNotAssociateAction](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.Rule.DoNotAssociateAction)

Prevents `query_term` from being associated with specified terms
during search. Example: Don't associate "gShoe" and "cheap".

### [FilterAction](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.Rule.FilterAction)

- Rule Condition:

  - No Condition.query_terms provided is a global match.
  - 1 or more Condition.query_terms provided are combined with OR operator.
- Action Input: The request query and filter that are applied to the
  retrieved products, in addition to any filters already provided
  with the SearchRequest. The AND operator is used to combine the
  query's existing filters with the filter rule(s). NOTE: May result
  in 0 results when filters conflict.

- Action Result: Filters the returned objects to be ONLY those that
  passed the filter.

### [ForceReturnFacetAction](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.Rule.ForceReturnFacetAction)

Force returns an attribute/facet in the request around a certain
position or above.

- Rule Condition: Must specify non-empty
  Condition.query_terms
  (for search only) or
  Condition.page_categories
  (for browse only), but can't specify both.

- Action Inputs: attribute name, position

- Action Result: Will force return a facet key around a certain
  position or above if the condition is satisfied.

Example: Suppose the query is "shoes", the
Condition.query_terms
is "shoes", the
ForceReturnFacetAction.FacetPositionAdjustment.attribute_name
is "size" and the
ForceReturnFacetAction.FacetPositionAdjustment.position
is 8.

Two cases: a) The facet key "size" is not already in the top 8
slots, then the facet "size" will appear at a position close to 8.
b) The facet key "size" in among the top 8 positions in the request,
then it will stay at its current rank.

### [FacetPositionAdjustment](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.Rule.ForceReturnFacetAction.FacetPositionAdjustment)

Each facet position adjustment consists of a single attribute
name (i.e. facet key) along with a specified position.

### [IgnoreAction](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.Rule.IgnoreAction)

Prevents a term in the query from being used in search.
Example: Don't search for "shoddy".

### [OnewaySynonymsAction](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.Rule.OnewaySynonymsAction)

Maps a set of terms to a set of synonyms. Set of synonyms will be
treated as synonyms of each query term only. `query_terms` will
not be treated as synonyms of each other. Example: "sneakers" will
use a synonym of "shoes". "shoes" will not use a synonym of
"sneakers".

### [PinAction](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.Rule.PinAction)

Pins one or more specified products to a specific position in the
results.

- Rule Condition: Must specify non-empty
  Condition.query_terms
  (for search only) or
  Condition.page_categories
  (for browse only), but can't specify both.

- Action Input: mapping of `[pin_position, product_id]` pairs (pin
  position uses 1-based indexing).

- Action Result: Will pin products with matching ids to the position
  specified in the final result order.

Example: Suppose the query is `shoes`, the
Condition.query_terms
is `shoes` and the pin_map has `{1, "pid1"}`, then product with
`pid1` will be pinned to the top position in the final results.

If multiple PinActions are matched to a single request the actions
will be processed from most to least recently updated.

Pins to positions larger than the max allowed page size of 120 are
not allowed.

### [PinMapEntry](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.Rule.PinAction.PinMapEntry)

The abstract base class for a message.

### [RedirectAction](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.Rule.RedirectAction)

Redirects a shopper to a specific page.

- Rule Condition: Must specify Condition.query_terms.
- Action Input: Request Query
- Action Result: Redirects shopper to provided uri.

### [RemoveFacetAction](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.Rule.RemoveFacetAction)

Removes an attribute/facet in the request if is present.

- Rule Condition: Must specify non-empty
  Condition.query_terms
  (for search only) or
  Condition.page_categories
  (for browse only), but can't specify both.

- Action Input: attribute name

- Action Result: Will remove the attribute (as a facet) from the
  request if it is present.

Example: Suppose the query is "shoes", the
Condition.query_terms
is "shoes" and the attribute name "size", then facet key "size" will
be removed from the request (if it is present).

### [ReplacementAction](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.Rule.ReplacementAction)

Replaces a term in the query. Multiple replacement candidates can be
specified. All `query_terms` will be replaced with the replacement
term. Example: Replace "gShoe" with "google shoe".

### [TwowaySynonymsAction](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.Rule.TwowaySynonymsAction)

Creates a set of terms that will be treated as synonyms of each
other. Example: synonyms of "sneakers" and "shoes":

- "sneakers" will use a synonym of "shoes".
- "shoes" will use a synonym of "sneakers".

### [SafetySetting](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.SafetySetting)

Safety settings.

### [HarmBlockMethod](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.SafetySetting.HarmBlockMethod)

Probability vs severity.

### [HarmBlockThreshold](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.SafetySetting.HarmBlockThreshold)

Probability based thresholds levels for blocking.

### [SearchRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.SearchRequest)

Request message for
SearchService.Search
method.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [BoostSpec](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.SearchRequest.BoostSpec)

Boost specification to boost certain items.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [ConditionBoostSpec](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.SearchRequest.BoostSpec.ConditionBoostSpec)

Boost applies to products which match a condition.

### [ConversationalSearchSpec](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.SearchRequest.ConversationalSearchSpec)

This field specifies all conversational related parameters
addition to traditional retail search.

### [UserAnswer](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.SearchRequest.ConversationalSearchSpec.UserAnswer)

This field specifies the current user answer during the
conversational search. This can be either user selected from
suggested answers or user input plain text.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [SelectedAnswer](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer)

This field specifies the selected answers during the
conversational search.

### [DynamicFacetSpec](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.SearchRequest.DynamicFacetSpec)

The specifications of dynamically generated facets.

### [Mode](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.SearchRequest.DynamicFacetSpec.Mode)

Enum to control DynamicFacet mode

### [FacetSpec](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.SearchRequest.FacetSpec)

A facet specification to perform faceted search.

### [FacetKey](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.SearchRequest.FacetSpec.FacetKey)

Specifies how a facet is computed.

### [LabelsEntry](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.SearchRequest.LabelsEntry)

The abstract base class for a message.

### [PersonalizationSpec](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.SearchRequest.PersonalizationSpec)

The specification for personalization.

### [Mode](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.SearchRequest.PersonalizationSpec.Mode)

The personalization mode of each search request.

### [QueryExpansionSpec](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.SearchRequest.QueryExpansionSpec)

Specification to determine under which conditions query
expansion should occur.

### [Condition](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.SearchRequest.QueryExpansionSpec.Condition)

Enum describing under which condition query expansion should
occur.

### [SearchMode](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.SearchRequest.SearchMode)

The search mode of each search request.

        Only
        <xref uid="google.cloud.retail.v2.SearchResponse.SearchResult">SearchResponse.SearchResult</xref>
        will be returned.
        <xref uid="google.cloud.retail.v2.SearchResponse.Facet">SearchResponse.Facet</xref>
        will not be returned, even if
        <xref uid="google.cloud.retail.v2.SearchRequest.facet_specs">SearchRequest.facet_specs</xref>
        or
        <xref uid="google.cloud.retail.v2.SearchRequest.dynamic_facet_spec">SearchRequest.dynamic_facet_spec</xref>
        is set.
    FACETED_SEARCH_ONLY (2):
        Only faceted search will be performed. The product search
        will be disabled.

        When in this mode, one or both of
        <xref uid="google.cloud.retail.v2.SearchRequest.facet_specs">SearchRequest.facet_specs</xref>
        and
        <xref uid="google.cloud.retail.v2.SearchRequest.dynamic_facet_spec">SearchRequest.dynamic_facet_spec</xref>
        should be set. Otherwise, an INVALID_ARGUMENT error is
        returned. Only
        <xref uid="google.cloud.retail.v2.SearchResponse.Facet">SearchResponse.Facet</xref>
        will be returned.
        <xref uid="google.cloud.retail.v2.SearchResponse.SearchResult">SearchResponse.SearchResult</xref>
        will not be returned.

### [SpellCorrectionSpec](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.SearchRequest.SpellCorrectionSpec)

The specification for query spell correction.

### [Mode](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.SearchRequest.SpellCorrectionSpec.Mode)

Enum describing under which mode spell correction should
occur.

### [TileNavigationSpec](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.SearchRequest.TileNavigationSpec)

This field specifies tile navigation related parameters.

### [UserAttributesEntry](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.SearchRequest.UserAttributesEntry)

The abstract base class for a message.

### [SearchResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.SearchResponse)

Response message for
SearchService.Search
method.

### [ConversationalSearchResult](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.SearchResponse.ConversationalSearchResult)

This field specifies all related information that is needed
on client side for UI rendering of conversational retail search.

### [AdditionalFilter](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.SearchResponse.ConversationalSearchResult.AdditionalFilter)

Additional filter that client side need to apply.

### [SuggestedAnswer](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.SearchResponse.ConversationalSearchResult.SuggestedAnswer)

Suggested answers to the follow-up question.

### [Facet](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.SearchResponse.Facet)

A facet result.

### [FacetValue](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.SearchResponse.Facet.FacetValue)

A facet value which contains value names and their count.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [QueryExpansionInfo](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.SearchResponse.QueryExpansionInfo)

Information describing query expansion including whether
expansion has occurred.

### [SearchResult](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.SearchResponse.SearchResult)

Represents the search results.

### [MatchingVariantFieldsEntry](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.SearchResponse.SearchResult.MatchingVariantFieldsEntry)

The abstract base class for a message.

### [ModelScoresEntry](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.SearchResponse.SearchResult.ModelScoresEntry)

The abstract base class for a message.

### [VariantRollupValuesEntry](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.SearchResponse.SearchResult.VariantRollupValuesEntry)

The abstract base class for a message.

### [TileNavigationResult](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.SearchResponse.TileNavigationResult)

This field specifies all related information for tile
navigation that will be used in client side.

### [SearchSolutionUseCase](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.SearchSolutionUseCase)

The use case of Cloud Retail Search.

### [ServingConfig](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ServingConfig)

Configures metadata that is used to generate serving time
results (e.g. search results or recommendation predictions).

### [DiversityType](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.ServingConfig.DiversityType)

What type of diversity - data or rule based.

### [SetDefaultBranchRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.SetDefaultBranchRequest)

Request message to set a specified branch as new default_branch.

### [SetInventoryMetadata](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.SetInventoryMetadata)

Metadata related to the progress of the SetInventory operation.
Currently empty because there is no meaningful metadata populated
from the
ProductService.SetInventory
method.

### [SetInventoryRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.SetInventoryRequest)

Request message for
ProductService.SetInventory
method.

### [SetInventoryResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.SetInventoryResponse)

Response of the SetInventoryRequest. Currently empty because there
is no meaningful response populated from the
ProductService.SetInventory
method.

### [SolutionType](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.SolutionType)

The type of solution.

### [StringList](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.StringList)

A list of string values.

### [Tile](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.Tile)

This field specifies the tile information including an
attribute key, attribute value. More fields will be added in the
future, eg: product id or product counts, etc.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [TuneModelMetadata](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.TuneModelMetadata)

Metadata associated with a tune operation.

### [TuneModelRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.TuneModelRequest)

Request to manually start a tuning process now (instead of
waiting for the periodically scheduled tuning to happen).

### [TuneModelResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.TuneModelResponse)

Response associated with a tune operation.

### [UpdateAttributesConfigRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.UpdateAttributesConfigRequest)

Request for
CatalogService.UpdateAttributesConfig
method.

### [UpdateCatalogRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.UpdateCatalogRequest)

Request for
CatalogService.UpdateCatalog
method.

### [UpdateCompletionConfigRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.UpdateCompletionConfigRequest)

Request for
CatalogService.UpdateCompletionConfig
method.

### [UpdateControlRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.UpdateControlRequest)

Request for UpdateControl method.

### [UpdateGenerativeQuestionConfigRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.UpdateGenerativeQuestionConfigRequest)

Request for UpdateGenerativeQuestionConfig method.

### [UpdateGenerativeQuestionsFeatureConfigRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.UpdateGenerativeQuestionsFeatureConfigRequest)

Request for UpdateGenerativeQuestionsFeatureConfig method.

### [UpdateModelRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.UpdateModelRequest)

Request for updating an existing model.

### [UpdateProductRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.UpdateProductRequest)

Request message for
ProductService.UpdateProduct
method.

### [UpdateServingConfigRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.UpdateServingConfigRequest)

Request for UpdateServingConfig method.

### [UserEvent](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.UserEvent)

UserEvent captures all metadata information Retail API needs
to know about how end users interact with customers' website.

### [AttributesEntry](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.UserEvent.AttributesEntry)

The abstract base class for a message.

### [UserEventImportSummary](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.UserEventImportSummary)

A summary of import result. The UserEventImportSummary
summarizes the import status for user events.

### [UserEventInlineSource](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.UserEventInlineSource)

The inline source for the input config for ImportUserEvents
method.

### [UserEventInputConfig](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.UserEventInputConfig)

The input config source for user events.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [UserInfo](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.UserInfo)

Information of an end user.

### [WriteUserEventRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.types.WriteUserEventRequest)

Request message for WriteUserEvent method.

### [AnalyticsServiceAsyncClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.services.analytics_service.AnalyticsServiceAsyncClient)

Service for managing \& accessing retail search business
metric. Retail recommendation business metric is currently not
available.

### [AnalyticsServiceClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.services.analytics_service.AnalyticsServiceClient)

Service for managing \& accessing retail search business
metric. Retail recommendation business metric is currently not
available.

### [BranchServiceAsyncClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.services.branch_service.BranchServiceAsyncClient)

Service for Branch Management

Branches are automatically
created when a Catalog is
created. There are fixed three branches in each catalog, and may use
ListBranches
method to get the details of all branches.

### [BranchServiceClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.services.branch_service.BranchServiceClient)

Service for Branch Management

Branches are automatically
created when a Catalog is
created. There are fixed three branches in each catalog, and may use
ListBranches
method to get the details of all branches.

### [CatalogServiceAsyncClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.services.catalog_service.CatalogServiceAsyncClient)

Service for managing catalog configuration.

### [CatalogServiceClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.services.catalog_service.CatalogServiceClient)

Service for managing catalog configuration.

### [ListCatalogsAsyncPager](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.services.catalog_service.pagers.ListCatalogsAsyncPager)

A pager for iterating through `list_catalogs` requests.

This class thinly wraps an initial
[ListCatalogsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ListCatalogsResponse) object, and
provides an `__aiter__` method to iterate through its
`catalogs` field.

If there are more pages, the `__aiter__` method will make additional
`ListCatalogs` requests and continue to iterate
through the `catalogs` field on the
corresponding responses.

All the usual [ListCatalogsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ListCatalogsResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [ListCatalogsPager](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.services.catalog_service.pagers.ListCatalogsPager)

A pager for iterating through `list_catalogs` requests.

This class thinly wraps an initial
[ListCatalogsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ListCatalogsResponse) object, and
provides an `__iter__` method to iterate through its
`catalogs` field.

If there are more pages, the `__iter__` method will make additional
`ListCatalogs` requests and continue to iterate
through the `catalogs` field on the
corresponding responses.

All the usual [ListCatalogsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ListCatalogsResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [CompletionServiceAsyncClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.services.completion_service.CompletionServiceAsyncClient)

Autocomplete service for retail.

This feature is only available for users who have Retail Search
enabled. Enable Retail Search on Cloud Console before using this
feature.

### [CompletionServiceClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.services.completion_service.CompletionServiceClient)

Autocomplete service for retail.

This feature is only available for users who have Retail Search
enabled. Enable Retail Search on Cloud Console before using this
feature.

### [ControlServiceAsyncClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.services.control_service.ControlServiceAsyncClient)

Service for modifying Control.

### [ControlServiceClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.services.control_service.ControlServiceClient)

Service for modifying Control.

### [ListControlsAsyncPager](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.services.control_service.pagers.ListControlsAsyncPager)

A pager for iterating through `list_controls` requests.

This class thinly wraps an initial
[ListControlsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ListControlsResponse) object, and
provides an `__aiter__` method to iterate through its
`controls` field.

If there are more pages, the `__aiter__` method will make additional
`ListControls` requests and continue to iterate
through the `controls` field on the
corresponding responses.

All the usual [ListControlsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ListControlsResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [ListControlsPager](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.services.control_service.pagers.ListControlsPager)

A pager for iterating through `list_controls` requests.

This class thinly wraps an initial
[ListControlsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ListControlsResponse) object, and
provides an `__iter__` method to iterate through its
`controls` field.

If there are more pages, the `__iter__` method will make additional
`ListControls` requests and continue to iterate
through the `controls` field on the
corresponding responses.

All the usual [ListControlsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ListControlsResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [ConversationalSearchServiceAsyncClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.services.conversational_search_service.ConversationalSearchServiceAsyncClient)

Service for retail conversational search.

This feature is only available for users who have Retail
Conversational Search enabled. Enable Retail Conversational
Search on Cloud Console before using this feature.

### [ConversationalSearchServiceClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.services.conversational_search_service.ConversationalSearchServiceClient)

Service for retail conversational search.

This feature is only available for users who have Retail
Conversational Search enabled. Enable Retail Conversational
Search on Cloud Console before using this feature.

### [GenerativeQuestionServiceAsyncClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.services.generative_question_service.GenerativeQuestionServiceAsyncClient)

Service for managing LLM generated questions in search
serving.

### [GenerativeQuestionServiceClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.services.generative_question_service.GenerativeQuestionServiceClient)

Service for managing LLM generated questions in search
serving.

### [MerchantCenterAccountLinkServiceAsyncClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.services.merchant_center_account_link_service.MerchantCenterAccountLinkServiceAsyncClient)

Merchant Center Link service to link a Branch to a Merchant
Center Account.

### [MerchantCenterAccountLinkServiceClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.services.merchant_center_account_link_service.MerchantCenterAccountLinkServiceClient)

Merchant Center Link service to link a Branch to a Merchant
Center Account.

### [ModelServiceAsyncClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.services.model_service.ModelServiceAsyncClient)

Service for performing CRUD operations on models. Recommendation
models contain all the metadata necessary to generate a set of
models for the `Predict()` API. A model is queried indirectly via
a ServingConfig, which associates a model with a given Placement
(e.g. Frequently Bought Together on Home Page).

This service allows you to do the following:

- Initiate training of a model.
- Pause training of an existing model.
- List all the available models along with their metadata.
- Control their tuning schedule.

### [ModelServiceClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.services.model_service.ModelServiceClient)

Service for performing CRUD operations on models. Recommendation
models contain all the metadata necessary to generate a set of
models for the `Predict()` API. A model is queried indirectly via
a ServingConfig, which associates a model with a given Placement
(e.g. Frequently Bought Together on Home Page).

This service allows you to do the following:

- Initiate training of a model.
- Pause training of an existing model.
- List all the available models along with their metadata.
- Control their tuning schedule.

### [ListModelsAsyncPager](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.services.model_service.pagers.ListModelsAsyncPager)

A pager for iterating through `list_models` requests.

This class thinly wraps an initial
[ListModelsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ListModelsResponse) object, and
provides an `__aiter__` method to iterate through its
`models` field.

If there are more pages, the `__aiter__` method will make additional
`ListModels` requests and continue to iterate
through the `models` field on the
corresponding responses.

All the usual [ListModelsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ListModelsResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [ListModelsPager](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.services.model_service.pagers.ListModelsPager)

A pager for iterating through `list_models` requests.

This class thinly wraps an initial
[ListModelsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ListModelsResponse) object, and
provides an `__iter__` method to iterate through its
`models` field.

If there are more pages, the `__iter__` method will make additional
`ListModels` requests and continue to iterate
through the `models` field on the
corresponding responses.

All the usual [ListModelsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ListModelsResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [PredictionServiceAsyncClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.services.prediction_service.PredictionServiceAsyncClient)

Service for making recommendation prediction.

### [PredictionServiceClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.services.prediction_service.PredictionServiceClient)

Service for making recommendation prediction.

### [ProductServiceAsyncClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.services.product_service.ProductServiceAsyncClient)

Service for ingesting Product
information of the customer's website.

### [ProductServiceClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.services.product_service.ProductServiceClient)

Service for ingesting Product
information of the customer's website.

### [ListProductsAsyncPager](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.services.product_service.pagers.ListProductsAsyncPager)

A pager for iterating through `list_products` requests.

This class thinly wraps an initial
[ListProductsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ListProductsResponse) object, and
provides an `__aiter__` method to iterate through its
`products` field.

If there are more pages, the `__aiter__` method will make additional
`ListProducts` requests and continue to iterate
through the `products` field on the
corresponding responses.

All the usual [ListProductsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ListProductsResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [ListProductsPager](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.services.product_service.pagers.ListProductsPager)

A pager for iterating through `list_products` requests.

This class thinly wraps an initial
[ListProductsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ListProductsResponse) object, and
provides an `__iter__` method to iterate through its
`products` field.

If there are more pages, the `__iter__` method will make additional
`ListProducts` requests and continue to iterate
through the `products` field on the
corresponding responses.

All the usual [ListProductsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ListProductsResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [ProjectServiceAsyncClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.services.project_service.ProjectServiceAsyncClient)

Service for settings at Project level.

### [ProjectServiceClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.services.project_service.ProjectServiceClient)

Service for settings at Project level.

### [SearchServiceAsyncClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.services.search_service.SearchServiceAsyncClient)

Service for search.

This feature is only available for users who have Retail Search
enabled. Enable Retail Search on Cloud Console before using this
feature.

### [SearchServiceClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.services.search_service.SearchServiceClient)

Service for search.

This feature is only available for users who have Retail Search
enabled. Enable Retail Search on Cloud Console before using this
feature.

### [SearchAsyncPager](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.services.search_service.pagers.SearchAsyncPager)

A pager for iterating through `search` requests.

This class thinly wraps an initial
[SearchResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.SearchResponse) object, and
provides an `__aiter__` method to iterate through its
`results` field.

If there are more pages, the `__aiter__` method will make additional
`Search` requests and continue to iterate
through the `results` field on the
corresponding responses.

All the usual [SearchResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.SearchResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [SearchPager](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.services.search_service.pagers.SearchPager)

A pager for iterating through `search` requests.

This class thinly wraps an initial
[SearchResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.SearchResponse) object, and
provides an `__iter__` method to iterate through its
`results` field.

If there are more pages, the `__iter__` method will make additional
`Search` requests and continue to iterate
through the `results` field on the
corresponding responses.

All the usual [SearchResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.SearchResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [ServingConfigServiceAsyncClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.services.serving_config_service.ServingConfigServiceAsyncClient)

Service for modifying ServingConfig.

### [ServingConfigServiceClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.services.serving_config_service.ServingConfigServiceClient)

Service for modifying ServingConfig.

### [ListServingConfigsAsyncPager](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.services.serving_config_service.pagers.ListServingConfigsAsyncPager)

A pager for iterating through `list_serving_configs` requests.

This class thinly wraps an initial
[ListServingConfigsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ListServingConfigsResponse) object, and
provides an `__aiter__` method to iterate through its
`serving_configs` field.

If there are more pages, the `__aiter__` method will make additional
`ListServingConfigs` requests and continue to iterate
through the `serving_configs` field on the
corresponding responses.

All the usual [ListServingConfigsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ListServingConfigsResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [ListServingConfigsPager](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.services.serving_config_service.pagers.ListServingConfigsPager)

A pager for iterating through `list_serving_configs` requests.

This class thinly wraps an initial
[ListServingConfigsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ListServingConfigsResponse) object, and
provides an `__iter__` method to iterate through its
`serving_configs` field.

If there are more pages, the `__iter__` method will make additional
`ListServingConfigs` requests and continue to iterate
through the `serving_configs` field on the
corresponding responses.

All the usual [ListServingConfigsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ListServingConfigsResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [UserEventServiceAsyncClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.services.user_event_service.UserEventServiceAsyncClient)

Service for ingesting end user actions on the customer
website.

### [UserEventServiceClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.services.user_event_service.UserEventServiceClient)

Service for ingesting end user actions on the customer
website.

### [AcceptTermsRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.AcceptTermsRequest)

Request for AcceptTerms method.

### [AddCatalogAttributeRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.AddCatalogAttributeRequest)

Request for
CatalogService.AddCatalogAttribute
method.

### [AddControlRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.AddControlRequest)

Request for AddControl method.

### [AddFulfillmentPlacesMetadata](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.AddFulfillmentPlacesMetadata)

Metadata related to the progress of the AddFulfillmentPlaces
operation. Currently empty because there is no meaningful metadata
populated from the
ProductService.AddFulfillmentPlaces
method.

### [AddFulfillmentPlacesRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.AddFulfillmentPlacesRequest)

Request message for
ProductService.AddFulfillmentPlaces
method.

### [AddFulfillmentPlacesResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.AddFulfillmentPlacesResponse)

Response of the AddFulfillmentPlacesRequest. Currently empty because
there is no meaningful response populated from the
ProductService.AddFulfillmentPlaces
method.

### [AddLocalInventoriesMetadata](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.AddLocalInventoriesMetadata)

Metadata related to the progress of the AddLocalInventories
operation. Currently empty because there is no meaningful metadata
populated from the
ProductService.AddLocalInventories
method.

### [AddLocalInventoriesRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.AddLocalInventoriesRequest)

Request message for
ProductService.AddLocalInventories
method.

### [AddLocalInventoriesResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.AddLocalInventoriesResponse)

Response of the
ProductService.AddLocalInventories
API. Currently empty because there is no meaningful response
populated from the
ProductService.AddLocalInventories
method.

### [AlertConfig](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.AlertConfig)

Project level alert config.

### [AlertPolicy](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.AlertConfig.AlertPolicy)

Alert policy for a customer.

### [EnrollStatus](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.AlertConfig.AlertPolicy.EnrollStatus)

The enrollment status enum for alert policy.

### [Recipient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.AlertConfig.AlertPolicy.Recipient)

Recipient contact information.

### [AttributeConfigLevel](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.AttributeConfigLevel)

At which level we offer configuration for attributes.

### [AttributesConfig](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.AttributesConfig)

Catalog level attribute config.

### [CatalogAttributesEntry](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.AttributesConfig.CatalogAttributesEntry)

The abstract base class for a message.

### [Audience](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.Audience)

An intended audience of the
Product for whom it's sold.

### [BatchRemoveCatalogAttributesRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.BatchRemoveCatalogAttributesRequest)

Request for
CatalogService.BatchRemoveCatalogAttributes
method.

### [BatchRemoveCatalogAttributesResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.BatchRemoveCatalogAttributesResponse)

Response of the
CatalogService.BatchRemoveCatalogAttributes.

### [BatchUpdateGenerativeQuestionConfigsRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.BatchUpdateGenerativeQuestionConfigsRequest)

Request for BatchUpdateGenerativeQuestionConfig method.

### [BatchUpdateGenerativeQuestionConfigsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.BatchUpdateGenerativeQuestionConfigsResponse)

Aggregated response for UpdateGenerativeQuestionConfig
method.

### [BigQueryOutputResult](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.BigQueryOutputResult)

A BigQuery output result.

### [BigQuerySource](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.BigQuerySource)

BigQuery source import data from.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [Branch](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.Branch)

A data branch that stores all instances of
Products.

### [ProductCountStatistic](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.Branch.ProductCountStatistic)

A statistic about the number of products in a branch.

### [CountsEntry](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.Branch.ProductCountStatistic.CountsEntry)

The abstract base class for a message.

### [ProductCountScope](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.Branch.ProductCountStatistic.ProductCountScope)

Scope of what products are included for this count.

### [QualityMetric](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.Branch.QualityMetric)

Metric measured on a group of
Products against a certain
quality requirement. Contains the number of products that pass the
check and the number of products that don't.

### [BranchView](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.BranchView)

A view that specifies different level of fields of a
Branch to show in responses.

### [Catalog](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.Catalog)

The catalog configuration.

### [CatalogAttribute](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.CatalogAttribute)

Catalog level attribute config for an attribute. For example,
if customers want to enable/disable facet for a specific
attribute.

### [AttributeType](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.CatalogAttribute.AttributeType)

The type of an attribute.

        Used when type cannot be derived from attribute that is not
        <xref uid="google.cloud.retail.v2alpha.CatalogAttribute.in_use">in_use</xref>.
    TEXTUAL (1):
        Textual attribute.
    NUMERICAL (2):
        Numerical attribute.

### [DynamicFacetableOption](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.CatalogAttribute.DynamicFacetableOption)

The status of the dynamic facetable option of a catalog
attribute.

### [ExactSearchableOption](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.CatalogAttribute.ExactSearchableOption)

The status of the exact-searchable option of a catalog
attribute.

### [FacetConfig](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.CatalogAttribute.FacetConfig)

Possible options for the facet that corresponds to the
current attribute config.

### [IgnoredFacetValues](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.CatalogAttribute.FacetConfig.IgnoredFacetValues)

\[Facet
values\]\[google.cloud.retail.v2alpha.SearchResponse.Facet.values\] to
ignore on facets
during the specified time range for the given
SearchResponse.Facet.key
attribute.

### [MergedFacet](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.CatalogAttribute.FacetConfig.MergedFacet)

The current facet key (i.e. attribute config) maps into the
merged_facet_key.
A facet key can have at most one child. The current facet key and
the merged facet key need both to be textual custom attributes or
both numerical custom attributes (same type).

### [MergedFacetValue](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.CatalogAttribute.FacetConfig.MergedFacetValue)

Replaces a set of textual facet values by the same (possibly
different) merged facet value. Each facet value should appear at
most once as a value per
CatalogAttribute.
This feature is available only for textual custom attributes.

### [RerankConfig](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.CatalogAttribute.FacetConfig.RerankConfig)

Options to rerank based on facet values engaged by the user for the
current key. That key needs to be a custom textual key and
facetable. To use this control, you also need to pass all the facet
keys engaged by the user in the request using the field
\[SearchRequest.FacetSpec\]. In particular, if you don't pass the
facet keys engaged that you want to rerank on, this control won't be
effective. Moreover, to obtain better results, the facet values that
you want to rerank on should be close to English (ideally made of
words, underscores, and spaces).

### [IndexableOption](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.CatalogAttribute.IndexableOption)

The status of the indexable option of a catalog attribute.

### [RetrievableOption](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.CatalogAttribute.RetrievableOption)

The status of the retrievable option of a catalog attribute.

### [SearchableOption](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.CatalogAttribute.SearchableOption)

The status of the searchable option of a catalog attribute.

### [CollectUserEventRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.CollectUserEventRequest)

Request message for CollectUserEvent method.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [ColorInfo](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ColorInfo)

The color information of a
Product.

### [CompleteQueryRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.CompleteQueryRequest)

Autocomplete parameters.

### [CompleteQueryResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.CompleteQueryResponse)

Response of the autocomplete query.

### [AttributeResult](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.CompleteQueryResponse.AttributeResult)

Resource that represents attribute results.

### [AttributeResultsEntry](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.CompleteQueryResponse.AttributeResultsEntry)

The abstract base class for a message.

### [CompletionResult](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.CompleteQueryResponse.CompletionResult)

Resource that represents completion results.

### [AttributesEntry](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.CompleteQueryResponse.CompletionResult.AttributesEntry)

The abstract base class for a message.

### [RecentSearchResult](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.CompleteQueryResponse.RecentSearchResult)

Deprecated: Recent search of this user.

### [CompletionConfig](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.CompletionConfig)

Catalog level autocomplete config for customers to customize
autocomplete feature's settings.

### [CompletionDataInputConfig](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.CompletionDataInputConfig)

The input config source for completion data.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [CompletionDetail](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.CompletionDetail)

Detailed completion information including completion
attribution token and clicked completion info.

### [Condition](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.Condition)

Metadata that is used to define a condition that triggers an action.
A valid condition must specify at least one of 'query_terms' or
'products_filter'. If multiple fields are specified, the condition
is met if all the fields are satisfied e.g. if a set of query terms
and product_filter are set, then only items matching the
product_filter for requests with a query matching the query terms
wil get boosted.

### [QueryTerm](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.Condition.QueryTerm)

Query terms that we want to match on.

### [TimeRange](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.Condition.TimeRange)

Used for time-dependent conditions.
Example: Want to have rule applied for week long sale.

### [Control](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.Control)

Configures dynamic metadata that can be linked to a
ServingConfig and
affect search or recommendation results at serving time.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [ConversationalSearchRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ConversationalSearchRequest)

Request message for
ConversationalSearchService.ConversationalSearch
method.

### [ConversationalFilteringSpec](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ConversationalSearchRequest.ConversationalFilteringSpec)

This field specifies all conversational filtering related
parameters addition to conversational retail search.

### [Mode](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ConversationalSearchRequest.ConversationalFilteringSpec.Mode)

Enum to control Conversational Filtering mode.
A single conversation session including multiple turns supports
modes for Conversational Search OR Conversational Filtering
without Conversational Search, but not both.

### [SearchParams](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ConversationalSearchRequest.SearchParams)

Search parameters.

### [UserAnswer](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ConversationalSearchRequest.UserAnswer)

This field specifies the current user answer during the
conversational filtering search. This can be either user
selected from suggested answers or user input plain text.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [SelectedAnswer](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ConversationalSearchRequest.UserAnswer.SelectedAnswer)

This field specifies the selected answers during the
conversational search.

### [UserLabelsEntry](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ConversationalSearchRequest.UserLabelsEntry)

The abstract base class for a message.

### [ConversationalSearchResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ConversationalSearchResponse)

Response message for
ConversationalSearchService.ConversationalSearch
method.

### [ConversationalFilteringResult](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ConversationalSearchResponse.ConversationalFilteringResult)

This field specifies all related information that is needed
on client side for UI rendering of conversational filtering
search.

### [AdditionalFilter](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ConversationalSearchResponse.ConversationalFilteringResult.AdditionalFilter)

Additional filter that client side need to apply.

### [FollowupQuestion](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ConversationalSearchResponse.FollowupQuestion)

The conversational followup question generated for Intent
refinement.

### [SuggestedAnswer](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ConversationalSearchResponse.FollowupQuestion.SuggestedAnswer)

Suggested answers to the follow-up question.
If it's numerical attribute, only ProductAttributeInterval will
be set. If it's textual attribute, only productAttributeValue
will be set.

### [RefinedSearch](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ConversationalSearchResponse.RefinedSearch)

The proposed refined search for intent-refinement/bundled shopping
conversation. When using CONVERSATIONAL_FILTER_ONLY mode, the
refined_query from search response will be populated here.

### [State](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ConversationalSearchResponse.State)

The state of the response generation.

### [CreateControlRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.CreateControlRequest)

Request for CreateControl method.

### [CreateMerchantCenterAccountLinkMetadata](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.CreateMerchantCenterAccountLinkMetadata)

Common metadata related to the progress of the operations.

### [CreateMerchantCenterAccountLinkRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.CreateMerchantCenterAccountLinkRequest)

Request for
MerchantCenterAccountLinkService.CreateMerchantCenterAccountLink
method.

### [CreateModelMetadata](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.CreateModelMetadata)

Metadata associated with a create operation.

### [CreateModelRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.CreateModelRequest)

Request for creating a model.

### [CreateProductRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.CreateProductRequest)

Request message for
ProductService.CreateProduct
method.

### [CreateServingConfigRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.CreateServingConfigRequest)

Request for CreateServingConfig method.

### [CustomAttribute](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.CustomAttribute)

A custom attribute that is not explicitly modeled in
Product.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [DeleteControlRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.DeleteControlRequest)

Request for DeleteControl method.

### [DeleteMerchantCenterAccountLinkRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.DeleteMerchantCenterAccountLinkRequest)

Request for
MerchantCenterAccountLinkService.DeleteMerchantCenterAccountLink
method.

### [DeleteModelRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.DeleteModelRequest)

Request for deleting a model.

### [DeleteProductRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.DeleteProductRequest)

Request message for
ProductService.DeleteProduct
method.

### [DeleteServingConfigRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.DeleteServingConfigRequest)

Request for DeleteServingConfig method.

### [DoubleList](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.DoubleList)

A message with a list of double values.

### [EnrollSolutionMetadata](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.EnrollSolutionMetadata)

Metadata related to the EnrollSolution method.
This will be returned by the
google.longrunning.Operation.metadata field.

### [EnrollSolutionRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.EnrollSolutionRequest)

Request for EnrollSolution method.

### [EnrollSolutionResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.EnrollSolutionResponse)

Response for EnrollSolution method.

### [ExperimentInfo](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ExperimentInfo)

Metadata for active A/B testing experiment.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [ServingConfigExperiment](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ExperimentInfo.ServingConfigExperiment)

Metadata for active serving config A/B tests.

### [ExportAnalyticsMetricsRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ExportAnalyticsMetricsRequest)

Request message for the `ExportAnalyticsMetrics` method.

### [ExportAnalyticsMetricsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ExportAnalyticsMetricsResponse)

Response of the ExportAnalyticsMetricsRequest. If the long
running operation was successful, then this message is returned
by the google.longrunning.Operations.response field if the
operation was successful.

### [ExportErrorsConfig](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ExportErrorsConfig)

Configuration of destination for Export related errors.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [ExportMetadata](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ExportMetadata)

Metadata related to the progress of the Export operation.
This is returned by the google.longrunning.Operation.metadata
field.

### [ExportProductsRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ExportProductsRequest)

Request message for ExportProducts method.

### [ExportProductsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ExportProductsResponse)

Response of the ExportProductsRequest. If the long running
operation is done, then this message is returned by the
google.longrunning.Operations.response field if the operation
was successful.

### [ExportUserEventsRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ExportUserEventsRequest)

Request message for the `ExportUserEvents` method.

### [ExportUserEventsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ExportUserEventsResponse)

Response of the ExportUserEventsRequest. If the long running
operation was successful, then this message is returned by the
google.longrunning.Operations.response field if the operation
was successful.

### [FulfillmentInfo](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.FulfillmentInfo)

Fulfillment information, such as the store IDs for in-store
pickup or region IDs for different shipping methods.

### [GcsOutputResult](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.GcsOutputResult)

A Gcs output result.

### [GcsSource](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.GcsSource)

Google Cloud Storage location for input content.

### [GenerativeQuestionConfig](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.GenerativeQuestionConfig)

Configuration for a single generated question.

### [GenerativeQuestionsFeatureConfig](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.GenerativeQuestionsFeatureConfig)

Configuration for overall generative question feature state.

### [GetAlertConfigRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.GetAlertConfigRequest)

Request for
ProjectService.GetAlertConfig
method.

### [GetAttributesConfigRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.GetAttributesConfigRequest)

Request for
CatalogService.GetAttributesConfig
method.

### [GetBranchRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.GetBranchRequest)

Request for
BranchService.GetBranch
method.

### [GetCompletionConfigRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.GetCompletionConfigRequest)

Request for
CatalogService.GetCompletionConfig
method.

### [GetControlRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.GetControlRequest)

Request for GetControl method.

### [GetDefaultBranchRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.GetDefaultBranchRequest)

Request message to show which branch is currently the default
branch.

### [GetDefaultBranchResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.GetDefaultBranchResponse)

Response message of
CatalogService.GetDefaultBranch.

### [GetGenerativeQuestionsFeatureConfigRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.GetGenerativeQuestionsFeatureConfigRequest)

Request for GetGenerativeQuestionsFeatureConfig method.

### [GetLoggingConfigRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.GetLoggingConfigRequest)

Request for
ProjectService.GetLoggingConfig
method.

### [GetModelRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.GetModelRequest)

Request for getting a model.

### [GetProductRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.GetProductRequest)

Request message for
ProductService.GetProduct
method.

### [GetProjectRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.GetProjectRequest)

Request for GetProject method.

### [GetServingConfigRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.GetServingConfigRequest)

Request for GetServingConfig method.

### [HarmCategory](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.HarmCategory)

Harm categories that will block the content.

### [Image](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.Image)

Product image.
Recommendations AI and Retail Search use product images to improve
prediction and search results. Product images can be returned in
results, and are shown in prediction or search previews in the
console. Please try to provide correct product images and avoid
using images with size too small.

### [ImportCompletionDataRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ImportCompletionDataRequest)

Request message for ImportCompletionData methods.

### [ImportCompletionDataResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ImportCompletionDataResponse)

Response of the
ImportCompletionDataRequest.
If the long running operation is done, this message is returned by
the google.longrunning.Operations.response field if the operation is
successful.

### [ImportErrorsConfig](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ImportErrorsConfig)

Configuration of destination for Import related errors.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [ImportMetadata](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ImportMetadata)

Metadata related to the progress of the Import operation.
This is returned by the google.longrunning.Operation.metadata
field.

### [ImportProductsRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ImportProductsRequest)

Request message for Import methods.

### [ReconciliationMode](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ImportProductsRequest.ReconciliationMode)

Indicates how imported products are reconciled with the
existing products created or imported before.

### [ImportProductsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ImportProductsResponse)

Response of the
ImportProductsRequest.
If the long running operation is done, then this message is returned
by the google.longrunning.Operations.response field if the operation
was successful.

### [ImportUserEventsRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ImportUserEventsRequest)

Request message for the ImportUserEvents request.

### [ImportUserEventsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ImportUserEventsResponse)

Response of the ImportUserEventsRequest. If the long running
operation was successful, then this message is returned by the
google.longrunning.Operations.response field if the operation
was successful.

### [Interval](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.Interval)

A floating point interval.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [ListBranchesRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ListBranchesRequest)

Request for
BranchService.ListBranches
method.

### [ListBranchesResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ListBranchesResponse)

Response for
BranchService.ListBranches
method.

### [ListCatalogsRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ListCatalogsRequest)

Request for
CatalogService.ListCatalogs
method.

### [ListCatalogsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ListCatalogsResponse)

Response for
CatalogService.ListCatalogs
method.

### [ListControlsRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ListControlsRequest)

Request for ListControls method.

### [ListControlsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ListControlsResponse)

Response for ListControls method.

### [ListEnrolledSolutionsRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ListEnrolledSolutionsRequest)

Request for ListEnrolledSolutions method.

### [ListEnrolledSolutionsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ListEnrolledSolutionsResponse)

Response for ListEnrolledSolutions method.

### [ListGenerativeQuestionConfigsRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ListGenerativeQuestionConfigsRequest)

Request for ListQuestions method.

### [ListGenerativeQuestionConfigsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ListGenerativeQuestionConfigsResponse)

Response for ListQuestions method.

### [ListMerchantCenterAccountLinksRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ListMerchantCenterAccountLinksRequest)

Request for
MerchantCenterAccountLinkService.ListMerchantCenterAccountLinks
method.

### [ListMerchantCenterAccountLinksResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ListMerchantCenterAccountLinksResponse)

Response for
MerchantCenterAccountLinkService.ListMerchantCenterAccountLinks
method.

### [ListModelsRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ListModelsRequest)

Request for listing models associated with a resource.

### [ListModelsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ListModelsResponse)

Response to a ListModelRequest.

### [ListProductsRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ListProductsRequest)

Request message for
ProductService.ListProducts
method.

### [ListProductsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ListProductsResponse)

Response message for
ProductService.ListProducts
method.

### [ListServingConfigsRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ListServingConfigsRequest)

Request for ListServingConfigs method.

### [ListServingConfigsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ListServingConfigsResponse)

Response for ListServingConfigs method.

### [LocalInventory](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.LocalInventory)

The inventory information at a place (e.g. a store)
identified by a place ID.

### [AttributesEntry](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.LocalInventory.AttributesEntry)

The abstract base class for a message.

### [Availability](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.LocalInventory.Availability)

Product availability. If this field is unspecified, the
product is assumed to be in stock.

### [LoggingConfig](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.LoggingConfig)

Project level logging config to control what level of log
will be generated and written to Cloud Logging.

### [LogGenerationRule](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.LoggingConfig.LogGenerationRule)

The logging configurations for services supporting log
generation.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [LoggingLevel](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.LoggingConfig.LoggingLevel)

The setting to control log generation.

### [ServiceLogGenerationRule](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.LoggingConfig.ServiceLogGenerationRule)

The granular logging configurations for supported services.

### [MerchantCenterAccountLink](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.MerchantCenterAccountLink)

Represents a link between a Merchant Center account and a
branch. After a link is established, products from the linked
Merchant Center account are streamed to the linked branch.

### [MerchantCenterFeedFilter](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.MerchantCenterAccountLink.MerchantCenterFeedFilter)

Merchant Center Feed filter criterion.

### [State](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.MerchantCenterAccountLink.State)

The state of the link.

### [MerchantCenterFeedFilter](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.MerchantCenterFeedFilter)

Merchant Center Feed filter criterion.

### [MerchantCenterLink](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.MerchantCenterLink)

Represents a link between a Merchant Center account and a
branch. After a link is established, products from the linked
Merchant Center account are streamed to the linked branch.

### [MerchantCenterLinkingConfig](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.MerchantCenterLinkingConfig)

Configures Merchant Center linking.
Links contained in the config will be used to sync data from a
Merchant Center account to a Cloud Retail branch.

### [Model](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.Model)

Metadata that describes the training and serving parameters of a
Model. A
Model can be associated with a
ServingConfig and then
queried through the Predict API.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [ContextProductsType](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.Model.ContextProductsType)

Use single or multiple context products for recommendations.

### [DataState](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.Model.DataState)

Describes whether this model have sufficient training data
to be continuously trained.

### [FrequentlyBoughtTogetherFeaturesConfig](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.Model.FrequentlyBoughtTogetherFeaturesConfig)

Additional configs for the frequently-bought-together model
type.

### [ModelFeaturesConfig](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.Model.ModelFeaturesConfig)

Additional model features config.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [PageOptimizationConfig](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.Model.PageOptimizationConfig)

The PageOptimizationConfig for model training.

This determines how many panels to optimize for, and which serving
configs to consider for each panel. The purpose of this model is to
optimize which
ServingConfig to show
on which panels in way that optimizes the visitors shopping journey.

### [Candidate](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.Model.PageOptimizationConfig.Candidate)

A candidate to consider for a given panel. Currently only
ServingConfig are valid
candidates.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [Panel](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.Model.PageOptimizationConfig.Panel)

An individual panel with a list of
ServingConfigs to
consider for it.

### [Restriction](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.Model.PageOptimizationConfig.Restriction)

Restrictions of expected returned results.

        Example:

        `Panel1 candidates`: pdp_ctr, pdp_cvr,
        home_page_ctr_no_diversity

        `Panel2 candidates`: home_page_ctr_no_diversity,
        home_page_ctr_diversity, pdp_cvr_no_diversity

        `Restriction` = NO_RESTRICTION

        `Valid combinations`:

        -  (pdp_ctr, home_page_ctr_no_diversity)
        - (pdp_ctr, home_page_ctr_diversity)
        - (pdp_ctr, pdp_cvr_no_diversity)
        - (pdp_cvr, home_page_ctr_no_diversity)
        - (pdp_cvr, home_page_ctr_diversity)
        - (pdp_cvr, pdp_cvr_no_diversity)
        - (home_page_ctr_no_diversity, home_page_ctr_no_diversity)
        - (home_page_ctr_no_diversity, home_page_ctr_diversity)
        - (home_page_ctr_no_diversity, pdp_cvr_no_diversity)

        `Invalid combinations`: []
    UNIQUE_SERVING_CONFIG_RESTRICTION (2):
        Do not allow the same
        <xref uid="google.cloud.retail.v2alpha.ServingConfig.name">ServingConfig.name</xref>
        to be shown on multiple panels.

        Example:

        `Panel1 candidates`: pdp_ctr, pdp_cvr,
        home_page_ctr_no_diversity

        `Panel2 candidates`: home_page_ctr_no_diversity,
        home_page_ctr_diversity_low, pdp_cvr_no_diversity

        `Restriction` = `UNIQUE_SERVING_CONFIG_RESTRICTION`

        `Valid combinations`:

        -  (pdp_ctr, home_page_ctr_no_diversity)
        - (pdp_ctr, home_page_ctr_diversity_low)
        - (pdp_ctr, pdp_cvr_no_diversity)
        - (pdp_ctr, pdp_cvr_no_diversity)
        - (pdp_cvr, home_page_ctr_no_diversity)
        - (pdp_cvr, home_page_ctr_diversity_low)
        - (pdp_cvr, pdp_cvr_no_diversity)
        - (home_page_ctr_no_diversity, home_page_ctr_diversity_low)
        - (home_page_ctr_no_diversity, pdp_cvr_no_diversity)

        `Invalid combinations`:

        -  (home_page_ctr_no_diversity, home_page_ctr_no_diversity)
    UNIQUE_MODEL_RESTRICTION (3):
        Do not allow multiple
        <xref uid="google.cloud.retail.v2alpha.ServingConfig">ServingConfigs</xref>
        with same
        <xref uid="google.cloud.retail.v2alpha.Model.name">Model.name</xref> to be
        show on on different panels.

        Example:

        `Panel1 candidates`: pdp_ctr, pdp_cvr,
        home_page_ctr_no_diversity

        `Panel2 candidates`: home_page_ctr_no_diversity,
        home_page_ctr_diversity_low, pdp_cvr_no_diversity

        `Restriction` = `UNIQUE_MODEL_RESTRICTION`

        `Valid combinations`:

        -  (pdp_ctr, home_page_ctr_no_diversity)
        - (pdp_ctr, home_page_ctr_diversity)
        - (pdp_ctr, pdp_cvr_no_diversity)
        - (pdp_ctr, pdp_cvr_no_diversity)
        - (pdp_cvr, home_page_ctr_no_diversity)
        - (pdp_cvr, home_page_ctr_diversity_low)
        - (home_page_ctr_no_diversity, pdp_cvr_no_diversity)

        `Invalid combinations`:

        -  (home_page_ctr_no_diversity, home_page_ctr_no_diversity)
        - (pdp_cvr, pdp_cvr_no_diversity)
    UNIQUE_MODEL_TYPE_RESTRICTION (4):
        Do not allow multiple
        <xref uid="google.cloud.retail.v2alpha.ServingConfig">ServingConfigs</xref>
        with same
        <xref uid="google.cloud.retail.v2alpha.Model.type">Model.type</xref> to be
        shown on different panels.

        Example:

        `Panel1 candidates`: pdp_ctr, pdp_cvr,
        home_page_ctr_no_diversity

        `Panel2 candidates`: home_page_ctr_no_diversity,
        home_page_ctr_diversity_low, pdp_cvr_no_diversity

        `Restriction` = `UNIQUE_MODEL_RESTRICTION`

        `Valid combinations`:

        -  (pdp_ctr, home_page_ctr_no_diversity)
        - (pdp_ctr, home_page_ctr_diversity)
        - (pdp_cvr, home_page_ctr_no_diversity)
        - (pdp_cvr, home_page_ctr_diversity_low)
        - (home_page_ctr_no_diversity, pdp_cvr_no_diversity)

        `Invalid combinations`:

        -  (pdp_ctr, pdp_cvr_no_diversity)
        - (pdp_ctr, pdp_cvr_no_diversity)
        - (pdp_cvr, pdp_cvr_no_diversity)
        - (home_page_ctr_no_diversity, home_page_ctr_no_diversity)
        - (home_page_ctr_no_diversity, home_page_ctr_diversity)

### [PeriodicTuningState](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.Model.PeriodicTuningState)

Describes whether periodic tuning is enabled for this model or not.
Periodic tuning is scheduled at most every three months. You can
start a tuning process manually by using the `TuneModel` method,
which starts a tuning process immediately and resets the quarterly
schedule. Enabling or disabling periodic tuning does not affect any
current tuning processes.

### [ServingConfigList](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.Model.ServingConfigList)

Represents an ordered combination of valid serving configs, which
can be used for `PAGE_OPTIMIZATION` recommendations.

### [ServingState](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.Model.ServingState)

The serving state of the model.

### [TrainingState](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.Model.TrainingState)

The training state of the model.

### [OutputConfig](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.OutputConfig)

The output configuration setting.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [BigQueryDestination](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.OutputConfig.BigQueryDestination)

The BigQuery output destination configuration.

### [GcsDestination](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.OutputConfig.GcsDestination)

The Google Cloud Storage output destination configuration.

### [OutputResult](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.OutputResult)

Output result that stores the information about where the
exported data is stored.

### [PauseModelRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.PauseModelRequest)

Request for pausing training of a model.

### [PinControlMetadata](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.PinControlMetadata)

Metadata for pinning to be returned in the response.
This is used for distinguishing between applied vs dropped pins.

### [AllMatchedPinsEntry](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.PinControlMetadata.AllMatchedPinsEntry)

The abstract base class for a message.

### [DroppedPinsEntry](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.PinControlMetadata.DroppedPinsEntry)

The abstract base class for a message.

### [ProductPins](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.PinControlMetadata.ProductPins)

List of product ids which have associated pins.

### [PredictRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.PredictRequest)

Request message for Predict method.

### [LabelsEntry](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.PredictRequest.LabelsEntry)

The abstract base class for a message.

### [ParamsEntry](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.PredictRequest.ParamsEntry)

The abstract base class for a message.

### [PredictResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.PredictResponse)

Response message for predict method.

### [PredictionResult](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.PredictResponse.PredictionResult)

PredictionResult represents the recommendation prediction
results.

### [MetadataEntry](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.PredictResponse.PredictionResult.MetadataEntry)

The abstract base class for a message.

### [PriceInfo](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.PriceInfo)

The price information of a
Product.

### [PriceRange](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.PriceInfo.PriceRange)

The price range of all
variant
Product having the same
Product.primary_product_id.

### [Product](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.Product)

Product captures all metadata information of items to be
recommended or searched.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [AttributesEntry](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.Product.AttributesEntry)

The abstract base class for a message.

### [Availability](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.Product.Availability)

Product availability. If this field is unspecified, the
product is assumed to be in stock.

### [Type](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.Product.Type)

The type of this product.

        As the primary unit for predicting, indexing and search
        serving, a
        <xref uid="google.cloud.retail.v2alpha.Product.Type.PRIMARY">Type.PRIMARY</xref>
        <xref uid="google.cloud.retail.v2alpha.Product">Product</xref> is grouped
        with multiple
        <xref uid="google.cloud.retail.v2alpha.Product.Type.VARIANT">Type.VARIANT</xref>
        <xref uid="google.cloud.retail.v2alpha.Product">Product</xref>s.
    VARIANT (2):
        The variant type.

        <xref uid="google.cloud.retail.v2alpha.Product.Type.VARIANT">Type.VARIANT</xref>
        <xref uid="google.cloud.retail.v2alpha.Product">Product</xref>s usually
        share some common attributes on the same
        <xref uid="google.cloud.retail.v2alpha.Product.Type.PRIMARY">Type.PRIMARY</xref>
        <xref uid="google.cloud.retail.v2alpha.Product">Product</xref>s, but they
        have variant attributes like different colors, sizes and
        prices, etc.
    COLLECTION (3):
        The collection type. Collection products are bundled
        <xref uid="google.cloud.retail.v2alpha.Product.Type.PRIMARY">Type.PRIMARY</xref>
        <xref uid="google.cloud.retail.v2alpha.Product">Product</xref>s or
        <xref uid="google.cloud.retail.v2alpha.Product.Type.VARIANT">Type.VARIANT</xref>
        <xref uid="google.cloud.retail.v2alpha.Product">Product</xref>s that are
        sold together, such as a jewelry set with necklaces,
        earrings and rings, etc.

### [ProductAttributeInterval](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ProductAttributeInterval)

Product attribute name and numeric interval.

### [ProductAttributeValue](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ProductAttributeValue)

Product attribute which structured by an attribute name and value.
This structure is used in conversational search filters and answers.
For example, if we have `name=color` and `value=red`, this means
that the color is `red`.

### [ProductDetail](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ProductDetail)

Detailed product information associated with a user event.

### [ProductInlineSource](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ProductInlineSource)

The inline source for the input config for ImportProducts
method.

### [ProductInputConfig](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ProductInputConfig)

The input config source for products.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [ProductLevelConfig](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ProductLevelConfig)

Configures what level the product should be uploaded with
regards to how users will be send events and how predictions
will be made.

### [Project](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.Project)

Metadata that describes a Cloud Retail Project.

### [Promotion](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.Promotion)

Promotion information.

### [PurchaseTransaction](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.PurchaseTransaction)

A transaction represents the entire purchase transaction.

### [PurgeMetadata](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.PurgeMetadata)

Metadata related to the progress of the Purge operation.
This will be returned by the
google.longrunning.Operation.metadata field.

### [PurgeProductsMetadata](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.PurgeProductsMetadata)

Metadata related to the progress of the PurgeProducts
operation. This will be returned by the
google.longrunning.Operation.metadata field.

### [PurgeProductsRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.PurgeProductsRequest)

Request message for PurgeProducts method.

### [PurgeProductsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.PurgeProductsResponse)

Response of the PurgeProductsRequest. If the long running
operation is successfully done, then this message is returned by
the google.longrunning.Operations.response field.

### [PurgeUserEventsRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.PurgeUserEventsRequest)

Request message for PurgeUserEvents method.

### [PurgeUserEventsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.PurgeUserEventsResponse)

Response of the PurgeUserEventsRequest. If the long running
operation is successfully done, then this message is returned by
the google.longrunning.Operations.response field.

### [Rating](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.Rating)

The rating of a Product.

### [RecommendationsFilteringOption](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.RecommendationsFilteringOption)

If filtering for recommendations is enabled.

### [RejoinUserEventsMetadata](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.RejoinUserEventsMetadata)

Metadata for `RejoinUserEvents` method.

### [RejoinUserEventsRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.RejoinUserEventsRequest)

Request message for RejoinUserEvents method.

### [UserEventRejoinScope](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.RejoinUserEventsRequest.UserEventRejoinScope)

The scope of user events to be rejoined with the latest product
catalog. If the rejoining aims at reducing number of unjoined
events, set `UserEventRejoinScope` to `UNJOINED_EVENTS`. If the
rejoining aims at correcting product catalog information in joined
events, set `UserEventRejoinScope` to `JOINED_EVENTS`. If all
events needs to be rejoined, set `UserEventRejoinScope` to
`USER_EVENT_REJOIN_SCOPE_UNSPECIFIED`.

### [RejoinUserEventsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.RejoinUserEventsResponse)

Response message for `RejoinUserEvents` method.

### [RemoveCatalogAttributeRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.RemoveCatalogAttributeRequest)

Request for
CatalogService.RemoveCatalogAttribute
method.

### [RemoveControlRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.RemoveControlRequest)

Request for RemoveControl method.

### [RemoveFulfillmentPlacesMetadata](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.RemoveFulfillmentPlacesMetadata)

Metadata related to the progress of the RemoveFulfillmentPlaces
operation. Currently empty because there is no meaningful metadata
populated from the
ProductService.RemoveFulfillmentPlaces
method.

### [RemoveFulfillmentPlacesRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.RemoveFulfillmentPlacesRequest)

Request message for
ProductService.RemoveFulfillmentPlaces
method.

### [RemoveFulfillmentPlacesResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.RemoveFulfillmentPlacesResponse)

Response of the RemoveFulfillmentPlacesRequest. Currently empty
because there is no meaningful response populated from the
ProductService.RemoveFulfillmentPlaces
method.

### [RemoveLocalInventoriesMetadata](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.RemoveLocalInventoriesMetadata)

Metadata related to the progress of the RemoveLocalInventories
operation. Currently empty because there is no meaningful metadata
populated from the
ProductService.RemoveLocalInventories
method.

### [RemoveLocalInventoriesRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.RemoveLocalInventoriesRequest)

Request message for
ProductService.RemoveLocalInventories
method.

### [RemoveLocalInventoriesResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.RemoveLocalInventoriesResponse)

Response of the
ProductService.RemoveLocalInventories
API. Currently empty because there is no meaningful response
populated from the
ProductService.RemoveLocalInventories
method.

### [ReplaceCatalogAttributeRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ReplaceCatalogAttributeRequest)

Request for
CatalogService.ReplaceCatalogAttribute
method.

### [ResumeModelRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ResumeModelRequest)

Request for resuming training of a model.

### [Rule](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.Rule)

A rule is a condition-action pair

- A condition defines when a rule is to be triggered.
- An action specifies what occurs on that trigger. Currently rules only work for controls with SOLUTION_TYPE_SEARCH.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [BoostAction](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.Rule.BoostAction)

A boost action to apply to results matching condition
specified above.

### [DoNotAssociateAction](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.Rule.DoNotAssociateAction)

Prevents `query_term` from being associated with specified terms
during search. Example: Don't associate "gShoe" and "cheap".

### [FilterAction](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.Rule.FilterAction)

- Rule Condition:

  - No Condition.query_terms provided is a global match.
  - 1 or more Condition.query_terms provided are combined with OR operator.
- Action Input: The request query and filter that are applied to the
  retrieved products, in addition to any filters already provided
  with the SearchRequest. The AND operator is used to combine the
  query's existing filters with the filter rule(s). NOTE: May result
  in 0 results when filters conflict.

- Action Result: Filters the returned objects to be ONLY those that
  passed the filter.

### [ForceReturnFacetAction](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.Rule.ForceReturnFacetAction)

Force returns an attribute/facet in the request around a certain
position or above.

- Rule Condition: Must specify non-empty
  Condition.query_terms
  (for search only) or
  Condition.page_categories
  (for browse only), but can't specify both.

- Action Inputs: attribute name, position

- Action Result: Will force return a facet key around a certain
  position or above if the condition is satisfied.

Example: Suppose the query is "shoes", the
Condition.query_terms
is "shoes", the
ForceReturnFacetAction.FacetPositionAdjustment.attribute_name
is "size" and the
ForceReturnFacetAction.FacetPositionAdjustment.position
is 8.

Two cases: a) The facet key "size" is not already in the top 8
slots, then the facet "size" will appear at a position close to 8.
b) The facet key "size" in among the top 8 positions in the request,
then it will stay at its current rank.

### [FacetPositionAdjustment](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.Rule.ForceReturnFacetAction.FacetPositionAdjustment)

Each facet position adjustment consists of a single attribute
name (i.e. facet key) along with a specified position.

### [IgnoreAction](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.Rule.IgnoreAction)

Prevents a term in the query from being used in search.
Example: Don't search for "shoddy".

### [OnewaySynonymsAction](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.Rule.OnewaySynonymsAction)

Maps a set of terms to a set of synonyms. Set of synonyms will be
treated as synonyms of each query term only. `query_terms` will
not be treated as synonyms of each other. Example: "sneakers" will
use a synonym of "shoes". "shoes" will not use a synonym of
"sneakers".

### [PinAction](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.Rule.PinAction)

Pins one or more specified products to a specific position in the
results.

- Rule Condition: Must specify non-empty
  Condition.query_terms
  (for search only) or
  Condition.page_categories
  (for browse only), but can't specify both.

- Action Input: mapping of `[pin_position, product_id]` pairs (pin
  position uses 1-based indexing).

- Action Result: Will pin products with matching ids to the position
  specified in the final result order.

Example: Suppose the query is `shoes`, the
Condition.query_terms
is `shoes` and the pin_map has `{1, "pid1"}`, then product with
`pid1` will be pinned to the top position in the final results.

If multiple PinActions are matched to a single request the actions
will be processed from most to least recently updated.

Pins to positions larger than the max allowed page size of 120 are
not allowed.

### [PinMapEntry](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.Rule.PinAction.PinMapEntry)

The abstract base class for a message.

### [RedirectAction](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.Rule.RedirectAction)

Redirects a shopper to a specific page.

- Rule Condition: Must specify Condition.query_terms.
- Action Input: Request Query
- Action Result: Redirects shopper to provided uri.

### [RemoveFacetAction](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.Rule.RemoveFacetAction)

Removes an attribute/facet in the request if is present.

- Rule Condition: Must specify non-empty
  Condition.query_terms
  (for search only) or
  Condition.page_categories
  (for browse only), but can't specify both.

- Action Input: attribute name

- Action Result: Will remove the attribute (as a facet) from the
  request if it is present.

Example: Suppose the query is "shoes", the
Condition.query_terms
is "shoes" and the attribute name "size", then facet key "size" will
be removed from the request (if it is present).

### [ReplacementAction](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.Rule.ReplacementAction)

Replaces a term in the query. Multiple replacement candidates can be
specified. All `query_terms` will be replaced with the replacement
term. Example: Replace "gShoe" with "google shoe".

### [TwowaySynonymsAction](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.Rule.TwowaySynonymsAction)

Creates a set of terms that will be treated as synonyms of each
other. Example: synonyms of "sneakers" and "shoes":

- "sneakers" will use a synonym of "shoes".
- "shoes" will use a synonym of "sneakers".

### [SafetySetting](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.SafetySetting)

Safety settings.

### [HarmBlockMethod](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.SafetySetting.HarmBlockMethod)

Probability vs severity.

### [HarmBlockThreshold](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.SafetySetting.HarmBlockThreshold)

Probability based thresholds levels for blocking.

### [SearchRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.SearchRequest)

Request message for
SearchService.Search
method.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [BoostSpec](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.SearchRequest.BoostSpec)

Boost specification to boost certain items.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [ConditionBoostSpec](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.SearchRequest.BoostSpec.ConditionBoostSpec)

Boost applies to products which match a condition.

### [ConversationalSearchSpec](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.SearchRequest.ConversationalSearchSpec)

This field specifies all conversational related parameters
addition to traditional retail search.

### [UserAnswer](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.SearchRequest.ConversationalSearchSpec.UserAnswer)

This field specifies the current user answer during the
conversational search. This can be either user selected from
suggested answers or user input plain text.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [SelectedAnswer](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer)

This field specifies the selected answers during the
conversational search.

### [DynamicFacetSpec](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.SearchRequest.DynamicFacetSpec)

The specifications of dynamically generated facets.

### [Mode](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.SearchRequest.DynamicFacetSpec.Mode)

Enum to control DynamicFacet mode

### [FacetSpec](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.SearchRequest.FacetSpec)

A facet specification to perform faceted search.

### [FacetKey](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.SearchRequest.FacetSpec.FacetKey)

Specifies how a facet is computed.

### [LabelsEntry](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.SearchRequest.LabelsEntry)

The abstract base class for a message.

### [PersonalizationSpec](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.SearchRequest.PersonalizationSpec)

The specification for personalization.

### [Mode](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.SearchRequest.PersonalizationSpec.Mode)

The personalization mode of each search request.

### [QueryExpansionSpec](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.SearchRequest.QueryExpansionSpec)

Specification to determine under which conditions query
expansion should occur.

### [Condition](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.SearchRequest.QueryExpansionSpec.Condition)

Enum describing under which condition query expansion should
occur.

### [RelevanceThreshold](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.SearchRequest.RelevanceThreshold)

The relevance threshold of the search results. The higher
relevance threshold is, the higher relevant results are shown
and the less number of results are returned.

### [SearchMode](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.SearchRequest.SearchMode)

The search mode of each search request.

        Only
        <xref uid="google.cloud.retail.v2alpha.SearchResponse.SearchResult">SearchResponse.SearchResult</xref>
        will be returned.
        <xref uid="google.cloud.retail.v2alpha.SearchResponse.Facet">SearchResponse.Facet</xref>
        will not be returned, even if
        <xref uid="google.cloud.retail.v2alpha.SearchRequest.facet_specs">SearchRequest.facet_specs</xref>
        or
        <xref uid="google.cloud.retail.v2alpha.SearchRequest.dynamic_facet_spec">SearchRequest.dynamic_facet_spec</xref>
        is set.
    FACETED_SEARCH_ONLY (2):
        Only faceted search will be performed. The product search
        will be disabled.

        When in this mode, one or both of
        <xref uid="google.cloud.retail.v2alpha.SearchRequest.facet_specs">SearchRequest.facet_specs</xref>
        and
        <xref uid="google.cloud.retail.v2alpha.SearchRequest.dynamic_facet_spec">SearchRequest.dynamic_facet_spec</xref>
        should be set. Otherwise, an INVALID_ARGUMENT error is
        returned. Only
        <xref uid="google.cloud.retail.v2alpha.SearchResponse.Facet">SearchResponse.Facet</xref>
        will be returned.
        <xref uid="google.cloud.retail.v2alpha.SearchResponse.SearchResult">SearchResponse.SearchResult</xref>
        will not be returned.

### [SpellCorrectionSpec](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.SearchRequest.SpellCorrectionSpec)

The specification for query spell correction.

### [Mode](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.SearchRequest.SpellCorrectionSpec.Mode)

Enum describing under which mode spell correction should
occur.

### [TileNavigationSpec](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.SearchRequest.TileNavigationSpec)

This field specifies tile navigation related parameters.

### [UserAttributesEntry](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.SearchRequest.UserAttributesEntry)

The abstract base class for a message.

### [SearchResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.SearchResponse)

Response message for
SearchService.Search
method.

### [ConversationalSearchResult](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.SearchResponse.ConversationalSearchResult)

This field specifies all related information that is needed
on client side for UI rendering of conversational retail search.

### [AdditionalFilter](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.SearchResponse.ConversationalSearchResult.AdditionalFilter)

Additional filter that client side need to apply.

### [SuggestedAnswer](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.SearchResponse.ConversationalSearchResult.SuggestedAnswer)

Suggested answers to the follow-up question.

### [Facet](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.SearchResponse.Facet)

A facet result.

### [FacetValue](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.SearchResponse.Facet.FacetValue)

A facet value which contains value names and their count.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [QueryExpansionInfo](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.SearchResponse.QueryExpansionInfo)

Information describing query expansion including whether
expansion has occurred.

### [SearchResult](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.SearchResponse.SearchResult)

Represents the search results.

### [MatchingVariantFieldsEntry](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.SearchResponse.SearchResult.MatchingVariantFieldsEntry)

The abstract base class for a message.

### [ModelScoresEntry](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.SearchResponse.SearchResult.ModelScoresEntry)

The abstract base class for a message.

### [VariantRollupValuesEntry](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.SearchResponse.SearchResult.VariantRollupValuesEntry)

The abstract base class for a message.

### [TileNavigationResult](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.SearchResponse.TileNavigationResult)

This field specifies all related information for tile
navigation that will be used in client side.

### [SearchSolutionUseCase](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.SearchSolutionUseCase)

The use case of Cloud Retail Search.

### [ServingConfig](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ServingConfig)

Configures metadata that is used to generate serving time
results (e.g. search results or recommendation predictions).

### [DiversityType](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.ServingConfig.DiversityType)

What type of diversity - data or rule based.

### [SetDefaultBranchRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.SetDefaultBranchRequest)

Request message to set a specified branch as new default_branch.

### [SetInventoryMetadata](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.SetInventoryMetadata)

Metadata related to the progress of the SetInventory operation.
Currently empty because there is no meaningful metadata populated
from the
ProductService.SetInventory
method.

### [SetInventoryRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.SetInventoryRequest)

Request message for
ProductService.SetInventory
method.

### [SetInventoryResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.SetInventoryResponse)

Response of the SetInventoryRequest. Currently empty because there
is no meaningful response populated from the
ProductService.SetInventory
method.

### [SolutionType](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.SolutionType)

The type of solution.

### [StringList](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.StringList)

A list of string values.

### [Tile](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.Tile)

This field specifies the tile information including an
attribute key, attribute value. More fields will be added in the
future, eg: product id or product counts, etc.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [TransformedUserEventsMetadata](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.TransformedUserEventsMetadata)

Metadata related to transform user events operation.

### [TuneModelMetadata](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.TuneModelMetadata)

Metadata associated with a tune operation.

### [TuneModelRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.TuneModelRequest)

Request to manually start a tuning process now (instead of
waiting for the periodically scheduled tuning to happen).

### [TuneModelResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.TuneModelResponse)

Response associated with a tune operation.

### [UpdateAlertConfigRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.UpdateAlertConfigRequest)

Request for
ProjectService.UpdateAlertConfig
method.

### [UpdateAttributesConfigRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.UpdateAttributesConfigRequest)

Request for
CatalogService.UpdateAttributesConfig
method.

### [UpdateCatalogRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.UpdateCatalogRequest)

Request for
CatalogService.UpdateCatalog
method.

### [UpdateCompletionConfigRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.UpdateCompletionConfigRequest)

Request for
CatalogService.UpdateCompletionConfig
method.

### [UpdateControlRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.UpdateControlRequest)

Request for UpdateControl method.

### [UpdateGenerativeQuestionConfigRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.UpdateGenerativeQuestionConfigRequest)

Request for UpdateGenerativeQuestionConfig method.

### [UpdateGenerativeQuestionsFeatureConfigRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.UpdateGenerativeQuestionsFeatureConfigRequest)

Request for UpdateGenerativeQuestionsFeatureConfig method.

### [UpdateLoggingConfigRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.UpdateLoggingConfigRequest)

Request for
ProjectService.UpdateLoggingConfig
method.

### [UpdateModelRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.UpdateModelRequest)

Request for updating an existing model.

### [UpdateProductRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.UpdateProductRequest)

Request message for
ProductService.UpdateProduct
method.

### [UpdateServingConfigRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.UpdateServingConfigRequest)

Request for UpdateServingConfig method.

### [UserEvent](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.UserEvent)

UserEvent captures all metadata information Retail API needs
to know about how end users interact with customers' website.

### [AttributesEntry](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.UserEvent.AttributesEntry)

The abstract base class for a message.

### [UserEventImportSummary](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.UserEventImportSummary)

A summary of import result. The UserEventImportSummary
summarizes the import status for user events.

### [UserEventInlineSource](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.UserEventInlineSource)

The inline source for the input config for ImportUserEvents
method.

### [UserEventInputConfig](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.UserEventInputConfig)

The input config source for user events.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [UserInfo](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.UserInfo)

Information of an end user.

### [WriteUserEventRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.WriteUserEventRequest)

Request message for WriteUserEvent method.

### [AnalyticsServiceAsyncClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.services.analytics_service.AnalyticsServiceAsyncClient)

Service for managing \& accessing retail search business
metric. Retail recommendation business metric is currently not
available.

### [AnalyticsServiceClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.services.analytics_service.AnalyticsServiceClient)

Service for managing \& accessing retail search business
metric. Retail recommendation business metric is currently not
available.

### [CatalogServiceAsyncClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.services.catalog_service.CatalogServiceAsyncClient)

Service for managing catalog configuration.

### [CatalogServiceClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.services.catalog_service.CatalogServiceClient)

Service for managing catalog configuration.

### [ListCatalogsAsyncPager](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.services.catalog_service.pagers.ListCatalogsAsyncPager)

A pager for iterating through `list_catalogs` requests.

This class thinly wraps an initial
[ListCatalogsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ListCatalogsResponse) object, and
provides an `__aiter__` method to iterate through its
`catalogs` field.

If there are more pages, the `__aiter__` method will make additional
`ListCatalogs` requests and continue to iterate
through the `catalogs` field on the
corresponding responses.

All the usual [ListCatalogsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ListCatalogsResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [ListCatalogsPager](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.services.catalog_service.pagers.ListCatalogsPager)

A pager for iterating through `list_catalogs` requests.

This class thinly wraps an initial
[ListCatalogsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ListCatalogsResponse) object, and
provides an `__iter__` method to iterate through its
`catalogs` field.

If there are more pages, the `__iter__` method will make additional
`ListCatalogs` requests and continue to iterate
through the `catalogs` field on the
corresponding responses.

All the usual [ListCatalogsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ListCatalogsResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [CompletionServiceAsyncClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.services.completion_service.CompletionServiceAsyncClient)

Autocomplete service for retail.

This feature is only available for users who have Retail Search
enabled. Enable Retail Search on Cloud Console before using this
feature.

### [CompletionServiceClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.services.completion_service.CompletionServiceClient)

Autocomplete service for retail.

This feature is only available for users who have Retail Search
enabled. Enable Retail Search on Cloud Console before using this
feature.

### [ControlServiceAsyncClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.services.control_service.ControlServiceAsyncClient)

Service for modifying Control.

### [ControlServiceClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.services.control_service.ControlServiceClient)

Service for modifying Control.

### [ListControlsAsyncPager](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.services.control_service.pagers.ListControlsAsyncPager)

A pager for iterating through `list_controls` requests.

This class thinly wraps an initial
[ListControlsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ListControlsResponse) object, and
provides an `__aiter__` method to iterate through its
`controls` field.

If there are more pages, the `__aiter__` method will make additional
`ListControls` requests and continue to iterate
through the `controls` field on the
corresponding responses.

All the usual [ListControlsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ListControlsResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [ListControlsPager](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.services.control_service.pagers.ListControlsPager)

A pager for iterating through `list_controls` requests.

This class thinly wraps an initial
[ListControlsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ListControlsResponse) object, and
provides an `__iter__` method to iterate through its
`controls` field.

If there are more pages, the `__iter__` method will make additional
`ListControls` requests and continue to iterate
through the `controls` field on the
corresponding responses.

All the usual [ListControlsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ListControlsResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [ConversationalSearchServiceAsyncClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.services.conversational_search_service.ConversationalSearchServiceAsyncClient)

Service for retail conversational search.

This feature is only available for users who have Retail
Conversational Search enabled. Enable Retail Conversational
Search on Cloud Console before using this feature.

### [ConversationalSearchServiceClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.services.conversational_search_service.ConversationalSearchServiceClient)

Service for retail conversational search.

This feature is only available for users who have Retail
Conversational Search enabled. Enable Retail Conversational
Search on Cloud Console before using this feature.

### [GenerativeQuestionServiceAsyncClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.services.generative_question_service.GenerativeQuestionServiceAsyncClient)

Service for managing LLM generated questions in search
serving.

### [GenerativeQuestionServiceClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.services.generative_question_service.GenerativeQuestionServiceClient)

Service for managing LLM generated questions in search
serving.

### [ModelServiceAsyncClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.services.model_service.ModelServiceAsyncClient)

Service for performing CRUD operations on models. Recommendation
models contain all the metadata necessary to generate a set of
models for the `Predict()` API. A model is queried indirectly via
a ServingConfig, which associates a model with a given Placement
(e.g. Frequently Bought Together on Home Page).

This service allows you to do the following:

- Initiate training of a model.
- Pause training of an existing model.
- List all the available models along with their metadata.
- Control their tuning schedule.

### [ModelServiceClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.services.model_service.ModelServiceClient)

Service for performing CRUD operations on models. Recommendation
models contain all the metadata necessary to generate a set of
models for the `Predict()` API. A model is queried indirectly via
a ServingConfig, which associates a model with a given Placement
(e.g. Frequently Bought Together on Home Page).

This service allows you to do the following:

- Initiate training of a model.
- Pause training of an existing model.
- List all the available models along with their metadata.
- Control their tuning schedule.

### [ListModelsAsyncPager](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.services.model_service.pagers.ListModelsAsyncPager)

A pager for iterating through `list_models` requests.

This class thinly wraps an initial
[ListModelsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ListModelsResponse) object, and
provides an `__aiter__` method to iterate through its
`models` field.

If there are more pages, the `__aiter__` method will make additional
`ListModels` requests and continue to iterate
through the `models` field on the
corresponding responses.

All the usual [ListModelsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ListModelsResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [ListModelsPager](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.services.model_service.pagers.ListModelsPager)

A pager for iterating through `list_models` requests.

This class thinly wraps an initial
[ListModelsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ListModelsResponse) object, and
provides an `__iter__` method to iterate through its
`models` field.

If there are more pages, the `__iter__` method will make additional
`ListModels` requests and continue to iterate
through the `models` field on the
corresponding responses.

All the usual [ListModelsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ListModelsResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [PredictionServiceAsyncClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.services.prediction_service.PredictionServiceAsyncClient)

Service for making recommendation prediction.

### [PredictionServiceClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.services.prediction_service.PredictionServiceClient)

Service for making recommendation prediction.

### [ProductServiceAsyncClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.services.product_service.ProductServiceAsyncClient)

Service for ingesting Product
information of the customer's website.

### [ProductServiceClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.services.product_service.ProductServiceClient)

Service for ingesting Product
information of the customer's website.

### [ListProductsAsyncPager](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.services.product_service.pagers.ListProductsAsyncPager)

A pager for iterating through `list_products` requests.

This class thinly wraps an initial
[ListProductsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ListProductsResponse) object, and
provides an `__aiter__` method to iterate through its
`products` field.

If there are more pages, the `__aiter__` method will make additional
`ListProducts` requests and continue to iterate
through the `products` field on the
corresponding responses.

All the usual [ListProductsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ListProductsResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [ListProductsPager](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.services.product_service.pagers.ListProductsPager)

A pager for iterating through `list_products` requests.

This class thinly wraps an initial
[ListProductsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ListProductsResponse) object, and
provides an `__iter__` method to iterate through its
`products` field.

If there are more pages, the `__iter__` method will make additional
`ListProducts` requests and continue to iterate
through the `products` field on the
corresponding responses.

All the usual [ListProductsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ListProductsResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [ProjectServiceAsyncClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.services.project_service.ProjectServiceAsyncClient)

Service for settings at Project level.

### [ProjectServiceClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.services.project_service.ProjectServiceClient)

Service for settings at Project level.

### [SearchServiceAsyncClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.services.search_service.SearchServiceAsyncClient)

Service for search.

This feature is only available for users who have Retail Search
enabled. Enable Retail Search on Cloud Console before using this
feature.

### [SearchServiceClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.services.search_service.SearchServiceClient)

Service for search.

This feature is only available for users who have Retail Search
enabled. Enable Retail Search on Cloud Console before using this
feature.

### [SearchAsyncPager](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.services.search_service.pagers.SearchAsyncPager)

A pager for iterating through `search` requests.

This class thinly wraps an initial
[SearchResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.SearchResponse) object, and
provides an `__aiter__` method to iterate through its
`results` field.

If there are more pages, the `__aiter__` method will make additional
`Search` requests and continue to iterate
through the `results` field on the
corresponding responses.

All the usual [SearchResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.SearchResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [SearchPager](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.services.search_service.pagers.SearchPager)

A pager for iterating through `search` requests.

This class thinly wraps an initial
[SearchResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.SearchResponse) object, and
provides an `__iter__` method to iterate through its
`results` field.

If there are more pages, the `__iter__` method will make additional
`Search` requests and continue to iterate
through the `results` field on the
corresponding responses.

All the usual [SearchResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.SearchResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [ServingConfigServiceAsyncClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.services.serving_config_service.ServingConfigServiceAsyncClient)

Service for modifying ServingConfig.

### [ServingConfigServiceClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.services.serving_config_service.ServingConfigServiceClient)

Service for modifying ServingConfig.

### [ListServingConfigsAsyncPager](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.services.serving_config_service.pagers.ListServingConfigsAsyncPager)

A pager for iterating through `list_serving_configs` requests.

This class thinly wraps an initial
[ListServingConfigsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ListServingConfigsResponse) object, and
provides an `__aiter__` method to iterate through its
`serving_configs` field.

If there are more pages, the `__aiter__` method will make additional
`ListServingConfigs` requests and continue to iterate
through the `serving_configs` field on the
corresponding responses.

All the usual [ListServingConfigsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ListServingConfigsResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [ListServingConfigsPager](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.services.serving_config_service.pagers.ListServingConfigsPager)

A pager for iterating through `list_serving_configs` requests.

This class thinly wraps an initial
[ListServingConfigsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ListServingConfigsResponse) object, and
provides an `__iter__` method to iterate through its
`serving_configs` field.

If there are more pages, the `__iter__` method will make additional
`ListServingConfigs` requests and continue to iterate
through the `serving_configs` field on the
corresponding responses.

All the usual [ListServingConfigsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ListServingConfigsResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [UserEventServiceAsyncClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.services.user_event_service.UserEventServiceAsyncClient)

Service for ingesting end user actions on the customer
website.

### [UserEventServiceClient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.services.user_event_service.UserEventServiceClient)

Service for ingesting end user actions on the customer
website.

### [AddCatalogAttributeRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.AddCatalogAttributeRequest)

Request for
CatalogService.AddCatalogAttribute
method.

### [AddControlRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.AddControlRequest)

Request for AddControl method.

### [AddFulfillmentPlacesMetadata](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.AddFulfillmentPlacesMetadata)

Metadata related to the progress of the AddFulfillmentPlaces
operation. Currently empty because there is no meaningful metadata
populated from the
ProductService.AddFulfillmentPlaces
method.

### [AddFulfillmentPlacesRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.AddFulfillmentPlacesRequest)

Request message for
ProductService.AddFulfillmentPlaces
method.

### [AddFulfillmentPlacesResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.AddFulfillmentPlacesResponse)

Response of the AddFulfillmentPlacesRequest. Currently empty because
there is no meaningful response populated from the
ProductService.AddFulfillmentPlaces
method.

### [AddLocalInventoriesMetadata](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.AddLocalInventoriesMetadata)

Metadata related to the progress of the AddLocalInventories
operation. Currently empty because there is no meaningful metadata
populated from the
ProductService.AddLocalInventories
method.

### [AddLocalInventoriesRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.AddLocalInventoriesRequest)

Request message for
ProductService.AddLocalInventories
method.

### [AddLocalInventoriesResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.AddLocalInventoriesResponse)

Response of the
ProductService.AddLocalInventories
API. Currently empty because there is no meaningful response
populated from the
ProductService.AddLocalInventories
method.

### [AlertConfig](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.AlertConfig)

Project level alert config.

### [AlertPolicy](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.AlertConfig.AlertPolicy)

Alert policy for a customer.

### [EnrollStatus](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.AlertConfig.AlertPolicy.EnrollStatus)

The enrollment status enum for alert policy.

### [Recipient](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.AlertConfig.AlertPolicy.Recipient)

Recipient contact information.

### [AttributeConfigLevel](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.AttributeConfigLevel)

At which level we offer configuration for attributes.

### [AttributesConfig](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.AttributesConfig)

Catalog level attribute config.

### [CatalogAttributesEntry](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.AttributesConfig.CatalogAttributesEntry)

The abstract base class for a message.

### [Audience](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.Audience)

An intended audience of the
Product for whom it's sold.

### [BatchRemoveCatalogAttributesRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.BatchRemoveCatalogAttributesRequest)

Request for
CatalogService.BatchRemoveCatalogAttributes
method.

### [BatchRemoveCatalogAttributesResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.BatchRemoveCatalogAttributesResponse)

Response of the
CatalogService.BatchRemoveCatalogAttributes.

### [BatchUpdateGenerativeQuestionConfigsRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.BatchUpdateGenerativeQuestionConfigsRequest)

Request for BatchUpdateGenerativeQuestionConfig method.

### [BatchUpdateGenerativeQuestionConfigsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.BatchUpdateGenerativeQuestionConfigsResponse)

Aggregated response for UpdateGenerativeQuestionConfig
method.

### [BigQueryOutputResult](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.BigQueryOutputResult)

A BigQuery output result.

### [BigQuerySource](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.BigQuerySource)

BigQuery source import data from.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [Catalog](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.Catalog)

The catalog configuration.

### [CatalogAttribute](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.CatalogAttribute)

Catalog level attribute config for an attribute. For example,
if customers want to enable/disable facet for a specific
attribute.

### [AttributeType](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.CatalogAttribute.AttributeType)

The type of an attribute.

        Used when type cannot be derived from attribute that is not
        <xref uid="google.cloud.retail.v2beta.CatalogAttribute.in_use">in_use</xref>.
    TEXTUAL (1):
        Textual attribute.
    NUMERICAL (2):
        Numerical attribute.

### [DynamicFacetableOption](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.CatalogAttribute.DynamicFacetableOption)

The status of the dynamic facetable option of a catalog
attribute.

### [ExactSearchableOption](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.CatalogAttribute.ExactSearchableOption)

The status of the exact-searchable option of a catalog
attribute.

### [FacetConfig](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.CatalogAttribute.FacetConfig)

Possible options for the facet that corresponds to the
current attribute config.

### [IgnoredFacetValues](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.CatalogAttribute.FacetConfig.IgnoredFacetValues)

\[Facet
values\]\[google.cloud.retail.v2beta.SearchResponse.Facet.values\] to
ignore on facets
during the specified time range for the given
SearchResponse.Facet.key
attribute.

### [MergedFacet](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.CatalogAttribute.FacetConfig.MergedFacet)

The current facet key (i.e. attribute config) maps into the
merged_facet_key.
A facet key can have at most one child. The current facet key and
the merged facet key need both to be textual custom attributes or
both numerical custom attributes (same type).

### [MergedFacetValue](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.CatalogAttribute.FacetConfig.MergedFacetValue)

Replaces a set of textual facet values by the same (possibly
different) merged facet value. Each facet value should appear at
most once as a value per
CatalogAttribute.
This feature is available only for textual custom attributes.

### [RerankConfig](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.CatalogAttribute.FacetConfig.RerankConfig)

Options to rerank based on facet values engaged by the user for the
current key. That key needs to be a custom textual key and
facetable. To use this control, you also need to pass all the facet
keys engaged by the user in the request using the field
\[SearchRequest.FacetSpec\]. In particular, if you don't pass the
facet keys engaged that you want to rerank on, this control won't be
effective. Moreover, to obtain better results, the facet values that
you want to rerank on should be close to English (ideally made of
words, underscores, and spaces).

### [IndexableOption](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.CatalogAttribute.IndexableOption)

The status of the indexable option of a catalog attribute.

### [RetrievableOption](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.CatalogAttribute.RetrievableOption)

The status of the retrievable option of a catalog attribute.

### [SearchableOption](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.CatalogAttribute.SearchableOption)

The status of the searchable option of a catalog attribute.

### [CollectUserEventRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.CollectUserEventRequest)

Request message for CollectUserEvent method.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [ColorInfo](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ColorInfo)

The color information of a
Product.

### [CompleteQueryRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.CompleteQueryRequest)

Autocomplete parameters.

### [CompleteQueryResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.CompleteQueryResponse)

Response of the autocomplete query.

### [AttributeResult](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.CompleteQueryResponse.AttributeResult)

Resource that represents attribute results.

### [AttributeResultsEntry](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.CompleteQueryResponse.AttributeResultsEntry)

The abstract base class for a message.

### [CompletionResult](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.CompleteQueryResponse.CompletionResult)

Resource that represents completion results.

### [AttributesEntry](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.CompleteQueryResponse.CompletionResult.AttributesEntry)

The abstract base class for a message.

### [RecentSearchResult](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.CompleteQueryResponse.RecentSearchResult)

Deprecated: Recent search of this user.

### [CompletionConfig](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.CompletionConfig)

Catalog level autocomplete config for customers to customize
autocomplete feature's settings.

### [CompletionDataInputConfig](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.CompletionDataInputConfig)

The input config source for completion data.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [CompletionDetail](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.CompletionDetail)

Detailed completion information including completion
attribution token and clicked completion info.

### [Condition](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.Condition)

Metadata that is used to define a condition that triggers an action.
A valid condition must specify at least one of 'query_terms' or
'products_filter'. If multiple fields are specified, the condition
is met if all the fields are satisfied e.g. if a set of query terms
and product_filter are set, then only items matching the
product_filter for requests with a query matching the query terms
wil get boosted.

### [QueryTerm](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.Condition.QueryTerm)

Query terms that we want to match on.

### [TimeRange](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.Condition.TimeRange)

Used for time-dependent conditions.
Example: Want to have rule applied for week long sale.

### [Control](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.Control)

Configures dynamic metadata that can be linked to a
ServingConfig and affect
search or recommendation results at serving time.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [ConversationalSearchRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ConversationalSearchRequest)

Request message for
ConversationalSearchService.ConversationalSearch
method.

### [ConversationalFilteringSpec](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ConversationalSearchRequest.ConversationalFilteringSpec)

This field specifies all conversational filtering related
parameters addition to conversational retail search.

### [Mode](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ConversationalSearchRequest.ConversationalFilteringSpec.Mode)

Enum to control Conversational Filtering mode.
A single conversation session including multiple turns supports
modes for Conversational Search OR Conversational Filtering
without Conversational Search, but not both.

### [SearchParams](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ConversationalSearchRequest.SearchParams)

Search parameters.

### [UserAnswer](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ConversationalSearchRequest.UserAnswer)

This field specifies the current user answer during the
conversational filtering search. This can be either user
selected from suggested answers or user input plain text.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [SelectedAnswer](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ConversationalSearchRequest.UserAnswer.SelectedAnswer)

This field specifies the selected answers during the
conversational search.

### [UserLabelsEntry](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ConversationalSearchRequest.UserLabelsEntry)

The abstract base class for a message.

### [ConversationalSearchResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ConversationalSearchResponse)

Response message for
ConversationalSearchService.ConversationalSearch
method.

### [ConversationalFilteringResult](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ConversationalSearchResponse.ConversationalFilteringResult)

This field specifies all related information that is needed
on client side for UI rendering of conversational filtering
search.

### [AdditionalFilter](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ConversationalSearchResponse.ConversationalFilteringResult.AdditionalFilter)

Additional filter that client side need to apply.

### [FollowupQuestion](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ConversationalSearchResponse.FollowupQuestion)

The conversational followup question generated for Intent
refinement.

### [SuggestedAnswer](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ConversationalSearchResponse.FollowupQuestion.SuggestedAnswer)

Suggested answers to the follow-up question.
If it's numerical attribute, only ProductAttributeInterval will
be set. If it's textual attribute, only productAttributeValue
will be set.

### [RefinedSearch](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ConversationalSearchResponse.RefinedSearch)

The proposed refined search for intent-refinement/bundled shopping
conversation. When using CONVERSATIONAL_FILTER_ONLY mode, the
refined_query from search response will be populated here.

### [State](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ConversationalSearchResponse.State)

The state of the response generation.

### [CreateControlRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.CreateControlRequest)

Request for CreateControl method.

### [CreateModelMetadata](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.CreateModelMetadata)

Metadata associated with a create operation.

### [CreateModelRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.CreateModelRequest)

Request for creating a model.

### [CreateProductRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.CreateProductRequest)

Request message for
ProductService.CreateProduct
method.

### [CreateServingConfigRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.CreateServingConfigRequest)

Request for CreateServingConfig method.

### [CustomAttribute](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.CustomAttribute)

A custom attribute that is not explicitly modeled in
Product.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [DeleteControlRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.DeleteControlRequest)

Request for DeleteControl method.

### [DeleteModelRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.DeleteModelRequest)

Request for deleting a model.

### [DeleteProductRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.DeleteProductRequest)

Request message for
ProductService.DeleteProduct
method.

### [DeleteServingConfigRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.DeleteServingConfigRequest)

Request for DeleteServingConfig method.

### [DoubleList](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.DoubleList)

A message with a list of double values.

### [ExperimentInfo](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ExperimentInfo)

Metadata for active A/B testing experiment.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [ServingConfigExperiment](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ExperimentInfo.ServingConfigExperiment)

Metadata for active serving config A/B tests.

### [ExportAnalyticsMetricsRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ExportAnalyticsMetricsRequest)

Request message for the `ExportAnalyticsMetrics` method.

### [ExportAnalyticsMetricsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ExportAnalyticsMetricsResponse)

Response of the ExportAnalyticsMetricsRequest. If the long
running operation was successful, then this message is returned
by the google.longrunning.Operations.response field if the
operation was successful.

### [ExportErrorsConfig](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ExportErrorsConfig)

Configuration of destination for Export related errors.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [ExportMetadata](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ExportMetadata)

Metadata related to the progress of the Export operation.
This is returned by the google.longrunning.Operation.metadata
field.

### [ExportProductsRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ExportProductsRequest)

Request message for ExportProducts method.

### [ExportProductsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ExportProductsResponse)

Response of the ExportProductsRequest. If the long running
operation is done, then this message is returned by the
google.longrunning.Operations.response field if the operation
was successful.

### [ExportUserEventsRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ExportUserEventsRequest)

Request message for the `ExportUserEvents` method.

### [ExportUserEventsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ExportUserEventsResponse)

Response of the ExportUserEventsRequest. If the long running
operation was successful, then this message is returned by the
google.longrunning.Operations.response field if the operation
was successful.

### [FulfillmentInfo](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.FulfillmentInfo)

Fulfillment information, such as the store IDs for in-store
pickup or region IDs for different shipping methods.

### [GcsOutputResult](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.GcsOutputResult)

A Gcs output result.

### [GcsSource](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.GcsSource)

Google Cloud Storage location for input content.

### [GenerativeQuestionConfig](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.GenerativeQuestionConfig)

Configuration for a single generated question.

### [GenerativeQuestionsFeatureConfig](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.GenerativeQuestionsFeatureConfig)

Configuration for overall generative question feature state.

### [GetAlertConfigRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.GetAlertConfigRequest)

Request for
ProjectService.GetAlertConfig
method.

### [GetAttributesConfigRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.GetAttributesConfigRequest)

Request for
CatalogService.GetAttributesConfig
method.

### [GetCompletionConfigRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.GetCompletionConfigRequest)

Request for
CatalogService.GetCompletionConfig
method.

### [GetControlRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.GetControlRequest)

Request for GetControl method.

### [GetDefaultBranchRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.GetDefaultBranchRequest)

Request message to show which branch is currently the default
branch.

### [GetDefaultBranchResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.GetDefaultBranchResponse)

Response message of
CatalogService.GetDefaultBranch.

### [GetGenerativeQuestionsFeatureConfigRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.GetGenerativeQuestionsFeatureConfigRequest)

Request for GetGenerativeQuestionsFeatureConfig method.

### [GetModelRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.GetModelRequest)

Request for getting a model.

### [GetProductRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.GetProductRequest)

Request message for
ProductService.GetProduct
method.

### [GetServingConfigRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.GetServingConfigRequest)

Request for GetServingConfig method.

### [HarmCategory](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.HarmCategory)

Harm categories that will block the content.

### [Image](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.Image)

Product image. Recommendations
AI and Retail Search use product images to improve prediction and
search results. Product images can be returned in results, and are
shown in prediction or search previews in the console. Please try to
provide correct product images and avoid using images with size too
small.

### [ImportCompletionDataRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ImportCompletionDataRequest)

Request message for ImportCompletionData methods.

### [ImportCompletionDataResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ImportCompletionDataResponse)

Response of the
ImportCompletionDataRequest.
If the long running operation is done, this message is returned by
the google.longrunning.Operations.response field if the operation is
successful.

### [ImportErrorsConfig](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ImportErrorsConfig)

Configuration of destination for Import related errors.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [ImportMetadata](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ImportMetadata)

Metadata related to the progress of the Import operation.
This is returned by the google.longrunning.Operation.metadata
field.

### [ImportProductsRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ImportProductsRequest)

Request message for Import methods.

### [ReconciliationMode](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ImportProductsRequest.ReconciliationMode)

Indicates how imported products are reconciled with the
existing products created or imported before.

### [ImportProductsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ImportProductsResponse)

Response of the
ImportProductsRequest.
If the long running operation is done, then this message is returned
by the google.longrunning.Operations.response field if the operation
was successful.

### [ImportUserEventsRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ImportUserEventsRequest)

Request message for the ImportUserEvents request.

### [ImportUserEventsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ImportUserEventsResponse)

Response of the ImportUserEventsRequest. If the long running
operation was successful, then this message is returned by the
google.longrunning.Operations.response field if the operation
was successful.

### [Interval](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.Interval)

A floating point interval.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [ListCatalogsRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ListCatalogsRequest)

Request for
CatalogService.ListCatalogs
method.

### [ListCatalogsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ListCatalogsResponse)

Response for
CatalogService.ListCatalogs
method.

### [ListControlsRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ListControlsRequest)

Request for ListControls method.

### [ListControlsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ListControlsResponse)

Response for ListControls method.

### [ListGenerativeQuestionConfigsRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ListGenerativeQuestionConfigsRequest)

Request for ListQuestions method.

### [ListGenerativeQuestionConfigsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ListGenerativeQuestionConfigsResponse)

Response for ListQuestions method.

### [ListModelsRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ListModelsRequest)

Request for listing models associated with a resource.

### [ListModelsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ListModelsResponse)

Response to a ListModelRequest.

### [ListProductsRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ListProductsRequest)

Request message for
ProductService.ListProducts
method.

### [ListProductsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ListProductsResponse)

Response message for
ProductService.ListProducts
method.

### [ListServingConfigsRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ListServingConfigsRequest)

Request for ListServingConfigs method.

### [ListServingConfigsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ListServingConfigsResponse)

Response for ListServingConfigs method.

### [LocalInventory](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.LocalInventory)

The inventory information at a place (e.g. a store)
identified by a place ID.

### [AttributesEntry](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.LocalInventory.AttributesEntry)

The abstract base class for a message.

### [MerchantCenterFeedFilter](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.MerchantCenterFeedFilter)

Merchant Center Feed filter criterion.

### [MerchantCenterLink](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.MerchantCenterLink)

Represents a link between a Merchant Center account and a
branch. After a link is established, products from the linked
Merchant Center account are streamed to the linked branch.

### [MerchantCenterLinkingConfig](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.MerchantCenterLinkingConfig)

Configures Merchant Center linking.
Links contained in the config will be used to sync data from a
Merchant Center account to a Cloud Retail branch.

### [Model](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.Model)

Metadata that describes the training and serving parameters of a
Model. A
Model can be associated with a
ServingConfig and then
queried through the Predict API.

### [ContextProductsType](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.Model.ContextProductsType)

Use single or multiple context products for recommendations.

### [DataState](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.Model.DataState)

Describes whether this model have sufficient training data
to be continuously trained.

### [FrequentlyBoughtTogetherFeaturesConfig](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.Model.FrequentlyBoughtTogetherFeaturesConfig)

Additional configs for the frequently-bought-together model
type.

### [ModelFeaturesConfig](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.Model.ModelFeaturesConfig)

Additional model features config.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [PeriodicTuningState](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.Model.PeriodicTuningState)

Describes whether periodic tuning is enabled for this model or not.
Periodic tuning is scheduled at most every three months. You can
start a tuning process manually by using the `TuneModel` method,
which starts a tuning process immediately and resets the quarterly
schedule. Enabling or disabling periodic tuning does not affect any
current tuning processes.

### [ServingConfigList](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.Model.ServingConfigList)

Represents an ordered combination of valid serving configs, which
can be used for `PAGE_OPTIMIZATION` recommendations.

### [ServingState](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.Model.ServingState)

The serving state of the model.

### [TrainingState](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.Model.TrainingState)

The training state of the model.

### [OutputConfig](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.OutputConfig)

The output configuration setting.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [BigQueryDestination](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.OutputConfig.BigQueryDestination)

The BigQuery output destination configuration.

### [GcsDestination](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.OutputConfig.GcsDestination)

The Google Cloud Storage output destination configuration.

### [OutputResult](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.OutputResult)

Output result that stores the information about where the
exported data is stored.

### [PauseModelRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.PauseModelRequest)

Request for pausing training of a model.

### [PinControlMetadata](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.PinControlMetadata)

Metadata for pinning to be returned in the response.
This is used for distinguishing between applied vs dropped pins.

### [AllMatchedPinsEntry](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.PinControlMetadata.AllMatchedPinsEntry)

The abstract base class for a message.

### [DroppedPinsEntry](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.PinControlMetadata.DroppedPinsEntry)

The abstract base class for a message.

### [ProductPins](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.PinControlMetadata.ProductPins)

List of product ids which have associated pins.

### [PredictRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.PredictRequest)

Request message for Predict method.

### [LabelsEntry](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.PredictRequest.LabelsEntry)

The abstract base class for a message.

### [ParamsEntry](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.PredictRequest.ParamsEntry)

The abstract base class for a message.

### [PredictResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.PredictResponse)

Response message for predict method.

### [PredictionResult](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.PredictResponse.PredictionResult)

PredictionResult represents the recommendation prediction
results.

### [MetadataEntry](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.PredictResponse.PredictionResult.MetadataEntry)

The abstract base class for a message.

### [PriceInfo](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.PriceInfo)

The price information of a
Product.

### [PriceRange](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.PriceInfo.PriceRange)

The price range of all
variant
Product having the same
Product.primary_product_id.

### [Product](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.Product)

Product captures all metadata information of items to be
recommended or searched.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [AttributesEntry](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.Product.AttributesEntry)

The abstract base class for a message.

### [Availability](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.Product.Availability)

Product availability. If this field is unspecified, the
product is assumed to be in stock.

### [Type](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.Product.Type)

The type of this product.

        As the primary unit for predicting, indexing and search
        serving, a
        <xref uid="google.cloud.retail.v2beta.Product.Type.PRIMARY">Type.PRIMARY</xref>
        <xref uid="google.cloud.retail.v2beta.Product">Product</xref> is grouped
        with multiple
        <xref uid="google.cloud.retail.v2beta.Product.Type.VARIANT">Type.VARIANT</xref>
        <xref uid="google.cloud.retail.v2beta.Product">Product</xref>s.
    VARIANT (2):
        The variant type.

        <xref uid="google.cloud.retail.v2beta.Product.Type.VARIANT">Type.VARIANT</xref>
        <xref uid="google.cloud.retail.v2beta.Product">Product</xref>s usually share
        some common attributes on the same
        <xref uid="google.cloud.retail.v2beta.Product.Type.PRIMARY">Type.PRIMARY</xref>
        <xref uid="google.cloud.retail.v2beta.Product">Product</xref>s, but they
        have variant attributes like different colors, sizes and
        prices, etc.
    COLLECTION (3):
        The collection type. Collection products are bundled
        <xref uid="google.cloud.retail.v2beta.Product.Type.PRIMARY">Type.PRIMARY</xref>
        <xref uid="google.cloud.retail.v2beta.Product">Product</xref>s or
        <xref uid="google.cloud.retail.v2beta.Product.Type.VARIANT">Type.VARIANT</xref>
        <xref uid="google.cloud.retail.v2beta.Product">Product</xref>s that are sold
        together, such as a jewelry set with necklaces, earrings and
        rings, etc.

### [ProductAttributeInterval](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ProductAttributeInterval)

Product attribute name and numeric interval.

### [ProductAttributeValue](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ProductAttributeValue)

Product attribute which structured by an attribute name and value.
This structure is used in conversational search filters and answers.
For example, if we have `name=color` and `value=red`, this means
that the color is `red`.

### [ProductDetail](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ProductDetail)

Detailed product information associated with a user event.

### [ProductInlineSource](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ProductInlineSource)

The inline source for the input config for ImportProducts
method.

### [ProductInputConfig](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ProductInputConfig)

The input config source for products.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [ProductLevelConfig](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ProductLevelConfig)

Configures what level the product should be uploaded with
regards to how users will be send events and how predictions
will be made.

### [Promotion](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.Promotion)

Promotion information.

### [PurchaseTransaction](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.PurchaseTransaction)

A transaction represents the entire purchase transaction.

### [PurgeMetadata](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.PurgeMetadata)

Metadata related to the progress of the Purge operation.
This will be returned by the
google.longrunning.Operation.metadata field.

### [PurgeProductsMetadata](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.PurgeProductsMetadata)

Metadata related to the progress of the PurgeProducts
operation. This will be returned by the
google.longrunning.Operation.metadata field.

### [PurgeProductsRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.PurgeProductsRequest)

Request message for PurgeProducts method.

### [PurgeProductsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.PurgeProductsResponse)

Response of the PurgeProductsRequest. If the long running
operation is successfully done, then this message is returned by
the google.longrunning.Operations.response field.

### [PurgeUserEventsRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.PurgeUserEventsRequest)

Request message for PurgeUserEvents method.

### [PurgeUserEventsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.PurgeUserEventsResponse)

Response of the PurgeUserEventsRequest. If the long running
operation is successfully done, then this message is returned by
the google.longrunning.Operations.response field.

### [Rating](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.Rating)

The rating of a Product.

### [RecommendationsFilteringOption](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.RecommendationsFilteringOption)

If filtering for recommendations is enabled.

### [RejoinUserEventsMetadata](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.RejoinUserEventsMetadata)

Metadata for `RejoinUserEvents` method.

### [RejoinUserEventsRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.RejoinUserEventsRequest)

Request message for RejoinUserEvents method.

### [UserEventRejoinScope](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.RejoinUserEventsRequest.UserEventRejoinScope)

The scope of user events to be rejoined with the latest product
catalog. If the rejoining aims at reducing number of unjoined
events, set `UserEventRejoinScope` to `UNJOINED_EVENTS`. If the
rejoining aims at correcting product catalog information in joined
events, set `UserEventRejoinScope` to `JOINED_EVENTS`. If all
events needs to be rejoined, set `UserEventRejoinScope` to
`USER_EVENT_REJOIN_SCOPE_UNSPECIFIED`.

### [RejoinUserEventsResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.RejoinUserEventsResponse)

Response message for `RejoinUserEvents` method.

### [RemoveCatalogAttributeRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.RemoveCatalogAttributeRequest)

Request for
CatalogService.RemoveCatalogAttribute
method.

### [RemoveControlRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.RemoveControlRequest)

Request for RemoveControl method.

### [RemoveFulfillmentPlacesMetadata](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.RemoveFulfillmentPlacesMetadata)

Metadata related to the progress of the RemoveFulfillmentPlaces
operation. Currently empty because there is no meaningful metadata
populated from the
ProductService.RemoveFulfillmentPlaces
method.

### [RemoveFulfillmentPlacesRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.RemoveFulfillmentPlacesRequest)

Request message for
ProductService.RemoveFulfillmentPlaces
method.

### [RemoveFulfillmentPlacesResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.RemoveFulfillmentPlacesResponse)

Response of the RemoveFulfillmentPlacesRequest. Currently empty
because there is no meaningful response populated from the
ProductService.RemoveFulfillmentPlaces
method.

### [RemoveLocalInventoriesMetadata](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.RemoveLocalInventoriesMetadata)

Metadata related to the progress of the RemoveLocalInventories
operation. Currently empty because there is no meaningful metadata
populated from the
ProductService.RemoveLocalInventories
method.

### [RemoveLocalInventoriesRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.RemoveLocalInventoriesRequest)

Request message for
ProductService.RemoveLocalInventories
method.

### [RemoveLocalInventoriesResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.RemoveLocalInventoriesResponse)

Response of the
ProductService.RemoveLocalInventories
API. Currently empty because there is no meaningful response
populated from the
ProductService.RemoveLocalInventories
method.

### [ReplaceCatalogAttributeRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ReplaceCatalogAttributeRequest)

Request for
CatalogService.ReplaceCatalogAttribute
method.

### [ResumeModelRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ResumeModelRequest)

Request for resuming training of a model.

### [Rule](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.Rule)

A rule is a condition-action pair

- A condition defines when a rule is to be triggered.
- An action specifies what occurs on that trigger. Currently rules only work for controls with SOLUTION_TYPE_SEARCH.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [BoostAction](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.Rule.BoostAction)

A boost action to apply to results matching condition
specified above.

### [DoNotAssociateAction](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.Rule.DoNotAssociateAction)

Prevents `query_term` from being associated with specified terms
during search. Example: Don't associate "gShoe" and "cheap".

### [FilterAction](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.Rule.FilterAction)

- Rule Condition:

  - No Condition.query_terms provided is a global match.
  - 1 or more Condition.query_terms provided are combined with OR operator.
- Action Input: The request query and filter that are applied to the
  retrieved products, in addition to any filters already provided
  with the SearchRequest. The AND operator is used to combine the
  query's existing filters with the filter rule(s). NOTE: May result
  in 0 results when filters conflict.

- Action Result: Filters the returned objects to be ONLY those that
  passed the filter.

### [ForceReturnFacetAction](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.Rule.ForceReturnFacetAction)

Force returns an attribute/facet in the request around a certain
position or above.

- Rule Condition: Must specify non-empty
  Condition.query_terms
  (for search only) or
  Condition.page_categories
  (for browse only), but can't specify both.

- Action Inputs: attribute name, position

- Action Result: Will force return a facet key around a certain
  position or above if the condition is satisfied.

Example: Suppose the query is "shoes", the
Condition.query_terms
is "shoes", the
ForceReturnFacetAction.FacetPositionAdjustment.attribute_name
is "size" and the
ForceReturnFacetAction.FacetPositionAdjustment.position
is 8.

Two cases: a) The facet key "size" is not already in the top 8
slots, then the facet "size" will appear at a position close to 8.
b) The facet key "size" in among the top 8 positions in the request,
then it will stay at its current rank.

### [FacetPositionAdjustment](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.Rule.ForceReturnFacetAction.FacetPositionAdjustment)

Each facet position adjustment consists of a single attribute
name (i.e. facet key) along with a specified position.

### [IgnoreAction](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.Rule.IgnoreAction)

Prevents a term in the query from being used in search.
Example: Don't search for "shoddy".

### [OnewaySynonymsAction](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.Rule.OnewaySynonymsAction)

Maps a set of terms to a set of synonyms. Set of synonyms will be
treated as synonyms of each query term only. `query_terms` will
not be treated as synonyms of each other. Example: "sneakers" will
use a synonym of "shoes". "shoes" will not use a synonym of
"sneakers".

### [PinAction](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.Rule.PinAction)

Pins one or more specified products to a specific position in the
results.

- Rule Condition: Must specify non-empty
  Condition.query_terms
  (for search only) or
  Condition.page_categories
  (for browse only), but can't specify both.

- Action Input: mapping of `[pin_position, product_id]` pairs (pin
  position uses 1-based indexing).

- Action Result: Will pin products with matching ids to the position
  specified in the final result order.

Example: Suppose the query is `shoes`, the
Condition.query_terms
is `shoes` and the pin_map has `{1, "pid1"}`, then product with
`pid1` will be pinned to the top position in the final results.

If multiple PinActions are matched to a single request the actions
will be processed from most to least recently updated.

Pins to positions larger than the max allowed page size of 120 are
not allowed.

### [PinMapEntry](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.Rule.PinAction.PinMapEntry)

The abstract base class for a message.

### [RedirectAction](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.Rule.RedirectAction)

Redirects a shopper to a specific page.

- Rule Condition: Must specify Condition.query_terms.
- Action Input: Request Query
- Action Result: Redirects shopper to provided uri.

### [RemoveFacetAction](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.Rule.RemoveFacetAction)

Removes an attribute/facet in the request if is present.

- Rule Condition: Must specify non-empty
  Condition.query_terms
  (for search only) or
  Condition.page_categories
  (for browse only), but can't specify both.

- Action Input: attribute name

- Action Result: Will remove the attribute (as a facet) from the
  request if it is present.

Example: Suppose the query is "shoes", the
Condition.query_terms
is "shoes" and the attribute name "size", then facet key "size" will
be removed from the request (if it is present).

### [ReplacementAction](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.Rule.ReplacementAction)

Replaces a term in the query. Multiple replacement candidates can be
specified. All `query_terms` will be replaced with the replacement
term. Example: Replace "gShoe" with "google shoe".

### [TwowaySynonymsAction](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.Rule.TwowaySynonymsAction)

Creates a set of terms that will be treated as synonyms of each
other. Example: synonyms of "sneakers" and "shoes":

- "sneakers" will use a synonym of "shoes".
- "shoes" will use a synonym of "sneakers".

### [SafetySetting](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.SafetySetting)

Safety settings.

### [HarmBlockMethod](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.SafetySetting.HarmBlockMethod)

Probability vs severity.

### [HarmBlockThreshold](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.SafetySetting.HarmBlockThreshold)

Probability based thresholds levels for blocking.

### [SearchRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.SearchRequest)

Request message for
SearchService.Search
method.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [BoostSpec](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.SearchRequest.BoostSpec)

Boost specification to boost certain items.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [ConditionBoostSpec](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.SearchRequest.BoostSpec.ConditionBoostSpec)

Boost applies to products which match a condition.

### [ConversationalSearchSpec](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.SearchRequest.ConversationalSearchSpec)

This field specifies all conversational related parameters
addition to traditional retail search.

### [UserAnswer](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.SearchRequest.ConversationalSearchSpec.UserAnswer)

This field specifies the current user answer during the
conversational search. This can be either user selected from
suggested answers or user input plain text.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [SelectedAnswer](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer)

This field specifies the selected answers during the
conversational search.

### [DynamicFacetSpec](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.SearchRequest.DynamicFacetSpec)

The specifications of dynamically generated facets.

### [Mode](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.SearchRequest.DynamicFacetSpec.Mode)

Enum to control DynamicFacet mode

### [FacetSpec](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.SearchRequest.FacetSpec)

A facet specification to perform faceted search.

### [FacetKey](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.SearchRequest.FacetSpec.FacetKey)

Specifies how a facet is computed.

### [LabelsEntry](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.SearchRequest.LabelsEntry)

The abstract base class for a message.

### [PersonalizationSpec](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.SearchRequest.PersonalizationSpec)

The specification for personalization.

### [Mode](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.SearchRequest.PersonalizationSpec.Mode)

The personalization mode of each search request.

### [QueryExpansionSpec](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.SearchRequest.QueryExpansionSpec)

Specification to determine under which conditions query
expansion should occur.

### [Condition](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.SearchRequest.QueryExpansionSpec.Condition)

Enum describing under which condition query expansion should
occur.

### [SearchMode](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.SearchRequest.SearchMode)

The search mode of each search request.

        Only
        <xref uid="google.cloud.retail.v2beta.SearchResponse.SearchResult">SearchResponse.SearchResult</xref>
        will be returned.
        <xref uid="google.cloud.retail.v2beta.SearchResponse.Facet">SearchResponse.Facet</xref>
        will not be returned, even if
        <xref uid="google.cloud.retail.v2beta.SearchRequest.facet_specs">SearchRequest.facet_specs</xref>
        or
        <xref uid="google.cloud.retail.v2beta.SearchRequest.dynamic_facet_spec">SearchRequest.dynamic_facet_spec</xref>
        is set.
    FACETED_SEARCH_ONLY (2):
        Only faceted search will be performed. The product search
        will be disabled.

        When in this mode, one or both of
        <xref uid="google.cloud.retail.v2beta.SearchRequest.facet_specs">SearchRequest.facet_specs</xref>
        and
        <xref uid="google.cloud.retail.v2beta.SearchRequest.dynamic_facet_spec">SearchRequest.dynamic_facet_spec</xref>
        should be set. Otherwise, an INVALID_ARGUMENT error is
        returned. Only
        <xref uid="google.cloud.retail.v2beta.SearchResponse.Facet">SearchResponse.Facet</xref>
        will be returned.
        <xref uid="google.cloud.retail.v2beta.SearchResponse.SearchResult">SearchResponse.SearchResult</xref>
        will not be returned.

### [SpellCorrectionSpec](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.SearchRequest.SpellCorrectionSpec)

The specification for query spell correction.

### [Mode](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.SearchRequest.SpellCorrectionSpec.Mode)

Enum describing under which mode spell correction should
occur.

### [TileNavigationSpec](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.SearchRequest.TileNavigationSpec)

This field specifies tile navigation related parameters.

### [UserAttributesEntry](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.SearchRequest.UserAttributesEntry)

The abstract base class for a message.

### [SearchResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.SearchResponse)

Response message for
SearchService.Search
method.

### [ConversationalSearchResult](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.SearchResponse.ConversationalSearchResult)

This field specifies all related information that is needed
on client side for UI rendering of conversational retail search.

### [AdditionalFilter](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.SearchResponse.ConversationalSearchResult.AdditionalFilter)

Additional filter that client side need to apply.

### [SuggestedAnswer](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.SearchResponse.ConversationalSearchResult.SuggestedAnswer)

Suggested answers to the follow-up question.

### [Facet](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.SearchResponse.Facet)

A facet result.

### [FacetValue](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.SearchResponse.Facet.FacetValue)

A facet value which contains value names and their count.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [QueryExpansionInfo](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.SearchResponse.QueryExpansionInfo)

Information describing query expansion including whether
expansion has occurred.

### [SearchResult](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.SearchResponse.SearchResult)

Represents the search results.

### [MatchingVariantFieldsEntry](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.SearchResponse.SearchResult.MatchingVariantFieldsEntry)

The abstract base class for a message.

### [ModelScoresEntry](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.SearchResponse.SearchResult.ModelScoresEntry)

The abstract base class for a message.

### [VariantRollupValuesEntry](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.SearchResponse.SearchResult.VariantRollupValuesEntry)

The abstract base class for a message.

### [TileNavigationResult](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.SearchResponse.TileNavigationResult)

This field specifies all related information for tile
navigation that will be used in client side.

### [SearchSolutionUseCase](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.SearchSolutionUseCase)

The use case of Cloud Retail Search.

### [ServingConfig](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ServingConfig)

Configures metadata that is used to generate serving time
results (e.g. search results or recommendation predictions).

### [DiversityType](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ServingConfig.DiversityType)

What type of diversity - data or rule based.

### [SetDefaultBranchRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.SetDefaultBranchRequest)

Request message to set a specified branch as new default_branch.

### [SetInventoryMetadata](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.SetInventoryMetadata)

Metadata related to the progress of the SetInventory operation.
Currently empty because there is no meaningful metadata populated
from the
ProductService.SetInventory
method.

### [SetInventoryRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.SetInventoryRequest)

Request message for
ProductService.SetInventory
method.

### [SetInventoryResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.SetInventoryResponse)

Response of the SetInventoryRequest. Currently empty because there
is no meaningful response populated from the
ProductService.SetInventory
method.

### [SolutionType](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.SolutionType)

The type of solution.

### [StringList](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.StringList)

A list of string values.

### [Tile](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.Tile)

This field specifies the tile information including an
attribute key, attribute value. More fields will be added in the
future, eg: product id or product counts, etc.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [TuneModelMetadata](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.TuneModelMetadata)

Metadata associated with a tune operation.

### [TuneModelRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.TuneModelRequest)

Request to manually start a tuning process now (instead of
waiting for the periodically scheduled tuning to happen).

### [TuneModelResponse](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.TuneModelResponse)

Response associated with a tune operation.

### [UpdateAlertConfigRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.UpdateAlertConfigRequest)

Request for
ProjectService.UpdateAlertConfig
method.

### [UpdateAttributesConfigRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.UpdateAttributesConfigRequest)

Request for
CatalogService.UpdateAttributesConfig
method.

### [UpdateCatalogRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.UpdateCatalogRequest)

Request for
CatalogService.UpdateCatalog
method.

### [UpdateCompletionConfigRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.UpdateCompletionConfigRequest)

Request for
CatalogService.UpdateCompletionConfig
method.

### [UpdateControlRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.UpdateControlRequest)

Request for UpdateControl method.

### [UpdateGenerativeQuestionConfigRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.UpdateGenerativeQuestionConfigRequest)

Request for UpdateGenerativeQuestionConfig method.

### [UpdateGenerativeQuestionsFeatureConfigRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.UpdateGenerativeQuestionsFeatureConfigRequest)

Request for UpdateGenerativeQuestionsFeatureConfig method.

### [UpdateModelRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.UpdateModelRequest)

Request for updating an existing model.

### [UpdateProductRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.UpdateProductRequest)

Request message for
ProductService.UpdateProduct
method.

### [UpdateServingConfigRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.UpdateServingConfigRequest)

Request for UpdateServingConfig method.

### [UserEvent](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.UserEvent)

UserEvent captures all metadata information Retail API needs
to know about how end users interact with customers' website.

### [AttributesEntry](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.UserEvent.AttributesEntry)

The abstract base class for a message.

### [UserEventImportSummary](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.UserEventImportSummary)

A summary of import result. The UserEventImportSummary
summarizes the import status for user events.

### [UserEventInlineSource](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.UserEventInlineSource)

The inline source for the input config for ImportUserEvents
method.

### [UserEventInputConfig](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.UserEventInputConfig)

The input config source for user events.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [UserInfo](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.UserInfo)

Information of an end user.

### [WriteUserEventRequest](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.WriteUserEventRequest)

Request message for WriteUserEvent method.

## Modules

### [pagers](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.services.catalog_service.pagers)

API documentation for `retail_v2.services.catalog_service.pagers` module.

### [pagers](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.services.control_service.pagers)

API documentation for `retail_v2.services.control_service.pagers` module.

### [pagers](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.services.model_service.pagers)

API documentation for `retail_v2.services.model_service.pagers` module.

### [pagers](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.services.product_service.pagers)

API documentation for `retail_v2.services.product_service.pagers` module.

### [pagers](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.services.search_service.pagers)

API documentation for `retail_v2.services.search_service.pagers` module.

### [pagers](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2.services.serving_config_service.pagers)

API documentation for `retail_v2.services.serving_config_service.pagers` module.

### [pagers](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.services.catalog_service.pagers)

API documentation for `retail_v2alpha.services.catalog_service.pagers` module.

### [pagers](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.services.control_service.pagers)

API documentation for `retail_v2alpha.services.control_service.pagers` module.

### [pagers](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.services.model_service.pagers)

API documentation for `retail_v2alpha.services.model_service.pagers` module.

### [pagers](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.services.product_service.pagers)

API documentation for `retail_v2alpha.services.product_service.pagers` module.

### [pagers](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.services.search_service.pagers)

API documentation for `retail_v2alpha.services.search_service.pagers` module.

### [pagers](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.services.serving_config_service.pagers)

API documentation for `retail_v2alpha.services.serving_config_service.pagers` module.

### [pagers](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.services.catalog_service.pagers)

API documentation for `retail_v2beta.services.catalog_service.pagers` module.

### [pagers](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.services.control_service.pagers)

API documentation for `retail_v2beta.services.control_service.pagers` module.

### [pagers](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.services.model_service.pagers)

API documentation for `retail_v2beta.services.model_service.pagers` module.

### [pagers](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.services.product_service.pagers)

API documentation for `retail_v2beta.services.product_service.pagers` module.

### [pagers](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.services.search_service.pagers)

API documentation for `retail_v2beta.services.search_service.pagers` module.

### [pagers](https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.services.serving_config_service.pagers)

API documentation for `retail_v2beta.services.serving_config_service.pagers` module.