Skip to content

Commit 4667a43

Browse files
Google APIscopybara-github
authored andcommitted
feat: add invoke_route_prefix to ModelContainerSpec in aiplatform v1 models.proto
PiperOrigin-RevId: 775862178
1 parent d931df4 commit 4667a43

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

google/cloud/aiplatform/v1/model.proto

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

785+
// Immutable. Invoke route prefix for the custom container. "/*" is the only
786+
// supported value right now. By setting this field, any non-root route on
787+
// this model will be accessible with invoke http call eg: "/invoke/foo/bar",
788+
// however the [PredictionService.Invoke] RPC is not supported yet.
789+
//
790+
// Only one of `predict_route` or `invoke_route_prefix` can be set, and we
791+
// default to using `predict_route` if this field is not set. If this field
792+
// is set, the Model can only be deployed to dedicated endpoint.
793+
string invoke_route_prefix = 15 [(google.api.field_behavior) = IMMUTABLE];
794+
785795
// Immutable. List of ports to expose from the container. Vertex AI sends gRPC
786796
// prediction requests that it receives to the first port on this list. Vertex
787797
// AI also sends liveness and health checks to this port.

0 commit comments

Comments
 (0)