Skip to main content
Version: 1.8.0

GCSConfig

class GCSConfig(
bucket: str,
base_path: str,
upload_credentials: GCPServiceAccountKeyCredentials | None = None,
hmac_credentials: HMACCredentials | None = None,
)

Categories: configuration

Configuration for staging files in Google Cloud Storage.

Parameters

parameter
bucket

GCS bucket name.

parameter
base_path

Object path prefix for staged files (e.g. "staging/clickhouse").

parameter
upload_credentials

Optional GCP service-account credentials used for uploading staged files via the GCS SDK. When None, application default credentials (ADC) are used.

parameter
hmac_credentials

Optional :class:~tabsdata.HMACCredentials carrying GCS HMAC access key and secret for S3-compatible access. When None, the storage backend operates without explicit credentials (suitable for public buckets or server-side IAM).