The schema to use when parsing the data from the source.
Supported values for document imports:
document (default): One JSON
[Document][google.cloud.discoveryengine.v1.Document] per line. Each
document must
have a valid [Document.id][google.cloud.discoveryengine.v1.Document.id].
content: Unstructured data (e.g. PDF, HTML). Each file matched by
input_uris becomes a document, with the ID set to the first 128
bits of SHA256(URI) encoded as a hex string.
custom: One custom data JSON per row in arbitrary format that conforms
to the defined [Schema][google.cloud.discoveryengine.v1.Schema] of the
data store. This can only be used by the GENERIC Data Store vertical.
csv: A CSV file with header conforming to the defined
[Schema][google.cloud.discoveryengine.v1.Schema] of the
data store. Each entry after the header is imported as a Document.
This can only be used by the GENERIC Data Store vertical.
Supported values for user event imports:
user_event (default): One JSON
[UserEvent][google.cloud.discoveryengine.v1.UserEvent] per line.
Required. Cloud Storage URIs to input files. Each 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 (or 100,000 files if data_schema
is content). Each file can be up to 2 GB (or 100 MB if data_schema is
content).
[[["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 \u003ccode\u003eGcsSource\u003c/code\u003e class provides a way to specify Cloud Storage locations for importing content into the Discovery Engine v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class is part of the \u003ccode\u003eGoogle.Cloud.DiscoveryEngine.V1\u003c/code\u003e namespace and is available in the \u003ccode\u003eGoogle.Cloud.DiscoveryEngine.V1.dll\u003c/code\u003e assembly, and it implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGcsSource\u003c/code\u003e has two constructors: a default constructor and one that accepts another \u003ccode\u003eGcsSource\u003c/code\u003e object, and it has properties \u003ccode\u003eDataSchema\u003c/code\u003e and \u003ccode\u003eInputUris\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDataSchema\u003c/code\u003e property defines the format of the data being imported, with supported values like \u003ccode\u003edocument\u003c/code\u003e, \u003ccode\u003econtent\u003c/code\u003e, \u003ccode\u003ecustom\u003c/code\u003e, \u003ccode\u003ecsv\u003c/code\u003e, or \u003ccode\u003euser_event\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eInputUris\u003c/code\u003e property takes a collection of Cloud Storage URIs that specify the location of the files to be imported, with constraints on URI length, file count, and file size.\u003c/p\u003e\n"]]],[],null,[]]