This is the documentation for Recommendations AI, Retail Search, and the new Retail console. To use Retail Search in the restricted GA phase, contact Cloud sales.

If you are only using Recommendations AI, remain on the Recommendations console and refer to the Recommendations AI documentation.

GcsSource

Google Cloud Storage location for input content. format.

JSON representation
{
  "inputUris": [
    string
  ],
  "dataSchema": string
}
Fields
inputUris[]

string

Required. Google Cloud Storage URIs to input files. URI can be up to 2000 characters long. URIs can match the full object path (for example, gs://bucket/directory/object.json) or a pattern matching one or more files, such as gs://bucket/directory/*.json. A request can contain at most 100 files, and each file can be up to 2 GB. See Importing product information for the expected file format and setup instructions.

dataSchema

string

The schema to use when parsing the data from the source.

Supported values for product imports:

Supported values for user events imports:

Supported values for control imports:

  • 'control' (default): One JSON Control per line.