The AI Commerce Search API is made up of Retail Search, Browse and Recommendations. These discovery AI solutions help you implement personalized search, browse and recommendations, based on machine learning models, across your websites and mobile applications.

## Service: retail.googleapis.com

The Service name `retail.googleapis.com` is needed to create RPC client stubs.

## `google.cloud.location.Locations`

| Methods ||
|---|---|

## `google.cloud.retail.v2.AnalyticsService`

| Methods ||
|---|---|
| `` `ExportAnalyticsMetrics` `` | Exports analytics metrics. |

## `google.cloud.retail.v2.CatalogService`

| Methods ||
|---|---|
| `` `AddCatalogAttribute` `` | Adds the specified `CatalogAttribute` to the `AttributesConfig`. |
| `` `GetAttributesConfig` `` | Gets an `AttributesConfig`. |
| `` `GetCompletionConfig` `` | Gets a `CompletionConfig`. |
| `` `GetDefaultBranch` `` | Get which branch is currently default branch set by `CatalogService.SetDefaultBranch` method under a specified parent catalog. |
| `` `ListCatalogs` `` | Lists all the `Catalog`s associated with the project. |
| `` `RemoveCatalogAttribute` `` | Removes the specified `CatalogAttribute` from the `AttributesConfig`. |
| `` `ReplaceCatalogAttribute` `` | Replaces the specified `CatalogAttribute` in the `AttributesConfig` by updating the catalog attribute with the same `CatalogAttribute.key`. |
| `` `SetDefaultBranch` `` | Set a specified branch id as default branch. |
| `` `UpdateAttributesConfig` `` | Updates the `AttributesConfig`. |
| `` `UpdateCatalog` `` | Updates the `Catalog`s. |
| `` `UpdateCompletionConfig` `` | Updates the `CompletionConfig`s. |

## `google.cloud.retail.v2.CompletionService`

| Methods ||
|---|---|
| `` `CompleteQuery` `` | Completes the specified prefix with keyword suggestions. |
| `` `ImportCompletionData` `` | Bulk import of processed completion dataset. |

## `google.cloud.retail.v2.ControlService`

| Methods ||
|---|---|
| `` `CreateControl` `` | Creates a Control. |
| `` `DeleteControl` `` | Deletes a Control. |
| `` `GetControl` `` | Gets a Control. |
| `` `ListControls` `` | Lists all Controls by their parent `Catalog`. |
| `` `UpdateControl` `` | Updates a Control. |

## `google.cloud.retail.v2.ConversationalSearchService`

| Methods ||
|---|---|
| `` `ConversationalSearch` `` | Performs a conversational search. |

## `google.cloud.retail.v2.GenerativeQuestionService`

| Methods ||
|---|---|
| `` `BatchUpdateGenerativeQuestionConfigs` `` | Allows management of multiple questions. |
| `` `GetConversationalSearchCustomizationConfig` `` | Returns the conversational search customization config for a given catalog. |
| `` `GetGenerativeQuestionsFeatureConfig` `` | Manages overal generative question feature state -- enables toggling feature on and off. |
| `` `ListGenerativeQuestionConfigs` `` | Returns all questions for a given catalog. |
| `` `UpdateConversationalSearchCustomizationConfig` `` | Updates the conversational search customization config for a given catalog. |
| `` `UpdateGenerativeQuestionConfig` `` | Allows management of individual questions. |
| `` `UpdateGenerativeQuestionsFeatureConfig` `` | Manages overal generative question feature state -- enables toggling feature on and off. |

## `google.cloud.retail.v2.ModelService`

| Methods ||
|---|---|
| `` `CreateModel` `` | Creates a new model. |
| `` `DeleteModel` `` | Deletes an existing model. |
| `` `GetModel` `` | Gets a model. |
| `` `ListModels` `` | Lists all the models linked to this event store. |
| `` `PauseModel` `` | Pauses the training of an existing model. |
| `` `ResumeModel` `` | Resumes the training of an existing model. |
| `` `TuneModel` `` | Tunes an existing model. |
| `` `UpdateModel` `` | Update of model metadata. |

## `google.cloud.retail.v2.PredictionService`

| Methods ||
|---|---|
| `` `Predict` `` | Makes a recommendation prediction. |

## `google.cloud.retail.v2.ProductService`

| Methods ||
|---|---|
| `` `AddFulfillmentPlaces` `` | We recommend that you use the `ProductService.AddLocalInventories` method instead of the `ProductService.AddFulfillmentPlaces` method. |
| `` `AddLocalInventories` `` | Updates local inventory information for a `Product` at a list of places, while respecting the last update timestamps of each inventory field. |
| `` `CreateProduct` `` | Creates a `Product`. |
| `` `DeleteProduct` `` | Deletes a `Product`. |
| `` `GetProduct` `` | Gets a `Product`. |
| `` `ImportProducts` `` | Bulk import of multiple `Product`s. |
| `` `ListProducts` `` | Gets a list of `Product`s. |
| `` `PurgeProducts` `` | Permanently deletes all selected `Product`s under a branch. |
| `` `RemoveFulfillmentPlaces` `` | We recommend that you use the `ProductService.RemoveLocalInventories` method instead of the `ProductService.RemoveFulfillmentPlaces` method. |
| `` `RemoveLocalInventories` `` | Remove local inventory information for a `Product` at a list of places at a removal timestamp. |
| `` `SetInventory` `` | Updates inventory information for a `Product` while respecting the last update timestamps of each inventory field. |
| `` `UpdateProduct` `` | Updates a `Product`. |

## `google.cloud.retail.v2.SearchService`

| Methods ||
|---|---|
| `` `Search` `` | Performs a search. |

## `google.cloud.retail.v2.ServingConfigService`

| Methods ||
|---|---|
| `` `AddControl` `` | Enables a Control on the specified ServingConfig. |
| `` `CreateServingConfig` `` | Creates a ServingConfig. |
| `` `DeleteServingConfig` `` | Deletes a ServingConfig. |
| `` `GetServingConfig` `` | Gets a ServingConfig. |
| `` `ListServingConfigs` `` | Lists all ServingConfigs linked to this catalog. |
| `` `RemoveControl` `` | Disables a Control on the specified ServingConfig. |
| `` `UpdateServingConfig` `` | Updates a ServingConfig. |

## `google.cloud.retail.v2.UserEventService`

| Methods ||
|---|---|
| `` `CollectUserEvent` `` | Writes a single user event from the browser. |
| `` `ImportUserEvents` `` | Bulk import of User events. |
| `` `PurgeUserEvents` `` | Deletes permanently all user events specified by the filter provided. |
| `` `RejoinUserEvents` `` | Starts a user-event rejoin operation with latest product catalog. |
| `` `WriteUserEvent` `` | Writes a single user event. |

## `google.cloud.retail.v2alpha.AnalyticsService`

| Methods ||
|---|---|
| `` `ExportAnalyticsMetrics` `` | Exports analytics metrics. |

## `google.cloud.retail.v2alpha.BranchService`

| Methods ||
|---|---|
| `` `GetBranch` `` | Retrieves a `Branch`. |
| `` `ListBranches` `` | Lists all instances of `Branch` under the specified parent `Catalog`. |

## `google.cloud.retail.v2alpha.CatalogService`

| Methods ||
|---|---|
| `` `AddCatalogAttribute` `` | Adds the specified `CatalogAttribute` to the `AttributesConfig`. |
| `` `BatchRemoveCatalogAttributes` `` | Removes all specified `CatalogAttribute`s from the `AttributesConfig`. |
| `` `GetAttributesConfig` `` | Gets an `AttributesConfig`. |
| `` `GetCompletionConfig` `` | Gets a `CompletionConfig`. |
| `` `GetDefaultBranch` `` | Get which branch is currently default branch set by `CatalogService.SetDefaultBranch` method under a specified parent catalog. |
| `` `ListCatalogs` `` | Lists all the `Catalog`s associated with the project. |
| `` `RemoveCatalogAttribute` `` | Removes the specified `CatalogAttribute` from the `AttributesConfig`. |
| `` `ReplaceCatalogAttribute` `` | Replaces the specified `CatalogAttribute` in the `AttributesConfig` by updating the catalog attribute with the same `CatalogAttribute.key`. |
| `` `SetDefaultBranch` `` | Set a specified branch id as default branch. |
| `` `UpdateAttributesConfig` `` | Updates the `AttributesConfig`. |
| `` `UpdateCatalog` `` | Updates the `Catalog`s. |
| `` `UpdateCompletionConfig` `` | Updates the `CompletionConfig`s. |

## `google.cloud.retail.v2alpha.CompletionService`

| Methods ||
|---|---|
| `` `CompleteQuery` `` | Completes the specified prefix with keyword suggestions. |
| `` `ImportCompletionData` `` | Bulk import of processed completion dataset. |

## `google.cloud.retail.v2alpha.ControlService`

| Methods ||
|---|---|
| `` `CreateControl` `` | Creates a Control. |
| `` `DeleteControl` `` | Deletes a Control. |
| `` `GetControl` `` | Gets a Control. |
| `` `ListControls` `` | Lists all Controls by their parent `Catalog`. |
| `` `UpdateControl` `` | Updates a Control. |

## `google.cloud.retail.v2alpha.ConversationalSearchService`

| Methods ||
|---|---|
| `` `ConversationalSearch` `` | Performs a conversational search. |

## `google.cloud.retail.v2alpha.GenerativeQuestionService`

| Methods ||
|---|---|
| `` `BatchUpdateGenerativeQuestionConfigs` `` | Allows management of multiple questions. |
| `` `GetConversationalSearchCustomizationConfig` `` | Returns the conversational search customization config for a given catalog. |
| `` `GetGenerativeQuestionsFeatureConfig` `` | Manages overal generative question feature state -- enables toggling feature on and off. |
| `` `ListGenerativeQuestionConfigs` `` | Returns all questions for a given catalog. |
| `` `UpdateConversationalSearchCustomizationConfig` `` | Updates the conversational search customization config for a given catalog. |
| `` `UpdateGenerativeQuestionConfig` `` | Allows management of individual questions. |
| `` `UpdateGenerativeQuestionsFeatureConfig` `` | Manages overal generative question feature state -- enables toggling feature on and off. |

## `google.cloud.retail.v2alpha.MerchantCenterAccountLinkService`

| Methods ||
|---|---|
| `` `CreateMerchantCenterAccountLink` `` | Creates a `MerchantCenterAccountLink`. |
| `` `DeleteMerchantCenterAccountLink` `` | Deletes a `MerchantCenterAccountLink`. |
| `` `ListMerchantCenterAccountLinks` `` | Lists all `MerchantCenterAccountLink`s under the specified parent `Catalog`. |

## `google.cloud.retail.v2alpha.MetricService`

| Methods ||
|---|---|

## `google.cloud.retail.v2alpha.ModelService`

| Methods ||
|---|---|
| `` `CreateModel` `` | Creates a new model. |
| `` `DeleteModel` `` | Deletes an existing model. |
| `` `GetModel` `` | Gets a model. |
| `` `ListModels` `` | Lists all the models linked to this event store. |
| `` `PauseModel` `` | Pauses the training of an existing model. |
| `` `ResumeModel` `` | Resumes the training of an existing model. |
| `` `TuneModel` `` | Tunes an existing model. |
| `` `UpdateModel` `` | Update of model metadata. |

## `google.cloud.retail.v2alpha.PredictionService`

| Methods ||
|---|---|
| `` `Predict` `` | Makes a recommendation prediction. |

## `google.cloud.retail.v2alpha.ProductService`

| Methods ||
|---|---|
| `` `AddFulfillmentPlaces` `` | We recommend that you use the `ProductService.AddLocalInventories` method instead of the `ProductService.AddFulfillmentPlaces` method. |
| `` `AddLocalInventories` `` | Updates local inventory information for a `Product` at a list of places, while respecting the last update timestamps of each inventory field. |
| `` `CreateProduct` `` | Creates a `Product`. |
| `` `DeleteProduct` `` | Deletes a `Product`. |
| `` `ExportProducts` `` | Exports multiple `Product`s. |
| `` `GetProduct` `` | Gets a `Product`. |
| `` `ImportProducts` `` | Bulk import of multiple `Product`s. |
| `` `ListProducts` `` | Gets a list of `Product`s. |
| `` `PurgeProducts` `` | Permanently deletes all selected `Product`s under a branch. |
| `` `RemoveFulfillmentPlaces` `` | We recommend that you use the `ProductService.RemoveLocalInventories` method instead of the `ProductService.RemoveFulfillmentPlaces` method. |
| `` `RemoveLocalInventories` `` | Remove local inventory information for a `Product` at a list of places at a removal timestamp. |
| `` `SetInventory` `` | Updates inventory information for a `Product` while respecting the last update timestamps of each inventory field. |
| `` `UpdateProduct` `` | Updates a `Product`. |

## `google.cloud.retail.v2alpha.ProjectService`

| Methods ||
|---|---|
| `` `AcceptTerms` `` | Accepts service terms for this project. |
| `` `EnrollSolution` `` | The method enrolls a solution of type `Retail Search` into a project. |
| `` `GetAlertConfig` `` | Get the `AlertConfig` of the requested project. |
| `` `GetLoggingConfig` `` | Gets the `LoggingConfig` of the requested project. |
| `` `GetProject` `` | Gets the project. |
| `` `ListEnrolledSolutions` `` | Lists all the AI Commerce Search API solutions the project has enrolled. |
| `` `UpdateAlertConfig` `` | Update the alert config of the requested project. |
| `` `UpdateLoggingConfig` `` | Updates the `LoggingConfig` of the requested project. |

## `google.cloud.retail.v2alpha.SearchService`

| Methods ||
|---|---|
| `` `Search` `` | Performs a search. |

## `google.cloud.retail.v2alpha.ServingConfigService`

| Methods ||
|---|---|
| `` `AddControl` `` | Enables a Control on the specified ServingConfig. |
| `` `CreateServingConfig` `` | Creates a ServingConfig. |
| `` `DeleteServingConfig` `` | Deletes a ServingConfig. |
| `` `GetServingConfig` `` | Gets a ServingConfig. |
| `` `ListServingConfigs` `` | Lists all ServingConfigs linked to this catalog. |
| `` `RemoveControl` `` | Disables a Control on the specified ServingConfig. |
| `` `UpdateServingConfig` `` | Updates a ServingConfig. |

## `google.cloud.retail.v2alpha.UserEventService`

| Methods ||
|---|---|
| `` `CollectUserEvent` `` | Writes a single user event from the browser. |
| `` `ExportUserEvents` `` | Exports user events. |
| `` `ImportUserEvents` `` | Bulk import of User events. |
| `` `PurgeUserEvents` `` | Deletes permanently all user events specified by the filter provided. |
| `` `RejoinUserEvents` `` | Starts a user-event rejoin operation with latest product catalog. |
| `` `WriteUserEvent` `` | Writes a single user event. |

## `google.cloud.retail.v2beta.AnalyticsService`

| Methods ||
|---|---|
| `` `ExportAnalyticsMetrics` `` | Exports analytics metrics. |

## `google.cloud.retail.v2beta.CatalogService`

| Methods ||
|---|---|
| `` `AddCatalogAttribute` `` | Adds the specified `CatalogAttribute` to the `AttributesConfig`. |
| `` `BatchRemoveCatalogAttributes` `` | Removes all specified `CatalogAttribute`s from the `AttributesConfig`. |
| `` `GetAttributesConfig` `` | Gets an `AttributesConfig`. |
| `` `GetCompletionConfig` `` | Gets a `CompletionConfig`. |
| `` `GetDefaultBranch` `` | Get which branch is currently default branch set by `CatalogService.SetDefaultBranch` method under a specified parent catalog. |
| `` `ListCatalogs` `` | Lists all the `Catalog`s associated with the project. |
| `` `RemoveCatalogAttribute` `` | Removes the specified `CatalogAttribute` from the `AttributesConfig`. |
| `` `ReplaceCatalogAttribute` `` | Replaces the specified `CatalogAttribute` in the `AttributesConfig` by updating the catalog attribute with the same `CatalogAttribute.key`. |
| `` `SetDefaultBranch` `` | Set a specified branch id as default branch. |
| `` `UpdateAttributesConfig` `` | Updates the `AttributesConfig`. |
| `` `UpdateCatalog` `` | Updates the `Catalog`s. |
| `` `UpdateCompletionConfig` `` | Updates the `CompletionConfig`s. |

## `google.cloud.retail.v2beta.CompletionService`

| Methods ||
|---|---|
| `` `CompleteQuery` `` | Completes the specified prefix with keyword suggestions. |
| `` `ImportCompletionData` `` | Bulk import of processed completion dataset. |

## `google.cloud.retail.v2beta.ControlService`

| Methods ||
|---|---|
| `` `CreateControl` `` | Creates a Control. |
| `` `DeleteControl` `` | Deletes a Control. |
| `` `GetControl` `` | Gets a Control. |
| `` `ListControls` `` | Lists all Controls by their parent `Catalog`. |
| `` `UpdateControl` `` | Updates a Control. |

## `google.cloud.retail.v2beta.ConversationalSearchService`

| Methods ||
|---|---|
| `` `ConversationalSearch` `` | Performs a conversational search. |

## `google.cloud.retail.v2beta.GenerativeQuestionService`

| Methods ||
|---|---|
| `` `BatchUpdateGenerativeQuestionConfigs` `` | Allows management of multiple questions. |
| `` `GetConversationalSearchCustomizationConfig` `` | Returns the conversational search customization config for a given catalog. |
| `` `GetGenerativeQuestionsFeatureConfig` `` | Manages overal generative question feature state -- enables toggling feature on and off. |
| `` `ListGenerativeQuestionConfigs` `` | Returns all questions for a given catalog. |
| `` `UpdateConversationalSearchCustomizationConfig` `` | Updates the conversational search customization config for a given catalog. |
| `` `UpdateGenerativeQuestionConfig` `` | Allows management of individual questions. |
| `` `UpdateGenerativeQuestionsFeatureConfig` `` | Manages overal generative question feature state -- enables toggling feature on and off. |

## `google.cloud.retail.v2beta.ModelService`

| Methods ||
|---|---|
| `` `CreateModel` `` | Creates a new model. |
| `` `DeleteModel` `` | Deletes an existing model. |
| `` `GetModel` `` | Gets a model. |
| `` `ListModels` `` | Lists all the models linked to this event store. |
| `` `PauseModel` `` | Pauses the training of an existing model. |
| `` `ResumeModel` `` | Resumes the training of an existing model. |
| `` `TuneModel` `` | Tunes an existing model. |
| `` `UpdateModel` `` | Update of model metadata. |

## `google.cloud.retail.v2beta.PredictionService`

| Methods ||
|---|---|
| `` `Predict` `` | Makes a recommendation prediction. |

## `google.cloud.retail.v2beta.ProductService`

| Methods ||
|---|---|
| `` `AddFulfillmentPlaces` `` | We recommend that you use the `ProductService.AddLocalInventories` method instead of the `ProductService.AddFulfillmentPlaces` method. |
| `` `AddLocalInventories` `` | Updates local inventory information for a `Product` at a list of places, while respecting the last update timestamps of each inventory field. |
| `` `CreateProduct` `` | Creates a `Product`. |
| `` `DeleteProduct` `` | Deletes a `Product`. |
| `` `ExportProducts` `` | Exports multiple `Product`s. |
| `` `GetProduct` `` | Gets a `Product`. |
| `` `ImportProducts` `` | Bulk import of multiple `Product`s. |
| `` `ListProducts` `` | Gets a list of `Product`s. |
| `` `PurgeProducts` `` | Permanently deletes all selected `Product`s under a branch. |
| `` `RemoveFulfillmentPlaces` `` | We recommend that you use the `ProductService.RemoveLocalInventories` method instead of the `ProductService.RemoveFulfillmentPlaces` method. |
| `` `RemoveLocalInventories` `` | Remove local inventory information for a `Product` at a list of places at a removal timestamp. |
| `` `SetInventory` `` | Updates inventory information for a `Product` while respecting the last update timestamps of each inventory field. |
| `` `UpdateProduct` `` | Updates a `Product`. |

## `google.cloud.retail.v2beta.ProjectService`

| Methods ||
|---|---|
| `` `GetAlertConfig` `` | Get the `AlertConfig` of the requested project. |
| `` `UpdateAlertConfig` `` | Update the alert config of the requested project. |

## `google.cloud.retail.v2beta.SearchService`

| Methods ||
|---|---|
| `` `Search` `` | Performs a search. |

## `google.cloud.retail.v2beta.ServingConfigService`

| Methods ||
|---|---|
| `` `AddControl` `` | Enables a Control on the specified ServingConfig. |
| `` `CreateServingConfig` `` | Creates a ServingConfig. |
| `` `DeleteServingConfig` `` | Deletes a ServingConfig. |
| `` `GetServingConfig` `` | Gets a ServingConfig. |
| `` `ListServingConfigs` `` | Lists all ServingConfigs linked to this catalog. |
| `` `RemoveControl` `` | Disables a Control on the specified ServingConfig. |
| `` `UpdateServingConfig` `` | Updates a ServingConfig. |

## `google.cloud.retail.v2beta.UserEventService`

| Methods ||
|---|---|
| `` `CollectUserEvent` `` | Writes a single user event from the browser. |
| `` `ExportUserEvents` `` | Exports user events. |
| `` `ImportUserEvents` `` | Bulk import of User events. |
| `` `PurgeUserEvents` `` | Deletes permanently all user events specified by the filter provided. |
| `` `RejoinUserEvents` `` | Starts a user-event rejoin operation with latest product catalog. |
| `` `WriteUserEvent` `` | Writes a single user event. |

## `google.longrunning.Operations`

| Methods ||
|---|---|
| `` `GetOperation` `` | Gets the latest state of a long-running operation. |
| `` `ListOperations` `` | Lists operations that match the specified filter in the request. |