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\u003eThis webpage details the \u003ccode\u003eGcsSource\u003c/code\u003e class, which is used to specify Google Cloud Storage locations for importing data into Google Cloud Retail, as part of version 1.2.0.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version documented is 2.12.0, and the page offers documentation for versions ranging from 1.0.0 to 2.12.0 of the Google.Cloud.Retail.V2 package.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGcsSource\u003c/code\u003e class inherits from \u003ccode\u003eObject\u003c/code\u003e and implements interfaces such as \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\u003eIt includes properties like \u003ccode\u003eDataSchema\u003c/code\u003e, which specifies the data format being used (e.g., \u003ccode\u003eproduct\u003c/code\u003e or \u003ccode\u003euser_event\u003c/code\u003e), and \u003ccode\u003eInputUris\u003c/code\u003e, which holds the Google Cloud Storage URIs of the input files.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGcsSource\u003c/code\u003e can handle product imports, where each line in the file is a product, or user events imports, where each line is a user event.\u003c/p\u003e\n"]]],[],null,[]]