UpsertGridConnectionConfigVertex

class baseten.client.managementapi.UpsertGridConnectionConfigVertex(*, provider, secret_name, project_id, location)

Bases: BaseModel

Parameters:
  • provider (Annotated[Literal['VERTEX'], FieldInfo(annotation=NoneType, required=True, title='Provider', description='Provider kind for Google Vertex.')])

  • secret_name (Annotated[str, FieldInfo(annotation=NoneType, required=True, title='Secret Name', description='Name of an existing secret, owned by the same team, that holds the provider API key.', examples=['anthropic-key'], metadata=[MinLen(min_length=1)])])

  • project_id (Annotated[str, FieldInfo(annotation=NoneType, required=True, title='Project Id', description='Google Cloud project ID or number of a project with Vertex AI enabled.', examples=['my-gcp-project'], metadata=[MinLen(min_length=1)])])

  • location (Annotated[str, FieldInfo(annotation=NoneType, required=True, title='Location', description='Google Cloud region that serves the Vertex AI models, for example `us-central1`.', examples=['us-central1'], metadata=[MinLen(min_length=1)])])

model_config = {'extra': 'forbid'}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].