Zum Inhalt springen

Google Cloud Storage

Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.

Connect a Google Cloud Storage bucket to Agent Context. Agent Context reads structured files from your bucket and makes them queryable with SQL. Each file becomes a table.

  1. Go to Agent Context in the dashboard
  2. Click Add SourceGoogle Cloud Storage
  3. Enter your HMAC credentials and the GCS path to the file
  4. Click Test Connection to verify, then Save
ParameterRequiredDescription
Access KeyNoGCS HMAC access key
Secret KeyNoGCS HMAC secret key
GCS URIYesPath to the file: bucket/path/to/file.parquet
File FormatNoAuto-detected from extension. Override: csv, tsv, parquet, json, jsonl

Alternatively, you can paste a connection string with all parameters.

GCS uses HMAC keys (S3-compatible) for authentication:

  1. Go to Google Cloud ConsoleCloud StorageSettingsInteroperability
  2. Under Service account HMAC, click Create a key
  3. Copy the Access key and Secret key

The service account needs roles/storage.objectViewer on the bucket.

FormatExtensionNotes
Parquet.parquetColumnar format. Best performance for large datasets.
CSV.csvAuto-detects delimiter, headers, and column types.
TSV.tsvTab-separated values.
JSON.jsonJSON array format.
JSONL.jsonlNewline-delimited JSON. One record per line.
IssueFix
Access deniedVerify the HMAC key is valid and the service account has roles/storage.objectViewer on the bucket.
No tables foundCheck that the GCS URI points to a supported file format.
Invalid credentialsEnsure the HMAC key hasn’t been revoked. Regenerate in Cloud Console → Interoperability.