@Generated("by gapic-generator-java")
Package com.google.cloud.retail.v2beta
The interfaces provided are listed below, along with usage samples.
======================= CatalogServiceClient =======================
Service Description: Service for managing catalog configuration.
Sample for CatalogServiceClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CatalogServiceClient catalogServiceClient = CatalogServiceClient.create()) {
Catalog catalog = Catalog.newBuilder().build();
FieldMask updateMask = FieldMask.newBuilder().build();
Catalog response = catalogServiceClient.updateCatalog(catalog, updateMask);
}
======================= CompletionServiceClient =======================
Service Description: 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.
Sample for CompletionServiceClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CompletionServiceClient completionServiceClient = CompletionServiceClient.create()) {
CompleteQueryRequest request =
CompleteQueryRequest.newBuilder()
.setCatalog(CatalogName.of("[PROJECT]", "[LOCATION]", "[CATALOG]").toString())
.setQuery("query107944136")
.setVisitorId("visitorId1880545833")
.addAllLanguageCodes(new ArrayList<String>())
.setDeviceType("deviceType781190832")
.setDataset("dataset1443214456")
.setMaxSuggestions(618824852)
.setEntity("entity-1298275357")
.build();
CompleteQueryResponse response = completionServiceClient.completeQuery(request);
}
======================= ControlServiceClient =======================
Service Description: Service for modifying Control.
Sample for ControlServiceClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ControlServiceClient controlServiceClient = ControlServiceClient.create()) {
CatalogName parent = CatalogName.of("[PROJECT]", "[LOCATION]", "[CATALOG]");
Control control = Control.newBuilder().build();
String controlId = "controlId-395080872";
Control response = controlServiceClient.createControl(parent, control, controlId);
}
======================= ModelServiceClient =======================
Service Description: 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.
Sample for ModelServiceClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
ModelName name = ModelName.of("[PROJECT]", "[LOCATION]", "[CATALOG]", "[MODEL]");
Model response = modelServiceClient.getModel(name);
}
======================= PredictionServiceClient =======================
Service Description: Service for making recommendation prediction.
Sample for PredictionServiceClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (PredictionServiceClient predictionServiceClient = PredictionServiceClient.create()) {
PredictRequest request =
PredictRequest.newBuilder()
.setPlacement("placement1792938725")
.setUserEvent(UserEvent.newBuilder().build())
.setPageSize(883849137)
.setPageToken("pageToken873572522")
.setFilter("filter-1274492040")
.setValidateOnly(true)
.putAllParams(new HashMap<String, Value>())
.putAllLabels(new HashMap<String, String>())
.build();
PredictResponse response = predictionServiceClient.predict(request);
}
======================= ProductServiceClient =======================
Service Description: Service for ingesting [Product][google.cloud.retail.v2beta.Product] information of the customer's website.
Sample for ProductServiceClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ProductServiceClient productServiceClient = ProductServiceClient.create()) {
BranchName parent = BranchName.of("[PROJECT]", "[LOCATION]", "[CATALOG]", "[BRANCH]");
Product product = Product.newBuilder().build();
String productId = "productId-1051830678";
Product response = productServiceClient.createProduct(parent, product, productId);
}
======================= SearchServiceClient =======================
Service Description: 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.
Sample for SearchServiceClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (SearchServiceClient searchServiceClient = SearchServiceClient.create()) {
SearchRequest request =
SearchRequest.newBuilder()
.setPlacement("placement1792938725")
.setBranch(
BranchName.of("[PROJECT]", "[LOCATION]", "[CATALOG]", "[BRANCH]").toString())
.setQuery("query107944136")
.setVisitorId("visitorId1880545833")
.setUserInfo(UserInfo.newBuilder().build())
.setPageSize(883849137)
.setPageToken("pageToken873572522")
.setOffset(-1019779949)
.setFilter("filter-1274492040")
.setCanonicalFilter("canonicalFilter-722283124")
.setOrderBy("orderBy-1207110587")
.addAllFacetSpecs(new ArrayList<SearchRequest.FacetSpec>())
.setDynamicFacetSpec(SearchRequest.DynamicFacetSpec.newBuilder().build())
.setBoostSpec(SearchRequest.BoostSpec.newBuilder().build())
.setQueryExpansionSpec(SearchRequest.QueryExpansionSpec.newBuilder().build())
.addAllVariantRollupKeys(new ArrayList<String>())
.addAllPageCategories(new ArrayList<String>())
.setPersonalizationSpec(SearchRequest.PersonalizationSpec.newBuilder().build())
.putAllLabels(new HashMap<String, String>())
.setSpellCorrectionSpec(SearchRequest.SpellCorrectionSpec.newBuilder().build())
.setEntity("entity-1298275357")
.build();
for (SearchResponse.SearchResult element : searchServiceClient.search(request).iterateAll()) {
// doThingsWith(element);
}
}
======================= ServingConfigServiceClient =======================
Service Description: Service for modifying ServingConfig.
Sample for ServingConfigServiceClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ServingConfigServiceClient servingConfigServiceClient =
ServingConfigServiceClient.create()) {
CatalogName parent = CatalogName.of("[PROJECT]", "[LOCATION]", "[CATALOG]");
ServingConfig servingConfig = ServingConfig.newBuilder().build();
String servingConfigId = "servingConfigId-831052759";
ServingConfig response =
servingConfigServiceClient.createServingConfig(parent, servingConfig, servingConfigId);
}
======================= UserEventServiceClient =======================
Service Description: Service for ingesting end user actions on the customer website.
Sample for UserEventServiceClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (UserEventServiceClient userEventServiceClient = UserEventServiceClient.create()) {
WriteUserEventRequest request =
WriteUserEventRequest.newBuilder()
.setParent("parent-995424086")
.setUserEvent(UserEvent.newBuilder().build())
.setWriteAsync(true)
.build();
UserEvent response = userEventServiceClient.writeUserEvent(request);
}
-
Class Summary Class Description AddCatalogAttributeRequest Request for [CatalogService.AddCatalogAttribute][google.cloud.retail.v2beta.CatalogService.AddCatalogAttribute] method.AddCatalogAttributeRequest.Builder Request for [CatalogService.AddCatalogAttribute][google.cloud.retail.v2beta.CatalogService.AddCatalogAttribute] method.AddControlRequest Request for AddControl method.AddControlRequest.Builder Request for AddControl method.AddFulfillmentPlacesMetadata Metadata related to the progress of the AddFulfillmentPlaces operation.AddFulfillmentPlacesMetadata.Builder Metadata related to the progress of the AddFulfillmentPlaces operation.AddFulfillmentPlacesRequest Request message for [ProductService.AddFulfillmentPlaces][google.cloud.retail.v2beta.ProductService.AddFulfillmentPlaces] method.AddFulfillmentPlacesRequest.Builder Request message for [ProductService.AddFulfillmentPlaces][google.cloud.retail.v2beta.ProductService.AddFulfillmentPlaces] method.AddFulfillmentPlacesResponse Response of the AddFulfillmentPlacesRequest.AddFulfillmentPlacesResponse.Builder Response of the AddFulfillmentPlacesRequest.AddLocalInventoriesMetadata Metadata related to the progress of the AddLocalInventories operation.AddLocalInventoriesMetadata.Builder Metadata related to the progress of the AddLocalInventories operation.AddLocalInventoriesRequest Request message for [ProductService.AddLocalInventories][google.cloud.retail.v2beta.ProductService.AddLocalInventories] method.AddLocalInventoriesRequest.Builder Request message for [ProductService.AddLocalInventories][google.cloud.retail.v2beta.ProductService.AddLocalInventories] method.AddLocalInventoriesResponse Response of the [ProductService.AddLocalInventories][google.cloud.retail.v2beta.ProductService.AddLocalInventories] API.AddLocalInventoriesResponse.Builder Response of the [ProductService.AddLocalInventories][google.cloud.retail.v2beta.ProductService.AddLocalInventories] API.AttributesConfig Catalog level attribute config.AttributesConfig.Builder Catalog level attribute config.AttributesConfigName AttributesConfigName.Builder Builder for projects/{project}/locations/{location}/catalogs/{catalog}/attributesConfig.Audience An intended audience of the [Product][google.cloud.retail.v2beta.Product] for whom it's sold.Audience.Builder An intended audience of the [Product][google.cloud.retail.v2beta.Product] for whom it's sold.BatchRemoveCatalogAttributesRequest Request for [CatalogService.BatchRemoveCatalogAttributes][google.cloud.retail.v2beta.CatalogService.BatchRemoveCatalogAttributes] method.BatchRemoveCatalogAttributesRequest.Builder Request for [CatalogService.BatchRemoveCatalogAttributes][google.cloud.retail.v2beta.CatalogService.BatchRemoveCatalogAttributes] method.BatchRemoveCatalogAttributesResponse Response of the [CatalogService.BatchRemoveCatalogAttributes][google.cloud.retail.v2beta.CatalogService.BatchRemoveCatalogAttributes].BatchRemoveCatalogAttributesResponse.Builder Response of the [CatalogService.BatchRemoveCatalogAttributes][google.cloud.retail.v2beta.CatalogService.BatchRemoveCatalogAttributes].BigQueryOutputResult A BigQuery output result.BigQueryOutputResult.Builder A BigQuery output result.BigQuerySource BigQuery source import data from.BigQuerySource.Builder BigQuery source import data from.BranchName BranchName.Builder Builder for projects/{project}/locations/{location}/catalogs/{catalog}/branches/{branch}.Catalog The catalog configuration.Catalog.Builder The catalog configuration.CatalogAttribute Catalog level attribute config for an attribute.CatalogAttribute.Builder Catalog level attribute config for an attribute.CatalogName CatalogName.Builder Builder for projects/{project}/locations/{location}/catalogs/{catalog}.CatalogProto CatalogServiceClient Service Description: Service for managing catalog configuration.CatalogServiceClient.ListCatalogsFixedSizeCollection CatalogServiceClient.ListCatalogsPage CatalogServiceClient.ListCatalogsPagedResponse CatalogServiceGrpc Service for managing catalog configuration.CatalogServiceGrpc.CatalogServiceBlockingStub A stub to allow clients to do synchronous rpc calls to service CatalogService.CatalogServiceGrpc.CatalogServiceFutureStub A stub to allow clients to do ListenableFuture-style rpc calls to service CatalogService.CatalogServiceGrpc.CatalogServiceImplBase Base class for the server implementation of the service CatalogService.CatalogServiceGrpc.CatalogServiceStub A stub to allow clients to do asynchronous rpc calls to service CatalogService.CatalogServiceProto CatalogServiceSettings Settings class to configure an instance ofCatalogServiceClient
.CatalogServiceSettings.Builder Builder for CatalogServiceSettings.CollectUserEventRequest Request message for CollectUserEvent method.CollectUserEventRequest.Builder Request message for CollectUserEvent method.ColorInfo The color information of a [Product][google.cloud.retail.v2beta.Product].ColorInfo.Builder The color information of a [Product][google.cloud.retail.v2beta.Product].CommonProto CompleteQueryRequest Autocomplete parameters.CompleteQueryRequest.Builder Autocomplete parameters.CompleteQueryResponse Response of the autocomplete query.CompleteQueryResponse.Builder Response of the autocomplete query.CompleteQueryResponse.CompletionResult Resource that represents completion results.CompleteQueryResponse.CompletionResult.Builder Resource that represents completion results.CompleteQueryResponse.RecentSearchResult Recent search of this user.CompleteQueryResponse.RecentSearchResult.Builder Recent search of this user.CompletionConfig Catalog level autocomplete config for customers to customize autocomplete feature's settings.CompletionConfig.Builder Catalog level autocomplete config for customers to customize autocomplete feature's settings.CompletionConfigName CompletionConfigName.Builder Builder for projects/{project}/locations/{location}/catalogs/{catalog}/completionConfig.CompletionDataInputConfig The input config source for completion data.CompletionDataInputConfig.Builder The input config source for completion data.CompletionDetail Detailed completion information including completion attribution token and clicked completion info.CompletionDetail.Builder Detailed completion information including completion attribution token and clicked completion info.CompletionServiceClient Service Description: Autocomplete service for retail.CompletionServiceGrpc Autocomplete service for retail.CompletionServiceGrpc.CompletionServiceBlockingStub A stub to allow clients to do synchronous rpc calls to service CompletionService.CompletionServiceGrpc.CompletionServiceFutureStub A stub to allow clients to do ListenableFuture-style rpc calls to service CompletionService.CompletionServiceGrpc.CompletionServiceImplBase Base class for the server implementation of the service CompletionService.CompletionServiceGrpc.CompletionServiceStub A stub to allow clients to do asynchronous rpc calls to service CompletionService.CompletionServiceProto CompletionServiceSettings Settings class to configure an instance ofCompletionServiceClient
.CompletionServiceSettings.Builder Builder for CompletionServiceSettings.Condition Metadata that is used to define a condition that triggers an action.Condition.Builder Metadata that is used to define a condition that triggers an action.Condition.QueryTerm Query terms that we want to match on.Condition.QueryTerm.Builder Query terms that we want to match on.Condition.TimeRange Used for time-dependent conditions.Condition.TimeRange.Builder Used for time-dependent conditions.Control Configures dynamic metadata that can be linked to a [ServingConfig][google.cloud.retail.v2beta.ServingConfig] and affect search or recommendation results at serving time.Control.Builder Configures dynamic metadata that can be linked to a [ServingConfig][google.cloud.retail.v2beta.ServingConfig] and affect search or recommendation results at serving time.ControlName ControlName.Builder Builder for projects/{project}/locations/{location}/catalogs/{catalog}/controls/{control}.ControlProto ControlServiceClient Service Description: Service for modifying Control.ControlServiceClient.ListControlsFixedSizeCollection ControlServiceClient.ListControlsPage ControlServiceClient.ListControlsPagedResponse ControlServiceGrpc Service for modifying Control.ControlServiceGrpc.ControlServiceBlockingStub A stub to allow clients to do synchronous rpc calls to service ControlService.ControlServiceGrpc.ControlServiceFutureStub A stub to allow clients to do ListenableFuture-style rpc calls to service ControlService.ControlServiceGrpc.ControlServiceImplBase Base class for the server implementation of the service ControlService.ControlServiceGrpc.ControlServiceStub A stub to allow clients to do asynchronous rpc calls to service ControlService.ControlServiceProto ControlServiceSettings Settings class to configure an instance ofControlServiceClient
.ControlServiceSettings.Builder Builder for ControlServiceSettings.CreateControlRequest Request for CreateControl method.CreateControlRequest.Builder Request for CreateControl method.CreateModelMetadata Metadata associated with a create operation.CreateModelMetadata.Builder Metadata associated with a create operation.CreateModelRequest Request for creating a model.CreateModelRequest.Builder Request for creating a model.CreateProductRequest Request message for [ProductService.CreateProduct][google.cloud.retail.v2beta.ProductService.CreateProduct] method.CreateProductRequest.Builder Request message for [ProductService.CreateProduct][google.cloud.retail.v2beta.ProductService.CreateProduct] method.CreateServingConfigRequest Request for CreateServingConfig method.CreateServingConfigRequest.Builder Request for CreateServingConfig method.CustomAttribute A custom attribute that is not explicitly modeled in [Product][google.cloud.retail.v2beta.Product].CustomAttribute.Builder A custom attribute that is not explicitly modeled in [Product][google.cloud.retail.v2beta.Product].DeleteControlRequest Request for DeleteControl method.DeleteControlRequest.Builder Request for DeleteControl method.DeleteModelRequest Request for deleting a model.DeleteModelRequest.Builder Request for deleting a model.DeleteProductRequest Request message for [ProductService.DeleteProduct][google.cloud.retail.v2beta.ProductService.DeleteProduct] method.DeleteProductRequest.Builder Request message for [ProductService.DeleteProduct][google.cloud.retail.v2beta.ProductService.DeleteProduct] method.DeleteServingConfigRequest Request for DeleteServingConfig method.DeleteServingConfigRequest.Builder Request for DeleteServingConfig method.ExperimentInfo Metadata for active A/B testing [Experiments][].ExperimentInfo.Builder Metadata for active A/B testing [Experiments][].ExperimentInfo.ServingConfigExperiment Metadata for active serving config A/B tests.ExperimentInfo.ServingConfigExperiment.Builder Metadata for active serving config A/B tests.ExportConfigProto ExportErrorsConfig Configuration of destination for Export related errors.ExportErrorsConfig.Builder Configuration of destination for Export related errors.ExportMetadata Metadata related to the progress of the Export operation.ExportMetadata.Builder Metadata related to the progress of the Export operation.ExportProductsResponse Response of the ExportProductsRequest.ExportProductsResponse.Builder Response of the ExportProductsRequest.ExportUserEventsResponse Response of the ExportUserEventsRequest.ExportUserEventsResponse.Builder Response of the ExportUserEventsRequest.FulfillmentInfo Fulfillment information, such as the store IDs for in-store pickup or region IDs for different shipping methods.FulfillmentInfo.Builder Fulfillment information, such as the store IDs for in-store pickup or region IDs for different shipping methods.GcsOutputResult A Gcs output result.GcsOutputResult.Builder A Gcs output result.GcsSource Google Cloud Storage location for input content.GcsSource.Builder Google Cloud Storage location for input content.GetAttributesConfigRequest Request for [CatalogService.GetAttributesConfig][google.cloud.retail.v2beta.CatalogService.GetAttributesConfig] method.GetAttributesConfigRequest.Builder Request for [CatalogService.GetAttributesConfig][google.cloud.retail.v2beta.CatalogService.GetAttributesConfig] method.GetCompletionConfigRequest Request for [CatalogService.GetCompletionConfig][google.cloud.retail.v2beta.CatalogService.GetCompletionConfig] method.GetCompletionConfigRequest.Builder Request for [CatalogService.GetCompletionConfig][google.cloud.retail.v2beta.CatalogService.GetCompletionConfig] method.GetControlRequest Request for GetControl method.GetControlRequest.Builder Request for GetControl method.GetDefaultBranchRequest Request message to show which branch is currently the default branch.GetDefaultBranchRequest.Builder Request message to show which branch is currently the default branch.GetDefaultBranchResponse Response message of [CatalogService.GetDefaultBranch][google.cloud.retail.v2beta.CatalogService.GetDefaultBranch].GetDefaultBranchResponse.Builder Response message of [CatalogService.GetDefaultBranch][google.cloud.retail.v2beta.CatalogService.GetDefaultBranch].GetModelRequest Request for getting a model.GetModelRequest.Builder Request for getting a model.GetProductRequest Request message for [ProductService.GetProduct][google.cloud.retail.v2beta.ProductService.GetProduct] method.GetProductRequest.Builder Request message for [ProductService.GetProduct][google.cloud.retail.v2beta.ProductService.GetProduct] method.GetServingConfigRequest Request for GetServingConfig method.GetServingConfigRequest.Builder Request for GetServingConfig method.Image [Product][google.cloud.retail.v2beta.Product] image.Image.Builder [Product][google.cloud.retail.v2beta.Product] image.ImportCompletionDataRequest Request message for ImportCompletionData methods.ImportCompletionDataRequest.Builder Request message for ImportCompletionData methods.ImportCompletionDataResponse Response of the [ImportCompletionDataRequest][google.cloud.retail.v2beta.ImportCompletionDataRequest].ImportCompletionDataResponse.Builder Response of the [ImportCompletionDataRequest][google.cloud.retail.v2beta.ImportCompletionDataRequest].ImportConfigProto ImportErrorsConfig Configuration of destination for Import related errors.ImportErrorsConfig.Builder Configuration of destination for Import related errors.ImportMetadata Metadata related to the progress of the Import operation.ImportMetadata.Builder Metadata related to the progress of the Import operation.ImportProductsRequest Request message for Import methods.ImportProductsRequest.Builder Request message for Import methods.ImportProductsResponse Response of the [ImportProductsRequest][google.cloud.retail.v2beta.ImportProductsRequest].ImportProductsResponse.Builder Response of the [ImportProductsRequest][google.cloud.retail.v2beta.ImportProductsRequest].ImportUserEventsRequest Request message for the ImportUserEvents request.ImportUserEventsRequest.Builder Request message for the ImportUserEvents request.ImportUserEventsResponse Response of the ImportUserEventsRequest.ImportUserEventsResponse.Builder Response of the ImportUserEventsRequest.Interval A floating point interval.Interval.Builder A floating point interval.ListCatalogsRequest Request for [CatalogService.ListCatalogs][google.cloud.retail.v2beta.CatalogService.ListCatalogs] method.ListCatalogsRequest.Builder Request for [CatalogService.ListCatalogs][google.cloud.retail.v2beta.CatalogService.ListCatalogs] method.ListCatalogsResponse Response for [CatalogService.ListCatalogs][google.cloud.retail.v2beta.CatalogService.ListCatalogs] method.ListCatalogsResponse.Builder Response for [CatalogService.ListCatalogs][google.cloud.retail.v2beta.CatalogService.ListCatalogs] method.ListControlsRequest Request for ListControls method.ListControlsRequest.Builder Request for ListControls method.ListControlsResponse Response for ListControls method.ListControlsResponse.Builder Response for ListControls method.ListModelsRequest Request for listing models associated with a resource.ListModelsRequest.Builder Request for listing models associated with a resource.ListModelsResponse Response to a ListModelRequest.ListModelsResponse.Builder Response to a ListModelRequest.ListProductsRequest Request message for [ProductService.ListProducts][google.cloud.retail.v2beta.ProductService.ListProducts] method.ListProductsRequest.Builder Request message for [ProductService.ListProducts][google.cloud.retail.v2beta.ProductService.ListProducts] method.ListProductsResponse Response message for [ProductService.ListProducts][google.cloud.retail.v2beta.ProductService.ListProducts] method.ListProductsResponse.Builder Response message for [ProductService.ListProducts][google.cloud.retail.v2beta.ProductService.ListProducts] method.ListServingConfigsRequest Request for ListServingConfigs method.ListServingConfigsRequest.Builder Request for ListServingConfigs method.ListServingConfigsResponse Response for ListServingConfigs method.ListServingConfigsResponse.Builder Response for ListServingConfigs method.LocalInventory The inventory information at a place (e.g.LocalInventory.Builder The inventory information at a place (e.g.LocationName LocationName.Builder Builder for projects/{project}/locations/{location}.MerchantCenterFeedFilter Merchant Center Feed filter criterion.MerchantCenterFeedFilter.Builder Merchant Center Feed filter criterion.MerchantCenterLink Represents a link between a Merchant Center account and a branch.MerchantCenterLink.Builder Represents a link between a Merchant Center account and a branch.MerchantCenterLinkingConfig Configures Merchant Center linking.MerchantCenterLinkingConfig.Builder Configures Merchant Center linking.Model Metadata that describes the training and serving parameters of a [Model][google.cloud.retail.v2beta.Model].Model.Builder Metadata that describes the training and serving parameters of a [Model][google.cloud.retail.v2beta.Model].Model.ServingConfigList Represents an ordered combination of valid serving configs, which can be used for `PAGE_OPTIMIZATION` recommendations.Model.ServingConfigList.Builder Represents an ordered combination of valid serving configs, which can be used for `PAGE_OPTIMIZATION` recommendations.ModelName ModelName.Builder Builder for projects/{project}/locations/{location}/catalogs/{catalog}/models/{model}.ModelProto ModelServiceClient Service Description: Service for performing CRUD operations on models.ModelServiceClient.ListModelsFixedSizeCollection ModelServiceClient.ListModelsPage ModelServiceClient.ListModelsPagedResponse ModelServiceGrpc Service for performing CRUD operations on models.ModelServiceGrpc.ModelServiceBlockingStub A stub to allow clients to do synchronous rpc calls to service ModelService.ModelServiceGrpc.ModelServiceFutureStub A stub to allow clients to do ListenableFuture-style rpc calls to service ModelService.ModelServiceGrpc.ModelServiceImplBase Base class for the server implementation of the service ModelService.ModelServiceGrpc.ModelServiceStub A stub to allow clients to do asynchronous rpc calls to service ModelService.ModelServiceProto ModelServiceSettings Settings class to configure an instance ofModelServiceClient
.ModelServiceSettings.Builder Builder for ModelServiceSettings.OutputResult Output result that stores the information about where the exported data is stored.OutputResult.Builder Output result that stores the information about where the exported data is stored.PauseModelRequest Request for pausing training of a model.PauseModelRequest.Builder Request for pausing training of a model.PredictionServiceClient Service Description: Service for making recommendation prediction.PredictionServiceGrpc Service for making recommendation prediction.PredictionServiceGrpc.PredictionServiceBlockingStub A stub to allow clients to do synchronous rpc calls to service PredictionService.PredictionServiceGrpc.PredictionServiceFutureStub A stub to allow clients to do ListenableFuture-style rpc calls to service PredictionService.PredictionServiceGrpc.PredictionServiceImplBase Base class for the server implementation of the service PredictionService.PredictionServiceGrpc.PredictionServiceStub A stub to allow clients to do asynchronous rpc calls to service PredictionService.PredictionServiceProto PredictionServiceSettings Settings class to configure an instance ofPredictionServiceClient
.PredictionServiceSettings.Builder Builder for PredictionServiceSettings.PredictRequest Request message for Predict method.PredictRequest.Builder Request message for Predict method.PredictResponse Response message for predict method.PredictResponse.Builder Response message for predict method.PredictResponse.PredictionResult PredictionResult represents the recommendation prediction results.PredictResponse.PredictionResult.Builder PredictionResult represents the recommendation prediction results.PriceInfo The price information of a [Product][google.cloud.retail.v2beta.Product].PriceInfo.Builder The price information of a [Product][google.cloud.retail.v2beta.Product].PriceInfo.PriceRange The price range of all [variant][google.cloud.retail.v2beta.Product.Type.VARIANT] [Product][google.cloud.retail.v2beta.Product] having the same [Product.primary_product_id][google.cloud.retail.v2beta.Product.primary_product_id].PriceInfo.PriceRange.Builder The price range of all [variant][google.cloud.retail.v2beta.Product.Type.VARIANT] [Product][google.cloud.retail.v2beta.Product] having the same [Product.primary_product_id][google.cloud.retail.v2beta.Product.primary_product_id].Product Product captures all metadata information of items to be recommended or searched.Product.Builder Product captures all metadata information of items to be recommended or searched.ProductDetail Detailed product information associated with a user event.ProductDetail.Builder Detailed product information associated with a user event.ProductInlineSource The inline source for the input config for ImportProducts method.ProductInlineSource.Builder The inline source for the input config for ImportProducts method.ProductInputConfig The input config source for products.ProductInputConfig.Builder The input config source for products.ProductLevelConfig Configures what level the product should be uploaded with regards to how users will be send events and how predictions will be made.ProductLevelConfig.Builder Configures what level the product should be uploaded with regards to how users will be send events and how predictions will be made.ProductName ProductName.Builder Builder for projects/{project}/locations/{location}/catalogs/{catalog}/branches/{branch}/products/{product}.ProductProto ProductServiceClient Service Description: Service for ingesting [Product][google.cloud.retail.v2beta.Product] information of the customer's website.ProductServiceClient.ListProductsFixedSizeCollection ProductServiceClient.ListProductsPage ProductServiceClient.ListProductsPagedResponse ProductServiceGrpc Service for ingesting [Product][google.cloud.retail.v2beta.Product] information of the customer's website.ProductServiceGrpc.ProductServiceBlockingStub A stub to allow clients to do synchronous rpc calls to service ProductService.ProductServiceGrpc.ProductServiceFutureStub A stub to allow clients to do ListenableFuture-style rpc calls to service ProductService.ProductServiceGrpc.ProductServiceImplBase Base class for the server implementation of the service ProductService.ProductServiceGrpc.ProductServiceStub A stub to allow clients to do asynchronous rpc calls to service ProductService.ProductServiceProto ProductServiceSettings Settings class to configure an instance ofProductServiceClient
.ProductServiceSettings.Builder Builder for ProductServiceSettings.Promotion Promotion information.Promotion.Builder Promotion information.PromotionProto PurchaseTransaction A transaction represents the entire purchase transaction.PurchaseTransaction.Builder A transaction represents the entire purchase transaction.PurgeConfigProto PurgeMetadata Metadata related to the progress of the Purge operation.PurgeMetadata.Builder Metadata related to the progress of the Purge operation.PurgeUserEventsRequest Request message for PurgeUserEvents method.PurgeUserEventsRequest.Builder Request message for PurgeUserEvents method.PurgeUserEventsResponse Response of the PurgeUserEventsRequest.PurgeUserEventsResponse.Builder Response of the PurgeUserEventsRequest.Rating The rating of a [Product][google.cloud.retail.v2beta.Product].Rating.Builder The rating of a [Product][google.cloud.retail.v2beta.Product].RejoinUserEventsMetadata Metadata for `RejoinUserEvents` method.RejoinUserEventsMetadata.Builder Metadata for `RejoinUserEvents` method.RejoinUserEventsRequest Request message for RejoinUserEvents method.RejoinUserEventsRequest.Builder Request message for RejoinUserEvents method.RejoinUserEventsResponse Response message for `RejoinUserEvents` method.RejoinUserEventsResponse.Builder Response message for `RejoinUserEvents` method.RemoveCatalogAttributeRequest Request for [CatalogService.RemoveCatalogAttribute][google.cloud.retail.v2beta.CatalogService.RemoveCatalogAttribute] method.RemoveCatalogAttributeRequest.Builder Request for [CatalogService.RemoveCatalogAttribute][google.cloud.retail.v2beta.CatalogService.RemoveCatalogAttribute] method.RemoveControlRequest Request for RemoveControl method.RemoveControlRequest.Builder Request for RemoveControl method.RemoveFulfillmentPlacesMetadata Metadata related to the progress of the RemoveFulfillmentPlaces operation.RemoveFulfillmentPlacesMetadata.Builder Metadata related to the progress of the RemoveFulfillmentPlaces operation.RemoveFulfillmentPlacesRequest Request message for [ProductService.RemoveFulfillmentPlaces][google.cloud.retail.v2beta.ProductService.RemoveFulfillmentPlaces] method.RemoveFulfillmentPlacesRequest.Builder Request message for [ProductService.RemoveFulfillmentPlaces][google.cloud.retail.v2beta.ProductService.RemoveFulfillmentPlaces] method.RemoveFulfillmentPlacesResponse Response of the RemoveFulfillmentPlacesRequest.RemoveFulfillmentPlacesResponse.Builder Response of the RemoveFulfillmentPlacesRequest.RemoveLocalInventoriesMetadata Metadata related to the progress of the RemoveLocalInventories operation.RemoveLocalInventoriesMetadata.Builder Metadata related to the progress of the RemoveLocalInventories operation.RemoveLocalInventoriesRequest Request message for [ProductService.RemoveLocalInventories][google.cloud.retail.v2beta.ProductService.RemoveLocalInventories] method.RemoveLocalInventoriesRequest.Builder Request message for [ProductService.RemoveLocalInventories][google.cloud.retail.v2beta.ProductService.RemoveLocalInventories] method.RemoveLocalInventoriesResponse Response of the [ProductService.RemoveLocalInventories][google.cloud.retail.v2beta.ProductService.RemoveLocalInventories] API.RemoveLocalInventoriesResponse.Builder Response of the [ProductService.RemoveLocalInventories][google.cloud.retail.v2beta.ProductService.RemoveLocalInventories] API.ReplaceCatalogAttributeRequest Request for [CatalogService.ReplaceCatalogAttribute][google.cloud.retail.v2beta.CatalogService.ReplaceCatalogAttribute] method.ReplaceCatalogAttributeRequest.Builder Request for [CatalogService.ReplaceCatalogAttribute][google.cloud.retail.v2beta.CatalogService.ReplaceCatalogAttribute] method.ResumeModelRequest Request for resuming training of a model.ResumeModelRequest.Builder Request for resuming training of a model.Rule A rule is a condition-action pair * A condition defines when a rule is to be triggered.Rule.BoostAction A boost action to apply to results matching condition specified above.Rule.BoostAction.Builder A boost action to apply to results matching condition specified above.Rule.Builder A rule is a condition-action pair * A condition defines when a rule is to be triggered.Rule.DoNotAssociateAction Prevents `query_term` from being associated with specified terms during search.Rule.DoNotAssociateAction.Builder Prevents `query_term` from being associated with specified terms during search.Rule.FilterAction * Rule Condition: - No [Condition.query_terms][google.cloud.retail.v2beta.Condition.query_terms] provided is a global match.Rule.FilterAction.Builder * Rule Condition: - No [Condition.query_terms][google.cloud.retail.v2beta.Condition.query_terms] provided is a global match.Rule.IgnoreAction Prevents a term in the query from being used in search.Rule.IgnoreAction.Builder Prevents a term in the query from being used in search.Rule.OnewaySynonymsAction Maps a set of terms to a set of synonyms.Rule.OnewaySynonymsAction.Builder Maps a set of terms to a set of synonyms.Rule.RedirectAction Redirects a shopper to a specific page.Rule.RedirectAction.Builder Redirects a shopper to a specific page.Rule.ReplacementAction Replaces a term in the query.Rule.ReplacementAction.Builder Replaces a term in the query.Rule.TwowaySynonymsAction Creates a set of terms that will be treated as synonyms of each other.Rule.TwowaySynonymsAction.Builder Creates a set of terms that will be treated as synonyms of each other.SearchRequest Request message for [SearchService.Search][google.cloud.retail.v2beta.SearchService.Search] method.SearchRequest.BoostSpec Boost specification to boost certain items.SearchRequest.BoostSpec.Builder Boost specification to boost certain items.SearchRequest.BoostSpec.ConditionBoostSpec Boost applies to products which match a condition.SearchRequest.BoostSpec.ConditionBoostSpec.Builder Boost applies to products which match a condition.SearchRequest.Builder Request message for [SearchService.Search][google.cloud.retail.v2beta.SearchService.Search] method.SearchRequest.DynamicFacetSpec The specifications of dynamically generated facets.SearchRequest.DynamicFacetSpec.Builder The specifications of dynamically generated facets.SearchRequest.FacetSpec A facet specification to perform faceted search.SearchRequest.FacetSpec.Builder A facet specification to perform faceted search.SearchRequest.FacetSpec.FacetKey Specifies how a facet is computed.SearchRequest.FacetSpec.FacetKey.Builder Specifies how a facet is computed.SearchRequest.PersonalizationSpec The specification for personalization.SearchRequest.PersonalizationSpec.Builder The specification for personalization.SearchRequest.QueryExpansionSpec Specification to determine under which conditions query expansion should occur.SearchRequest.QueryExpansionSpec.Builder Specification to determine under which conditions query expansion should occur.SearchRequest.SpellCorrectionSpec The specification for query spell correction.SearchRequest.SpellCorrectionSpec.Builder The specification for query spell correction.SearchResponse Response message for [SearchService.Search][google.cloud.retail.v2beta.SearchService.Search] method.SearchResponse.Builder Response message for [SearchService.Search][google.cloud.retail.v2beta.SearchService.Search] method.SearchResponse.Facet A facet result.SearchResponse.Facet.Builder A facet result.SearchResponse.Facet.FacetValue A facet value which contains value names and their count.SearchResponse.Facet.FacetValue.Builder A facet value which contains value names and their count.SearchResponse.QueryExpansionInfo Information describing query expansion including whether expansion has occurred.SearchResponse.QueryExpansionInfo.Builder Information describing query expansion including whether expansion has occurred.SearchResponse.SearchResult Represents the search results.SearchResponse.SearchResult.Builder Represents the search results.SearchServiceClient Service Description: Service for search.SearchServiceClient.SearchFixedSizeCollection SearchServiceClient.SearchPage SearchServiceClient.SearchPagedResponse SearchServiceGrpc Service for search.SearchServiceGrpc.SearchServiceBlockingStub A stub to allow clients to do synchronous rpc calls to service SearchService.SearchServiceGrpc.SearchServiceFutureStub A stub to allow clients to do ListenableFuture-style rpc calls to service SearchService.SearchServiceGrpc.SearchServiceImplBase Base class for the server implementation of the service SearchService.SearchServiceGrpc.SearchServiceStub A stub to allow clients to do asynchronous rpc calls to service SearchService.SearchServiceProto SearchServiceSettings Settings class to configure an instance ofSearchServiceClient
.SearchServiceSettings.Builder Builder for SearchServiceSettings.ServingConfig Configures metadata that is used to generate serving time results (e.g.ServingConfig.Builder Configures metadata that is used to generate serving time results (e.g.ServingConfigName ServingConfigName.Builder Builder for projects/{project}/locations/{location}/catalogs/{catalog}/servingConfigs/{serving_config}.ServingConfigProto ServingConfigServiceClient Service Description: Service for modifying ServingConfig.ServingConfigServiceClient.ListServingConfigsFixedSizeCollection ServingConfigServiceClient.ListServingConfigsPage ServingConfigServiceClient.ListServingConfigsPagedResponse ServingConfigServiceGrpc Service for modifying ServingConfig.ServingConfigServiceGrpc.ServingConfigServiceBlockingStub A stub to allow clients to do synchronous rpc calls to service ServingConfigService.ServingConfigServiceGrpc.ServingConfigServiceFutureStub A stub to allow clients to do ListenableFuture-style rpc calls to service ServingConfigService.ServingConfigServiceGrpc.ServingConfigServiceImplBase Base class for the server implementation of the service ServingConfigService.ServingConfigServiceGrpc.ServingConfigServiceStub A stub to allow clients to do asynchronous rpc calls to service ServingConfigService.ServingConfigServiceProto ServingConfigServiceSettings Settings class to configure an instance ofServingConfigServiceClient
.ServingConfigServiceSettings.Builder Builder for ServingConfigServiceSettings.SetDefaultBranchRequest Request message to set a specified branch as new default_branch.SetDefaultBranchRequest.Builder Request message to set a specified branch as new default_branch.SetInventoryMetadata Metadata related to the progress of the SetInventory operation.SetInventoryMetadata.Builder Metadata related to the progress of the SetInventory operation.SetInventoryRequest Request message for [ProductService.SetInventory][google.cloud.retail.v2beta.ProductService.SetInventory] method.SetInventoryRequest.Builder Request message for [ProductService.SetInventory][google.cloud.retail.v2beta.ProductService.SetInventory] method.SetInventoryResponse Response of the SetInventoryRequest.SetInventoryResponse.Builder Response of the SetInventoryRequest.TuneModelMetadata Metadata associated with a tune operation.TuneModelMetadata.Builder Metadata associated with a tune operation.TuneModelRequest Request to manually start a tuning process now (instead of waiting for the periodically scheduled tuning to happen).TuneModelRequest.Builder Request to manually start a tuning process now (instead of waiting for the periodically scheduled tuning to happen).TuneModelResponse Response associated with a tune operation.TuneModelResponse.Builder Response associated with a tune operation.UpdateAttributesConfigRequest Request for [CatalogService.UpdateAttributesConfig][google.cloud.retail.v2beta.CatalogService.UpdateAttributesConfig] method.UpdateAttributesConfigRequest.Builder Request for [CatalogService.UpdateAttributesConfig][google.cloud.retail.v2beta.CatalogService.UpdateAttributesConfig] method.UpdateCatalogRequest Request for [CatalogService.UpdateCatalog][google.cloud.retail.v2beta.CatalogService.UpdateCatalog] method.UpdateCatalogRequest.Builder Request for [CatalogService.UpdateCatalog][google.cloud.retail.v2beta.CatalogService.UpdateCatalog] method.UpdateCompletionConfigRequest Request for [CatalogService.UpdateCompletionConfig][google.cloud.retail.v2beta.CatalogService.UpdateCompletionConfig] method.UpdateCompletionConfigRequest.Builder Request for [CatalogService.UpdateCompletionConfig][google.cloud.retail.v2beta.CatalogService.UpdateCompletionConfig] method.UpdateControlRequest Request for UpdateControl method.UpdateControlRequest.Builder Request for UpdateControl method.UpdateModelRequest Request for updating an existing model.UpdateModelRequest.Builder Request for updating an existing model.UpdateProductRequest Request message for [ProductService.UpdateProduct][google.cloud.retail.v2beta.ProductService.UpdateProduct] method.UpdateProductRequest.Builder Request message for [ProductService.UpdateProduct][google.cloud.retail.v2beta.ProductService.UpdateProduct] method.UpdateServingConfigRequest Request for UpdateServingConfig method.UpdateServingConfigRequest.Builder Request for UpdateServingConfig method.UserEvent UserEvent captures all metadata information Retail API needs to know about how end users interact with customers' website.UserEvent.Builder UserEvent captures all metadata information Retail API needs to know about how end users interact with customers' website.UserEventImportSummary A summary of import result.UserEventImportSummary.Builder A summary of import result.UserEventInlineSource The inline source for the input config for ImportUserEvents method.UserEventInlineSource.Builder The inline source for the input config for ImportUserEvents method.UserEventInputConfig The input config source for user events.UserEventInputConfig.Builder The input config source for user events.UserEventProto UserEventServiceClient Service Description: Service for ingesting end user actions on the customer website.UserEventServiceGrpc Service for ingesting end user actions on the customer website.UserEventServiceGrpc.UserEventServiceBlockingStub A stub to allow clients to do synchronous rpc calls to service UserEventService.UserEventServiceGrpc.UserEventServiceFutureStub A stub to allow clients to do ListenableFuture-style rpc calls to service UserEventService.UserEventServiceGrpc.UserEventServiceImplBase Base class for the server implementation of the service UserEventService.UserEventServiceGrpc.UserEventServiceStub A stub to allow clients to do asynchronous rpc calls to service UserEventService.UserEventServiceProto UserEventServiceSettings Settings class to configure an instance ofUserEventServiceClient
.UserEventServiceSettings.Builder Builder for UserEventServiceSettings.UserInfo Information of an end user.UserInfo.Builder Information of an end user.WriteUserEventRequest Request message for WriteUserEvent method.WriteUserEventRequest.Builder Request message for WriteUserEvent method. -
Enum Summary Enum Description AttributeConfigLevel At which level we offer configuration for attributes.BigQuerySource.PartitionCase CatalogAttribute.AttributeType The type of an attribute.CatalogAttribute.DynamicFacetableOption The status of the dynamic facetable option of a catalog attribute.CatalogAttribute.ExactSearchableOption The status of the exact-searchable option of a catalog attribute.CatalogAttribute.IndexableOption The status of the indexable option of a catalog attribute.CatalogAttribute.RetrievableOption The status of the retrievable option of a catalog attribute.CatalogAttribute.SearchableOption The status of the searchable option of a catalog attribute.CollectUserEventRequest.ConversionRuleCase CompletionDataInputConfig.SourceCase Control.ControlCase ExperimentInfo.ExperimentMetadataCase ExportErrorsConfig.DestinationCase ImportErrorsConfig.DestinationCase ImportProductsRequest.ReconciliationMode Indicates how imported products are reconciled with the existing products created or imported before.Interval.MaxCase Interval.MinCase Model.DataState Describes whether this model have sufficient training data to be continuously trained.Model.PeriodicTuningState Describes whether periodic tuning is enabled for this model or not.Model.ServingState The serving state of the model.Model.TrainingState The training state of the model.Product.Availability Product availability.Product.ExpirationCase Product.Type The type of this product.ProductInputConfig.SourceCase RecommendationsFilteringOption If filtering for recommendations is enabled.RejoinUserEventsRequest.UserEventRejoinScope The scope of user events to be rejoined with the latest product catalog.Rule.ActionCase SearchRequest.DynamicFacetSpec.Mode Enum to control DynamicFacet modeSearchRequest.PersonalizationSpec.Mode The personalization mode of each search request.SearchRequest.QueryExpansionSpec.Condition Enum describing under which condition query expansion should occur.SearchRequest.SearchMode The search mode of each search request.SearchRequest.SpellCorrectionSpec.Mode Enum describing under which mode spell correction should occur.SearchResponse.Facet.FacetValue.FacetValueCase SearchSolutionUseCase The use case of Cloud Retail Search.ServingConfig.DiversityType What type of diversity - data or rule based.SolutionType The type of solution.UserEventInputConfig.SourceCase