GCSSrcConn
class GCSSrcConn(
bucket: GCSBucketSpec,
credentials: CredentialsSpec,
project: ProjectSpec | None = None,
base_path: CloudRelativePathSpec = '/',
conn_cfg: CfgSpec | None = None,
)
Bases: Conn
Categories: source
GCS connection used by GCSSrc.
Registered on a collection; the runtime resolves it and hands it to
the plugin at run time. Each field accepts a plain string or a
Secret.
Parameters
parameter
bucketGCSBucketSpec (str | Secret)A valid GCS bucket name: 3-63 characters, lowercase letters, digits, hyphens and underscores, starting and ending with a letter or digit.
parameter
projectProjectSpec | None (str | Secret | None)Optional GCP project id; any non-empty string.
parameter
base_pathCloudRelativePathSpec (str | Secret)Object-key prefix from the bucket root; starts with
/, has no trailing / and no empty segments (//)
(the leading / is trimmed when forming the key).
Defaults to /.