Skip to content

GcpProviderSettingsPatch

Base classes

Name Children Inherits
CodexBaseModel
codexed.models.base
Base model for all Codex API models.

⋔ Inheritance diagram

graph TD
  1940383064["v2_protocol.GcpProviderSettingsPatch"]
  3116041069["base.CodexBaseModel"]
  3879467795["main.BaseModel"]
  2751680898["builtins.object"]
  3116041069 --> 1940383064
  3879467795 --> 3116041069
  2751680898 --> 3879467795

🛈 DocStrings

Bases: CodexBaseModel

GCP configuration fields. Credential-file paths refer to the app-server host.

Source code in src/codexed/models/v2_protocol.py
class GcpProviderSettingsPatch(CodexBaseModel):
    """GCP configuration fields. Credential-file paths refer to the app-server host."""

    model_config = ConfigDict(
        extra="forbid",
    )
    credential_file: str | None = None
    location: str | None = None
    project_id: str | None = None
    provider_id: GcpProviderId
    type: Literal["gcp"] = "gcp"

:fa-brands-github: Show source on GitHub