Retail V2 API - Module Google::Cloud::Retail::V2::ModelService (v1.0.1)

Reference documentation and code samples for the Retail V2 API module Google::Cloud::Retail::V2::ModelService.

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.

To load this service and instantiate a REST client:

require "google/cloud/retail/v2/model_service/rest"
client = ::Google::Cloud::Retail::V2::ModelService::Rest::Client.new