Update an endpoint
Updates mutable endpoint fields such as its inference name, visibility, or deployment traffic split. Use updateMask to select fields explicitly and etag in the request body for optimistic concurrency.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Fields to update. If not set, the fields populated are updated.
Body
Mutable endpoint fields for update requests.
Updated inference-addressable endpoint name.
Current endpoint version. The update is rejected if this value no longer matches.
Replacement live traffic split. Use an empty list to stop routing live traffic.
Who can discover the endpoint. VISIBILITY_PRIVATE restricts it to the project; VISIBILITY_INTERNAL shares it with the organization.
VISIBILITY_PRIVATE, VISIBILITY_INTERNAL Response
OK
Stable inference entry point that groups deployments and routes requests among them.
Unique endpoint identifier.
ID of the project that owns the endpoint.
Project-qualified endpoint name in the form <project_slug>/<endpoint_name>.
Pass this value as model in inference requests. Create and update requests
may use either a bare endpoint name or the qualified form; a supplied project
slug must match the project in the request path.
Timestamp when the endpoint was created.
Output only. Timestamp when the endpoint was last updated.
Opaque version tag for optimistic concurrency control. Supply on update/delete to ensure consistent read-modify-write. If not set, the write overwrites based on current state.
Deployments eligible for live traffic and their capacity weights. An empty list leaves the endpoint unrouted.
Who can discover the endpoint. VISIBILITY_PRIVATE restricts it to the project; VISIBILITY_INTERNAL shares it with the organization.
VISIBILITY_PRIVATE, VISIBILITY_INTERNAL Serving class of the endpoint.
ENDPOINT_TYPE_DEDICATED, ENDPOINT_TYPE_SERVERLESS Lightweight summaries of deployments under this endpoint. Retrieve a deployment through the endpoint's deployment API for full details.
ID of the currently active rollout, or empty if none.