Skip to content

Commit 2f31b66

Browse files
Google APIscopybara-github
authored andcommitted
feat: add invoke_route_prefix to ModelContainerSpec in aiplatform v1beta1 models.proto
PiperOrigin-RevId: 772617444
1 parent 970e98f commit 2f31b66

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

google/cloud/aiplatform/v1beta1/model.proto

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -748,6 +748,16 @@ message ModelContainerSpec {
748748
// variable](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables).)
749749
string health_route = 7 [(google.api.field_behavior) = IMMUTABLE];
750750

751+
// Immutable. Invoke route prefix for the custom container. "/*" is the only
752+
// supported value right now. By setting this field, any non-root route on
753+
// this model will be accessible with [PredictionService.Invoke] eg:
754+
// "/invoke/foo/bar".
755+
//
756+
// Only one of `predict_route` or `invoke_route_prefix` can be set, and we
757+
// default to using `predict_route` if this field is not set. If this field
758+
// is set, the Model can only be deployed to dedicated endpoint.
759+
string invoke_route_prefix = 15 [(google.api.field_behavior) = IMMUTABLE];
760+
751761
// Immutable. List of ports to expose from the container. Vertex AI sends gRPC
752762
// prediction requests that it receives to the first port on this list. Vertex
753763
// AI also sends liveness and health checks to this port.

0 commit comments

Comments
 (0)