|
|
|
@ -1,4 +1,4 @@ |
|
|
|
|
// Copyright 2021 Google LLC |
|
|
|
|
// Copyright 2022 Google LLC |
|
|
|
|
// |
|
|
|
|
// Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
|
// you may not use this file except in compliance with the License. |
|
|
|
@ -16,6 +16,7 @@ syntax = "proto3"; |
|
|
|
|
|
|
|
|
|
package google.cloud.aiplatform.v1beta1; |
|
|
|
|
|
|
|
|
|
import "google/api/annotations.proto"; |
|
|
|
|
import "google/api/field_behavior.proto"; |
|
|
|
|
import "google/api/resource.proto"; |
|
|
|
|
import "google/cloud/aiplatform/v1beta1/dataset.proto"; |
|
|
|
@ -26,7 +27,6 @@ import "google/cloud/aiplatform/v1beta1/explanation.proto"; |
|
|
|
|
|
|
|
|
|
import "google/protobuf/struct.proto"; |
|
|
|
|
import "google/protobuf/timestamp.proto"; |
|
|
|
|
import "google/api/annotations.proto"; |
|
|
|
|
|
|
|
|
|
option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; |
|
|
|
|
option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; |
|
|
|
@ -344,7 +344,7 @@ message PredictSchemata { |
|
|
|
|
|
|
|
|
|
// Specification of a container for serving predictions. Some fields in this |
|
|
|
|
// message correspond to fields in the [Kubernetes Container v1 core |
|
|
|
|
// specification](https://v1-18.docs.kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#container-v1-core). |
|
|
|
|
// specification](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core). |
|
|
|
|
message ModelContainerSpec { |
|
|
|
|
// Required. Immutable. URI of the Docker image to be used as the custom container for serving |
|
|
|
|
// predictions. This URI must identify an image in Artifact Registry or |
|
|
|
@ -402,7 +402,7 @@ message ModelContainerSpec { |
|
|
|
|
// <code>$$(<var>VARIABLE_NAME</var>)</code> |
|
|
|
|
// This field corresponds to the `command` field of the Kubernetes Containers |
|
|
|
|
// [v1 core |
|
|
|
|
// API](https://v1-18.docs.kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#container-v1-core). |
|
|
|
|
// API](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core). |
|
|
|
|
repeated string command = 2 [(google.api.field_behavior) = IMMUTABLE]; |
|
|
|
|
|
|
|
|
|
// Immutable. Specifies arguments for the command that runs when the container starts. |
|
|
|
@ -440,7 +440,7 @@ message ModelContainerSpec { |
|
|
|
|
// <code>$$(<var>VARIABLE_NAME</var>)</code> |
|
|
|
|
// This field corresponds to the `args` field of the Kubernetes Containers |
|
|
|
|
// [v1 core |
|
|
|
|
// API](https://v1-18.docs.kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#container-v1-core). |
|
|
|
|
// API](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core). |
|
|
|
|
repeated string args = 3 [(google.api.field_behavior) = IMMUTABLE]; |
|
|
|
|
|
|
|
|
|
// Immutable. List of environment variables to set in the container. After the container |
|
|
|
@ -470,7 +470,7 @@ message ModelContainerSpec { |
|
|
|
|
// |
|
|
|
|
// This field corresponds to the `env` field of the Kubernetes Containers |
|
|
|
|
// [v1 core |
|
|
|
|
// API](https://v1-18.docs.kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#container-v1-core). |
|
|
|
|
// API](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core). |
|
|
|
|
repeated EnvVar env = 4 [(google.api.field_behavior) = IMMUTABLE]; |
|
|
|
|
|
|
|
|
|
// Immutable. List of ports to expose from the container. Vertex AI sends any |
|
|
|
@ -493,7 +493,7 @@ message ModelContainerSpec { |
|
|
|
|
// Vertex AI does not use ports other than the first one listed. This field |
|
|
|
|
// corresponds to the `ports` field of the Kubernetes Containers |
|
|
|
|
// [v1 core |
|
|
|
|
// API](https://v1-18.docs.kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#container-v1-core). |
|
|
|
|
// API](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core). |
|
|
|
|
repeated Port ports = 5 [(google.api.field_behavior) = IMMUTABLE]; |
|
|
|
|
|
|
|
|
|
// Immutable. HTTP path on the container to send prediction requests to. Vertex AI |
|
|
|
|