@@ -25,10 +25,13 @@ import "google/cloud/aiplatform/v1beta1/model_deployment_monitoring_job.proto";
25
25
import "google/protobuf/timestamp.proto" ;
26
26
import "google/api/annotations.proto" ;
27
27
28
+ option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1" ;
28
29
option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform" ;
29
30
option java_multiple_files = true ;
30
31
option java_outer_classname = "EndpointProto" ;
31
32
option java_package = "com.google.cloud.aiplatform.v1beta1" ;
33
+ option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1" ;
34
+ option ruby_package = "Google::Cloud::AIPlatform::V1beta1" ;
32
35
33
36
// Models are deployed into it, and afterwards Endpoint is called to obtain
34
37
// predictions and explanations.
@@ -87,6 +90,21 @@ message Endpoint {
87
90
// Endpoint and all sub-resources of this Endpoint will be secured by
88
91
// this key.
89
92
EncryptionSpec encryption_spec = 10 ;
93
+
94
+ // The full name of the Google Compute Engine
95
+ // [network](/compute/docs/networks-and-firewalls#networks) to which the
96
+ // Endpoint should be peered.
97
+ //
98
+ // Private services access must already be configured for the network. If left
99
+ // unspecified, the Endpoint is not peered with any network.
100
+ //
101
+ // [Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/insert):
102
+ // projects/{project}/global/networks/{network}.
103
+ // Where {project} is a project number, as in '12345', and {network} is
104
+ // network name.
105
+ string network = 13 [(google.api.resource_reference ) = {
106
+ type : "compute.googleapis.com/Network"
107
+ }];
90
108
}
91
109
92
110
// A deployment of a Model. Endpoints contain one or more DeployedModels.
@@ -158,4 +176,22 @@ message DeployedModel {
158
176
// receives prediction requests at a high queries per second rate (QPS).
159
177
// Estimate your costs before enabling this option.
160
178
bool enable_access_logging = 13 ;
179
+
180
+ // Output only. Provide paths for users to send predict/explain/health requests directly to
181
+ // the deployed model services running on Cloud via private services access.
182
+ // This field is populated if [network][google.cloud.aiplatform.v1beta1.Endpoint.network] is configured.
183
+ PrivateEndpoints private_endpoints = 14 [(google.api.field_behavior ) = OUTPUT_ONLY ];
184
+ }
185
+
186
+ // PrivateEndpoints is used to provide paths for users to send
187
+ // requests via private services access.
188
+ message PrivateEndpoints {
189
+ // Output only. Http(s) path to send prediction requests.
190
+ string predict_http_uri = 1 [(google.api.field_behavior ) = OUTPUT_ONLY ];
191
+
192
+ // Output only. Http(s) path to send explain requests.
193
+ string explain_http_uri = 2 [(google.api.field_behavior ) = OUTPUT_ONLY ];
194
+
195
+ // Output only. Http(s) path to send health check requests.
196
+ string health_http_uri = 3 [(google.api.field_behavior ) = OUTPUT_ONLY ];
161
197
}
0 commit comments