Skip to content

GcpSetupParams

Base classes

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

⋔ Inheritance diagram

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

🛈 DocStrings

Bases: CodexBaseModel

Source code in src/codexed/models/v2_protocol.py
class GcpSetupParams(CodexBaseModel):
    credential_file: str | None = None
    """
    Absolute path to a credential file on the app-server host. Omit or pass `null` to clear the active user configuration's override and use ADC. If another configuration layer would still supply a credential file, setup fails without saving changes.
    """
    location: str | None = None
    """
    Vertex AI location. Omission or null selects `global`.
    """
    project_id: str

credential_file class-attribute instance-attribute

credential_file: str | None = None

Absolute path to a credential file on the app-server host. Omit or pass null to clear the active user configuration's override and use ADC. If another configuration layer would still supply a credential file, setup fails without saving changes.

location class-attribute instance-attribute

location: str | None = None

Vertex AI location. Omission or null selects global.

:fa-brands-github: Show source on GitHub