GCSConfig
classView source ↗
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
bucketGCS bucket name.
parameter
base_pathObject path prefix for staged files (e.g. "staging/clickhouse").
parameter
upload_credentialsOptional GCP service-account credentials used for uploading staged files via the GCS SDK. When None, application default credentials (ADC) are used.
parameter
hmac_credentialsOptional :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).