123456789101112131415161718192021 |
- from typing import Optional
- from pydantic import Field
- from pydantic_settings import BaseSettings
- class GoogleCloudStorageConfig(BaseSettings):
- """
- Configuration settings for Google Cloud Storage
- """
- GOOGLE_STORAGE_BUCKET_NAME: Optional[str] = Field(
- description="Name of the Google Cloud Storage bucket to store and retrieve objects (e.g., 'my-gcs-bucket')",
- default=None,
- )
- GOOGLE_STORAGE_SERVICE_ACCOUNT_JSON_BASE64: Optional[str] = Field(
- description="Base64-encoded JSON key file for Google Cloud service account authentication",
- default=None,
- )
|