The schema to use when parsing the data from the source.
Supported values for product imports:
product (default): One JSON [Product][google.cloud.retail.v2.Product]
per line. Each product must
have a valid [Product.id][google.cloud.retail.v2.Product.id].
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version available for \u003ccode\u003eGcsSource\u003c/code\u003e in the Google Cloud Retail V2 API is 2.12.0, and a range of previous versions from 2.11.0 down to 1.0.0 are also accessible.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGcsSource\u003c/code\u003e is a class representing a Google Cloud Storage location for content input, implementing multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDataSchema\u003c/code\u003e property of the \u003ccode\u003eGcsSource\u003c/code\u003e class allows specification of the data format, supporting options like \u003ccode\u003eproduct\u003c/code\u003e, \u003ccode\u003euser_event\u003c/code\u003e, \u003ccode\u003econtrol\u003c/code\u003e, and \u003ccode\u003ecatalog_attribute\u003c/code\u003e, each with specific requirements for data input.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eInputUris\u003c/code\u003e property in \u003ccode\u003eGcsSource\u003c/code\u003e accepts Google Cloud Storage URIs, supporting both direct file paths and pattern-matching for multiple files, with a limit of 100 files per request and 2GB per file.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGcsSource\u003c/code\u003e class offers two constructors, a default constructor and one that takes in another GcsSource object to copy.\u003c/p\u003e\n"]]],[],null,[]]