Skip to content

Commit 00f5023

Browse files
Google APIscopybara-github
authored andcommitted
feat: add option EndpointUserId and ModelUserId fields
feat: migrate dedicated endpoint to be enabled by default docs: A comment for field `dedicated_endpoint_enabled` in message `.google.cloud.aiplatform.v1beta1.DeployRequest` is changed PiperOrigin-RevId: 794762651
1 parent 8fe8f9f commit 00f5023

File tree

1 file changed

+49
-5
lines changed

1 file changed

+49
-5
lines changed

google/cloud/aiplatform/v1beta1/model_garden_service.proto

Lines changed: 49 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,15 @@ message DeployRequest {
255255
// deploying. If not set, the default container spec will be used.
256256
ModelContainerSpec container_spec = 5
257257
[(google.api.field_behavior) = OPTIONAL];
258+
259+
// Optional. The ID to use for the uploaded Model, which will become the
260+
// final component of the model resource name. When not provided, Vertex AI
261+
// will generate a value for this ID. When Model Registry model is provided,
262+
// this field will be ignored.
263+
//
264+
// This value may be up to 63 characters, and valid characters are
265+
// `[a-z0-9_-]`. The first character cannot be a number or hyphen.
266+
string model_user_id = 6 [(google.api.field_behavior) = OPTIONAL];
258267
}
259268

260269
// The endpoint config to use for the deployment.
@@ -263,14 +272,49 @@ message DeployRequest {
263272
// default name will be used.
264273
string endpoint_display_name = 1 [(google.api.field_behavior) = OPTIONAL];
265274

266-
// Optional. If true, the endpoint will be exposed through a dedicated
267-
// DNS [Endpoint.dedicated_endpoint_dns]. Your request to the dedicated DNS
268-
// will be isolated from other users' traffic and will have better
269-
// performance and reliability. Note: Once you enabled dedicated endpoint,
270-
// you won't be able to send request to the shared DNS
275+
// Optional. Deprecated. Use dedicated_endpoint_disabled instead.
276+
// If true, the endpoint will be exposed through a
277+
// dedicated DNS [Endpoint.dedicated_endpoint_dns]. Your request to the
278+
// dedicated DNS will be isolated from other users' traffic and will have
279+
// better performance and reliability. Note: Once you enabled dedicated
280+
// endpoint, you won't be able to send request to the shared DNS
271281
// {region}-aiplatform.googleapis.com. The limitations will be removed soon.
272282
bool dedicated_endpoint_enabled = 2
283+
[deprecated = true, (google.api.field_behavior) = OPTIONAL];
284+
285+
// Optional. By default, if dedicated endpoint is enabled, the endpoint will
286+
// be exposed through a dedicated DNS [Endpoint.dedicated_endpoint_dns].
287+
// Your request to the dedicated DNS will be isolated from other users'
288+
// traffic and will have better performance and reliability. Note: Once you
289+
// enabled dedicated endpoint, you won't be able to send request to the
290+
// shared DNS {region}-aiplatform.googleapis.com. The limitations will be
291+
// removed soon.
292+
//
293+
// If this field is set to true, the dedicated endpoint will be disabled
294+
// and the deployed model will be exposed through the shared DNS
295+
// {region}-aiplatform.googleapis.com.
296+
bool dedicated_endpoint_disabled = 4
273297
[(google.api.field_behavior) = OPTIONAL];
298+
299+
// Optional. Immutable. The ID to use for endpoint, which will become the
300+
// final component of the endpoint resource name. If not provided, Vertex AI
301+
// will generate a value for this ID.
302+
//
303+
// If the first character is a letter, this value may be up to 63
304+
// characters, and valid characters are `[a-z0-9-]`. The last character must
305+
// be a letter or number.
306+
//
307+
// If the first character is a number, this value may be up to 9 characters,
308+
// and valid characters are `[0-9]` with no leading zeros.
309+
//
310+
// When using HTTP/JSON, this field is populated
311+
// based on a query string argument, such as `?endpoint_id=12345`. This is
312+
// the fallback for fields that are not included in either the URI or the
313+
// body.
314+
string endpoint_user_id = 3 [
315+
(google.api.field_behavior) = IMMUTABLE,
316+
(google.api.field_behavior) = OPTIONAL
317+
];
274318
}
275319

276320
// The deploy config to use for the deployment.

0 commit comments

Comments
 (0)