# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

from typing import Optional
from typing_extensions import Literal

from ..._models import BaseModel

__all__ = ["Bucket"]


class Bucket(BaseModel):
    creation_date: Optional[str] = None
    """Creation timestamp."""

    jurisdiction: Optional[Literal["default", "eu", "fedramp"]] = None
    """Jurisdiction where objects in this bucket are guaranteed to be stored."""

    location: Optional[Literal["apac", "eeur", "enam", "weur", "wnam", "oc"]] = None
    """Location of the bucket."""

    name: Optional[str] = None
    """Name of the bucket."""

    storage_class: Optional[Literal["Standard", "InfrequentAccess"]] = None
    """Storage class for newly uploaded objects, unless specified otherwise."""
