Skip to content

Commit 4f8c212

Browse files
gcf-owl-bot[bot]jaycee-li
authored andcommitted
1 parent fb42326 commit 4f8c212

File tree

2,926 files changed

+57
-2696753
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,926 files changed

+57
-2696753
lines changed

google/cloud/aiplatform_v1beta1/types/model_garden_service.py

Lines changed: 55 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,16 @@ class ModelConfig(proto.Message):
321321
Optional. The specification of the container
322322
that is to be used when deploying. If not set,
323323
the default container spec will be used.
324+
model_user_id (str):
325+
Optional. The ID to use for the uploaded Model, which will
326+
become the final component of the model resource name. When
327+
not provided, Vertex AI will generate a value for this ID.
328+
When Model Registry model is provided, this field will be
329+
ignored.
330+
331+
This value may be up to 63 characters, and valid characters
332+
are ``[a-z0-9_-]``. The first character cannot be a number
333+
or hyphen.
324334
"""
325335

326336
accept_eula: bool = proto.Field(
@@ -344,6 +354,10 @@ class ModelConfig(proto.Message):
344354
number=5,
345355
message=gca_model.ModelContainerSpec,
346356
)
357+
model_user_id: str = proto.Field(
358+
proto.STRING,
359+
number=6,
360+
)
347361

348362
class EndpointConfig(proto.Message):
349363
r"""The endpoint config to use for the deployment.
@@ -354,14 +368,46 @@ class EndpointConfig(proto.Message):
354368
the endpoint. If not set, a default name will be
355369
used.
356370
dedicated_endpoint_enabled (bool):
357-
Optional. If true, the endpoint will be exposed through a
371+
Optional. Deprecated. Use dedicated_endpoint_disabled
372+
instead. If true, the endpoint will be exposed through a
358373
dedicated DNS [Endpoint.dedicated_endpoint_dns]. Your
359374
request to the dedicated DNS will be isolated from other
360375
users' traffic and will have better performance and
361376
reliability. Note: Once you enabled dedicated endpoint, you
362377
won't be able to send request to the shared DNS
363378
{region}-aiplatform.googleapis.com. The limitations will be
364379
removed soon.
380+
dedicated_endpoint_disabled (bool):
381+
Optional. By default, if dedicated endpoint is enabled, the
382+
endpoint will be exposed through a dedicated DNS
383+
[Endpoint.dedicated_endpoint_dns]. Your request to the
384+
dedicated DNS will be isolated from other users' traffic and
385+
will have better performance and reliability. Note: Once you
386+
enabled dedicated endpoint, you won't be able to send
387+
request to the shared DNS
388+
{region}-aiplatform.googleapis.com. The limitations will be
389+
removed soon.
390+
391+
If this field is set to true, the dedicated endpoint will be
392+
disabled and the deployed model will be exposed through the
393+
shared DNS {region}-aiplatform.googleapis.com.
394+
endpoint_user_id (str):
395+
Optional. Immutable. The ID to use for endpoint, which will
396+
become the final component of the endpoint resource name. If
397+
not provided, Vertex AI will generate a value for this ID.
398+
399+
If the first character is a letter, this value may be up to
400+
63 characters, and valid characters are ``[a-z0-9-]``. The
401+
last character must be a letter or number.
402+
403+
If the first character is a number, this value may be up to
404+
9 characters, and valid characters are ``[0-9]`` with no
405+
leading zeros.
406+
407+
When using HTTP/JSON, this field is populated based on a
408+
query string argument, such as ``?endpoint_id=12345``. This
409+
is the fallback for fields that are not included in either
410+
the URI or the body.
365411
"""
366412

367413
endpoint_display_name: str = proto.Field(
@@ -372,6 +418,14 @@ class EndpointConfig(proto.Message):
372418
proto.BOOL,
373419
number=2,
374420
)
421+
dedicated_endpoint_disabled: bool = proto.Field(
422+
proto.BOOL,
423+
number=4,
424+
)
425+
endpoint_user_id: str = proto.Field(
426+
proto.STRING,
427+
number=3,
428+
)
375429

376430
class DeployConfig(proto.Message):
377431
r"""The deploy config to use for the deployment.

owl-bot-staging/v1/.coveragerc

Lines changed: 0 additions & 13 deletions
This file was deleted.

owl-bot-staging/v1/.flake8

Lines changed: 0 additions & 34 deletions
This file was deleted.

owl-bot-staging/v1/LICENSE

Lines changed: 0 additions & 202 deletions
This file was deleted.

owl-bot-staging/v1/MANIFEST.in

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)