GCS
Any GCS specific configuration.
Constructor
Signature
def GCS() -> null
Methods
auto()
@classmethod
def auto(cls) -> GCS: ...
Automatically constructs a GCS configuration instance by resolving settings from environment variables and system defaults.
Returns
| Type | Description |
|---|---|
[GCS](gcs.md?sid=flyte_storage__config_gcs) | A new GCS instance populated with automatically detected configuration values. |
get_fsspec_kwargs()
def get_fsspec_kwargs(self, anonymous: bool = False, **kwargs) -> typing.Dict[str, typing.Any]: ...
Generates a dictionary of configuration parameters compatible with fsspec for interacting with Google Cloud Storage.
Parameters
| Name | Type | Description |
|---|---|---|
| anonymous | bool = False | Whether to connect to GCS without using credentials, typically for accessing public buckets. |
| kwargs | Any | Additional keyword arguments to be merged into the resulting fsspec configuration dictionary. |
Returns
| Type | Description |
|---|---|
typing.Dict[str, typing.Any] | A dictionary containing authentication and configuration keys used to initialize an fsspec GCS filesystem. |