GcsSource
Stay organized with collections
Save and categorize content based on your preferences.
Specifies the configuration for importing data from Cloud Storage.
| JSON representation |
{
"uri": string
} |
| Fields |
uri |
string
Points to a Cloud Storage URI containing file(s) to import. The URI must be in the following format: gs://{bucket_id}/{objectId}. The URI can include wildcards in objectId and thus identify multiple files. Supported wildcards:
* to match 0 or more non-separator characters
** to match 0 or more characters (including separators). Must be used at the end of a path and with no other wildcards in the path. Can also be used with a file extension (such as .ndjson), which imports all files with the extension in the specified directory and its sub-directories. For example, gs://my-bucket/my-directory/**.ndjson imports all files with .ndjson extensions in my-directory/ and its sub-directories.
? to match 1 character
Files matching the wildcard are expected to contain content only, no metadata.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-06-27 UTC.
[null,null,["Last updated 2025-06-27 UTC."],[],[]]