googleapis.com – retail
Cloud Retail service enables customers to build end-to-end personalized recommendation systems without requiring a high level of expertise in machine learning, recommendation system, or Google Cloud.
- Homepage
- https://api.apis.guru/v2/specs/googleapis.com:retail/v2.json
- Provider
- googleapis.com:retail / retail
- OpenAPI version
- 3.0.0
- Spec (JSON)
- https://api.apis.guru/v2/specs/googleapis.com/retail/v2/openapi.json
- Spec (YAML)
- https://api.apis.guru/v2/specs/googleapis.com/retail/v2/openapi.yaml
Tools (40)
Extracted live via the executor SDK.
-
projects.retailProjectsLocationsCatalogsAttributesConfigAddCatalogAttributeAdds the specified CatalogAttribute to the AttributesConfig. If the CatalogAttribute to add already exists, an ALREADY_EXISTS error is returned.
-
projects.retailProjectsLocationsCatalogsAttributesConfigRemoveCatalogAttributeRemoves the specified CatalogAttribute from the AttributesConfig. If the CatalogAttribute to remove does not exist, a NOT_FOUND error is returned.
-
projects.retailProjectsLocationsCatalogsAttributesConfigReplaceCatalogAttributeReplaces the specified CatalogAttribute in the AttributesConfig by updating the catalog attribute with the same CatalogAttribute.key. If the CatalogAttribute to replace does not exist, a NOT_FOUND error is returned.
-
projects.retailProjectsLocationsCatalogsBranchesProductsAddFulfillmentPlacesIt is recommended to use the ProductService.AddLocalInventories method instead of ProductService.AddFulfillmentPlaces. ProductService.AddLocalInventories achieves the same results but provides more fine-grained control over ingesting local inventory data. Incrementally adds place IDs to Product.fulfillment_info.place_ids. This process is asynchronous and does not require the Product to exist before updating fulfillment information. If the request is valid, the update will be enqueued and processed downstream. As a consequence, when a response is returned, the added place IDs are not immediately manifested in the Product queried by ProductService.GetProduct or ProductService.ListProducts. The returned Operations will be obsolete after 1 day, and GetOperation API will return NOT_FOUND afterwards. If conflicting updates are issued, the Operations associated with the stale updates will not be marked as done until being obsolete.
-
projects.retailProjectsLocationsCatalogsBranchesProductsAddLocalInventoriesUpdates local inventory information for a Product at a list of places, while respecting the last update timestamps of each inventory field. This process is asynchronous and does not require the Product to exist before updating inventory information. If the request is valid, the update will be enqueued and processed downstream. As a consequence, when a response is returned, updates are not immediately manifested in the Product queried by ProductService.GetProduct or ProductService.ListProducts. Local inventory information can only be modified using this method. ProductService.CreateProduct and ProductService.UpdateProduct has no effect on local inventories. The returned Operations will be obsolete after 1 day, and GetOperation API will return NOT_FOUND afterwards. If conflicting updates are issued, the Operations associated with the stale updates will not be marked as done until being obsolete.
-
projects.retailProjectsLocationsCatalogsBranchesProductsCreateCreates a Product.
-
projects.retailProjectsLocationsCatalogsBranchesProductsImportBulk import of multiple Products. Request processing may be synchronous. Non-existing items are created. Note that it is possible for a subset of the Products to be successfully updated.
-
projects.retailProjectsLocationsCatalogsBranchesProductsListGets a list of Products.
-
projects.retailProjectsLocationsCatalogsBranchesProductsRemoveFulfillmentPlacesIt is recommended to use the ProductService.RemoveLocalInventories method instead of ProductService.RemoveFulfillmentPlaces. ProductService.RemoveLocalInventories achieves the same results but provides more fine-grained control over ingesting local inventory data. Incrementally removes place IDs from a Product.fulfillment_info.place_ids. This process is asynchronous and does not require the Product to exist before updating fulfillment information. If the request is valid, the update will be enqueued and processed downstream. As a consequence, when a response is returned, the removed place IDs are not immediately manifested in the Product queried by ProductService.GetProduct or ProductService.ListProducts. The returned Operations will be obsolete after 1 day, and GetOperation API will return NOT_FOUND afterwards. If conflicting updates are issued, the Operations associated with the stale updates will not be marked as done until being obsolete.
-
projects.retailProjectsLocationsCatalogsBranchesProductsRemoveLocalInventoriesRemove local inventory information for a Product at a list of places at a removal timestamp. This process is asynchronous. If the request is valid, the removal will be enqueued and processed downstream. As a consequence, when a response is returned, removals are not immediately manifested in the Product queried by ProductService.GetProduct or ProductService.ListProducts. Local inventory information can only be removed using this method. ProductService.CreateProduct and ProductService.UpdateProduct has no effect on local inventories. The returned Operations will be obsolete after 1 day, and GetOperation API will return NOT_FOUND afterwards. If conflicting updates are issued, the Operations associated with the stale updates will not be marked as done until being obsolete.
-
projects.retailProjectsLocationsCatalogsBranchesProductsSetInventoryUpdates inventory information for a Product while respecting the last update timestamps of each inventory field. This process is asynchronous and does not require the Product to exist before updating fulfillment information. If the request is valid, the update is enqueued and processed downstream. As a consequence, when a response is returned, updates are not immediately manifested in the Product queried by ProductService.GetProduct or ProductService.ListProducts. When inventory is updated with ProductService.CreateProduct and ProductService.UpdateProduct, the specified inventory field value(s) overwrite any existing value(s) while ignoring the last update time for this field. Furthermore, the last update times for the specified inventory fields are overwritten by the times of the ProductService.CreateProduct or ProductService.UpdateProduct request. If no inventory fields are set in CreateProductRequest.product, then any pre-existing inventory information for this product is used. If no inventory fields are set in SetInventoryRequest.set_mask, then any existing inventory information is preserved. Pre-existing inventory information can only be updated with ProductService.SetInventory, ProductService.AddFulfillmentPlaces, and ProductService.RemoveFulfillmentPlaces. The returned Operations is obsolete after one day, and the GetOperation API returns
NOT_FOUNDafterwards. If conflicting updates are issued, the Operations associated with the stale updates are not marked as done until they are obsolete. -
projects.retailProjectsLocationsCatalogsCompleteQueryCompletes the specified prefix with keyword suggestions. This feature is only available for users who have Retail Search enabled. Enable Retail Search on Cloud Console before using this feature.
-
projects.retailProjectsLocationsCatalogsCompletionDataImportBulk import of processed completion dataset. Request processing is asynchronous. Partial updating is not supported. The operation is successfully finished only after the imported suggestions are indexed successfully and ready for serving. The process takes hours. This feature is only available for users who have Retail Search enabled. Enable Retail Search on Cloud Console before using this feature.
-
projects.retailProjectsLocationsCatalogsControlsCreateCreates a Control. If the Control to create already exists, an ALREADY_EXISTS error is returned.
-
projects.retailProjectsLocationsCatalogsControlsListLists all Controls by their parent Catalog.
-
projects.retailProjectsLocationsCatalogsGetDefaultBranchGet which branch is currently default branch set by CatalogService.SetDefaultBranch method under a specified parent catalog.
-
projects.retailProjectsLocationsCatalogsListLists all the Catalogs associated with the project.
-
projects.retailProjectsLocationsCatalogsModelsCreateCreates a new model.
-
projects.retailProjectsLocationsCatalogsModelsListLists all the models linked to this event store.
-
projects.retailProjectsLocationsCatalogsModelsPausePauses the training of an existing model.
-
projects.retailProjectsLocationsCatalogsModelsResumeResumes the training of an existing model.
-
projects.retailProjectsLocationsCatalogsModelsTuneTunes an existing model.
-
projects.retailProjectsLocationsCatalogsServingConfigsAddControlEnables a Control on the specified ServingConfig. The control is added in the last position of the list of controls it belongs to (e.g. if it's a facet spec control it will be applied in the last position of servingConfig.facetSpecIds) Returns a ALREADY_EXISTS error if the control has already been applied. Returns a FAILED_PRECONDITION error if the addition could exceed maximum number of control allowed for that type of control.
-
projects.retailProjectsLocationsCatalogsServingConfigsCreateCreates a ServingConfig. A maximum of 100 ServingConfigs are allowed in a Catalog, otherwise a FAILED_PRECONDITION error is returned.
-
projects.retailProjectsLocationsCatalogsServingConfigsDeleteDeletes a ServingConfig. Returns a NotFound error if the ServingConfig does not exist.
-
projects.retailProjectsLocationsCatalogsServingConfigsListLists all ServingConfigs linked to this catalog.
-
projects.retailProjectsLocationsCatalogsServingConfigsPatchUpdates a ServingConfig.
-
projects.retailProjectsLocationsCatalogsServingConfigsPredictMakes a recommendation prediction.
-
projects.retailProjectsLocationsCatalogsServingConfigsRemoveControlDisables a Control on the specified ServingConfig. The control is removed from the ServingConfig. Returns a NOT_FOUND error if the Control is not enabled for the ServingConfig.
-
projects.retailProjectsLocationsCatalogsServingConfigsSearchPerforms a search. This feature is only available for users who have Retail Search enabled. Enable Retail Search on Cloud Console before using this feature.
-
projects.retailProjectsLocationsCatalogsSetDefaultBranchSet a specified branch id as default branch. API methods such as SearchService.Search, ProductService.GetProduct, ProductService.ListProducts will treat requests using "default_branch" to the actual branch id set as default. For example, if
projects/*/locations/*/catalogs/*/branches/1is set as default, setting SearchRequest.branch toprojects/*/locations/*/catalogs/*/branches/default_branchis equivalent to setting SearchRequest.branch toprojects/*/locations/*/catalogs/*/branches/1. Using multiple branches can be useful when developers would like to have a staging branch to test and verify for future usage. When it becomes ready, developers switch on the staging branch using this API while keeping usingprojects/*/locations/*/catalogs/*/branches/default_branchas SearchRequest.branch to route the traffic to this staging branch. CAUTION: If you have live predict/search traffic, switching the default branch could potentially cause outages if the ID space of the new branch is very different from the old one. More specifically: * PredictionService will only return product IDs from branch {newBranch}. * SearchService will only return product IDs from branch {newBranch} (if branch is not explicitly set). * UserEventService will only join events with products from branch {newBranch}. -
projects.retailProjectsLocationsCatalogsUserEventsCollectWrites a single user event from the browser. This uses a GET request to due to browser restriction of POST-ing to a 3rd party domain. This method is used only by the Retail API JavaScript pixel and Google Tag Manager. Users should not call this method directly.
-
projects.retailProjectsLocationsCatalogsUserEventsImportBulk import of User events. Request processing might be synchronous. Events that already exist are skipped. Use this method for backfilling historical user events.
Operation.responseis of typeImportResponse. Note that it is possible for a subset of the items to be successfully inserted.Operation.metadatais of typeImportMetadata. -
projects.retailProjectsLocationsCatalogsUserEventsPurgeDeletes permanently all user events specified by the filter provided. Depending on the number of events specified by the filter, this operation could take hours or days to complete. To test a filter, use the list command first.
-
projects.retailProjectsLocationsCatalogsUserEventsRejoinStarts a user-event rejoin operation with latest product catalog. Events are not annotated with detailed product information for products that are missing from the catalog when the user event is ingested. These events are stored as unjoined events with limited usage on training and serving. You can use this method to start a join operation on specified events with the latest version of product catalog. You can also use this method to correct events joined with the wrong product catalog. A rejoin operation can take hours or days to complete.
-
projects.retailProjectsLocationsCatalogsUserEventsWriteWrites a single user event.
-
projects.retailProjectsOperationsGetGets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
-
projects.retailProjectsOperationsListLists operations that match the specified filter in the request. If the server doesn't support this method, it returns
UNIMPLEMENTED. -
openapi.previewSpecPreview an OpenAPI document before adding it as a source
-
openapi.addSourceAdd an OpenAPI source and register its operations as tools