AssignModelToProject
POST/v1/customers/:customer_id/projects/:project_id/models
AssignModelToProject grants a project access to a catalog model. Idempotent: re-assigning a model is a no-op.
The model's provider must be enabled (FAILED_PRECONDITION otherwise) -- a model under a disabled provider is absent from the route map and could not be served.
Propagates automatically to any Project Gateway attached to the project (per-gateway route maps serve only assigned models); no separate publish step is needed.
Request
Responses
- 200
Success