Skip to main content

GCS

Any GCS specific configuration.

Constructor​

Signature​

def GCS() - > null

Methods​


auto()​

@classmethod
def auto() - > [GCS](gcs.md?sid=flyte_storage__config_gcs)

Creates an instance of the GCS configuration class by automatically detecting settings from environment variables.

Returns​

TypeDescription
[GCS](gcs.md?sid=flyte_storage__config_gcs)A new GCS configuration object initialized with discovered environment settings

get_fsspec_kwargs()​

@classmethod
def get_fsspec_kwargs(
anonymous: bool = False,
**kwargs: dict
) - > typing.Dict[str, typing.Any]

Generates a dictionary of keyword arguments compatible with fsspec for GCS filesystem operations.

Parameters​

NameTypeDescription
anonymousbool = FalseWhether to connect to GCS without using credentials for public bucket access
**kwargsdictAdditional provider-specific arguments to be merged into the fsspec configuration

Returns​

TypeDescription
typing.Dict[str, typing.Any]A dictionary containing authentication and configuration parameters for fsspec GCS integration