Skip to content

Commit 26dfdfe

Browse files
gcf-owl-bot[bot]copybara-github
authored andcommitted
Copybara import of the project:
-- 26df187 by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>: feat: Expose zone when creating a FeatureOnlineStore PiperOrigin-RevId: 837256132 Source-Link: googleapis/googleapis@8b6f877 Source-Link: googleapis/googleapis-gen@ab6c512 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYWI2YzUxMmE2MGYyMTVkM2ZhNjVmMDA0ZTA3MjU5M2YwYTMyZjY4NCJ9 -- 0664158 by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>: 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md -- ac65bf3 by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>: feat: A new field `min_gpu_driver_version` is added to message `.google.cloud.aiplatform.v1beta1.MachineSpec` PiperOrigin-RevId: 838969898 Source-Link: googleapis/googleapis@b9ef377 Source-Link: googleapis/googleapis-gen@b54edaa Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYjU0ZWRhYTE0YTQ3YmZkYjQ0MjI3ZDBjOTZiZDM5ZmJmNjliZDNhYiJ9 -- dd1da80 by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>: 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md -- f2ffce6 by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>: docs: update `ReplicatedVoiceConfig.mime_type` comment PiperOrigin-RevId: 839296167 Source-Link: googleapis/googleapis@5362d27 Source-Link: googleapis/googleapis-gen@d45d267 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZDQ1ZDI2NzVhOTA0YzhkNzk5MGIwNDk1NTIwZDAyNjJiODRjYmNiYSJ9 -- 3690597 by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>: 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md -- 19f6e28 by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>: docs: update `ReplicatedVoiceConfig.mime_type` comment PiperOrigin-RevId: 839364684 Source-Link: googleapis/googleapis@9ae82e1 Source-Link: googleapis/googleapis-gen@6be8986 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNmJlODk4NjY0NTlkOGFlNWViZGQ5ZGY0YjMzYTQ4ZjJlNWE2Y2ZkNCJ9 -- 9155e08 by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>: 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md -- 1ea25e8 by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>: feat: Expose FullFineTunedResources for full fine tuned deployments PiperOrigin-RevId: 839371231 Source-Link: googleapis/googleapis@c751a01 Source-Link: googleapis/googleapis-gen@fad4db4 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZmFkNGRiNDRlODZkMDQzNmEyZDdlMzBhMmM0MmUwZGE3MjViNTNiZSJ9 -- 419496c by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>: 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md -- 9065bc2 by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>: feat: Introduce RagManagedVertexVectorSearch as a new vector db option feat: add RagCorpus.satisfies_pzs and RagCorpus.satisfies_pzi docs: A comment for field `rag_files_count` in message `.google.cloud.aiplatform.v1beta1.RagCorpus` is changed docs: A comment for field `user_metadata` in message `.google.cloud.aiplatform.v1beta1.RagFile` is changed docs: A comment for field `gcs_metadata_schema_source` in message `.google.cloud.aiplatform.v1beta1.RagFileMetadataConfig` is changed docs: A comment for field `google_drive_metadata_schema_source` in message `.google.cloud.aiplatform.v1beta1.RagFileMetadataConfig` is changed docs: A comment for field `gcs_metadata_source` in message `.google.cloud.aiplatform.v1beta1.RagFileMetadataConfig` is changed docs: A comment for field `google_drive_metadata_source` in message `.google.cloud.aiplatform.v1beta1.RagFileMetadataConfig` is changed docs: A comment for message `RagManagedDbConfig` is changed docs: A comment for field `enterprise` in message `.google.cloud.aiplatform.v1beta1.RagManagedDbConfig` is changed docs: A comment for field `scaled` in message `.google.cloud.aiplatform.v1beta1.RagManagedDbConfig` is changed PiperOrigin-RevId: 839431594 Source-Link: googleapis/googleapis@2faf4a6 Source-Link: googleapis/googleapis-gen@1a53e47 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMWE1M2U0NzhiYTczMDEzYWMyZTc0MjMzZTE4ZGIyZDkwZjNhZjQ1OCJ9 -- 616d46e by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>: 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md COPYBARA_INTEGRATE_REVIEW=#6170 from googleapis:owl-bot-copy d471f76 PiperOrigin-RevId: 839911195
1 parent 95eb10f commit 26dfdfe

22 files changed

+299
-47
lines changed

google/cloud/aiplatform_v1/services/migration_service/client.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -265,40 +265,40 @@ def parse_dataset_path(path: str) -> Dict[str, str]:
265265
@staticmethod
266266
def dataset_path(
267267
project: str,
268-
location: str,
269268
dataset: str,
270269
) -> str:
271270
"""Returns a fully-qualified dataset string."""
272-
return "projects/{project}/locations/{location}/datasets/{dataset}".format(
271+
return "projects/{project}/datasets/{dataset}".format(
273272
project=project,
274-
location=location,
275273
dataset=dataset,
276274
)
277275

278276
@staticmethod
279277
def parse_dataset_path(path: str) -> Dict[str, str]:
280278
"""Parses a dataset path into its component segments."""
281-
m = re.match(
282-
r"^projects/(?P<project>.+?)/locations/(?P<location>.+?)/datasets/(?P<dataset>.+?)$",
283-
path,
284-
)
279+
m = re.match(r"^projects/(?P<project>.+?)/datasets/(?P<dataset>.+?)$", path)
285280
return m.groupdict() if m else {}
286281

287282
@staticmethod
288283
def dataset_path(
289284
project: str,
285+
location: str,
290286
dataset: str,
291287
) -> str:
292288
"""Returns a fully-qualified dataset string."""
293-
return "projects/{project}/datasets/{dataset}".format(
289+
return "projects/{project}/locations/{location}/datasets/{dataset}".format(
294290
project=project,
291+
location=location,
295292
dataset=dataset,
296293
)
297294

298295
@staticmethod
299296
def parse_dataset_path(path: str) -> Dict[str, str]:
300297
"""Parses a dataset path into its component segments."""
301-
m = re.match(r"^projects/(?P<project>.+?)/datasets/(?P<dataset>.+?)$", path)
298+
m = re.match(
299+
r"^projects/(?P<project>.+?)/locations/(?P<location>.+?)/datasets/(?P<dataset>.+?)$",
300+
path,
301+
)
302302
return m.groupdict() if m else {}
303303

304304
@staticmethod

google/cloud/aiplatform_v1/types/content.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -371,9 +371,11 @@ class ReplicatedVoiceConfig(proto.Message):
371371
372372
Attributes:
373373
mime_type (str):
374-
Optional. The mimetype of the voice sample. Currently only
375-
mime_type=audio/pcm is supported, which is raw mono 16-bit
376-
signed little-endian pcm data, with 24k sampling rate.
374+
Optional. The mimetype of the voice sample. The only
375+
currently supported value is ``audio/wav``. This represents
376+
16-bit signed little-endian wav data, with a 24kHz sampling
377+
rate. ``mime_type`` will default to ``audio/wav`` if not
378+
set.
377379
voice_sample_audio (bytes):
378380
Optional. The sample of the custom voice.
379381
"""

google/cloud/aiplatform_v1/types/feature_online_store.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,12 @@ class Bigtable(proto.Message):
146146
bigtable_metadata (google.cloud.aiplatform_v1.types.FeatureOnlineStore.Bigtable.BigtableMetadata):
147147
Output only. Metadata of the Bigtable
148148
instance. Output only.
149+
zone (str):
150+
Optional. The zone where the underlying
151+
Bigtable cluster for the primary Bigtable
152+
instance will be provisioned. Only the zone must
153+
be provided. For example, only "us-central1-a"
154+
should be provided.
149155
"""
150156

151157
class AutoScaling(proto.Message):
@@ -223,6 +229,10 @@ class BigtableMetadata(proto.Message):
223229
number=4,
224230
message="FeatureOnlineStore.Bigtable.BigtableMetadata",
225231
)
232+
zone: str = proto.Field(
233+
proto.STRING,
234+
number=5,
235+
)
226236

227237
class Optimized(proto.Message):
228238
r"""Optimized storage type"""

google/cloud/aiplatform_v1beta1/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -742,6 +742,7 @@
742742
from .types.machine_resources import DedicatedResources
743743
from .types.machine_resources import DiskSpec
744744
from .types.machine_resources import FlexStart
745+
from .types.machine_resources import FullFineTunedResources
745746
from .types.machine_resources import MachineSpec
746747
from .types.machine_resources import NfsMount
747748
from .types.machine_resources import PersistentDiskSpec
@@ -1767,6 +1768,7 @@
17671768
"FulfillmentInstance",
17681769
"FulfillmentResult",
17691770
"FulfillmentSpec",
1771+
"FullFineTunedResources",
17701772
"FunctionCall",
17711773
"FunctionCallingConfig",
17721774
"FunctionDeclaration",

google/cloud/aiplatform_v1beta1/types/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -769,6 +769,7 @@
769769
DedicatedResources,
770770
DiskSpec,
771771
FlexStart,
772+
FullFineTunedResources,
772773
MachineSpec,
773774
NfsMount,
774775
PersistentDiskSpec,
@@ -2100,6 +2101,7 @@
21002101
"DedicatedResources",
21012102
"DiskSpec",
21022103
"FlexStart",
2104+
"FullFineTunedResources",
21032105
"MachineSpec",
21042106
"NfsMount",
21052107
"PersistentDiskSpec",

google/cloud/aiplatform_v1beta1/types/content.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -371,9 +371,11 @@ class ReplicatedVoiceConfig(proto.Message):
371371
372372
Attributes:
373373
mime_type (str):
374-
Optional. The mimetype of the voice sample. Currently only
375-
mime_type=audio/pcm is supported, which is raw mono 16-bit
376-
signed little-endian pcm data, with 24k sampling rate.
374+
Optional. The mimetype of the voice sample. The only
375+
currently supported value is ``audio/wav``. This represents
376+
16-bit signed little-endian wav data, with a 24kHz sampling
377+
rate. ``mime_type`` will default to ``audio/wav`` if not
378+
set.
377379
voice_sample_audio (bytes):
378380
Optional. The sample of the custom voice.
379381
"""

google/cloud/aiplatform_v1beta1/types/endpoint.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,11 @@ class DeployedModel(proto.Message):
315315
deploy on. Format:
316316
``projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}``
317317
318+
This field is a member of `oneof`_ ``prediction_resources``.
319+
full_fine_tuned_resources (google.cloud.aiplatform_v1beta1.types.FullFineTunedResources):
320+
Optional. Resources for a full fine tuned
321+
model.
322+
318323
This field is a member of `oneof`_ ``prediction_resources``.
319324
id (str):
320325
Immutable. The ID of the DeployedModel. If not provided upon
@@ -475,6 +480,12 @@ class Status(proto.Message):
475480
number=17,
476481
oneof="prediction_resources",
477482
)
483+
full_fine_tuned_resources: machine_resources.FullFineTunedResources = proto.Field(
484+
proto.MESSAGE,
485+
number=36,
486+
oneof="prediction_resources",
487+
message=machine_resources.FullFineTunedResources,
488+
)
478489
id: str = proto.Field(
479490
proto.STRING,
480491
number=1,

google/cloud/aiplatform_v1beta1/types/feature_online_store.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,12 @@ class Bigtable(proto.Message):
151151
bigtable_metadata (google.cloud.aiplatform_v1beta1.types.FeatureOnlineStore.Bigtable.BigtableMetadata):
152152
Metadata of the Bigtable instance. Output
153153
only.
154+
zone (str):
155+
Optional. The zone where the underlying
156+
Bigtable cluster for the primary Bigtable
157+
instance will be provisioned. Only the zone must
158+
be provided. For example, only "us-central1-a"
159+
should be provided.
154160
"""
155161

156162
class AutoScaling(proto.Message):
@@ -228,6 +234,10 @@ class BigtableMetadata(proto.Message):
228234
number=4,
229235
message="FeatureOnlineStore.Bigtable.BigtableMetadata",
230236
)
237+
zone: str = proto.Field(
238+
proto.STRING,
239+
number=5,
240+
)
231241

232242
class Optimized(proto.Message):
233243
r"""Optimized storage type"""

google/cloud/aiplatform_v1beta1/types/machine_resources.py

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
"DedicatedResources",
3636
"AutomaticResources",
3737
"BatchDedicatedResources",
38+
"FullFineTunedResources",
3839
"ResourcesConsumed",
3940
"DiskSpec",
4041
"PersistentDiskSpec",
@@ -100,6 +101,12 @@ class MachineSpec(proto.Message):
100101
Optional. Immutable. Configuration
101102
controlling how this resource pool consumes
102103
reservation.
104+
min_gpu_driver_version (str):
105+
Optional. Immutable. The minimum GPU driver
106+
version that this machine requires. For example,
107+
"535.104.06". If not specified, the default GPU
108+
driver version will be used by the underlying
109+
infrastructure.
103110
"""
104111

105112
machine_type: str = proto.Field(
@@ -132,6 +139,10 @@ class MachineSpec(proto.Message):
132139
number=5,
133140
message=gca_reservation_affinity.ReservationAffinity,
134141
)
142+
min_gpu_driver_version: str = proto.Field(
143+
proto.STRING,
144+
number=9,
145+
)
135146

136147

137148
class DedicatedResources(proto.Message):
@@ -397,6 +408,66 @@ class BatchDedicatedResources(proto.Message):
397408
)
398409

399410

411+
class FullFineTunedResources(proto.Message):
412+
r"""Resources for an fft model.
413+
414+
Attributes:
415+
deployment_type (google.cloud.aiplatform_v1beta1.types.FullFineTunedResources.DeploymentType):
416+
Required. The kind of deployment.
417+
model_inference_unit_count (int):
418+
Optional. The number of model inference units to use for
419+
this deployment. This can only be specified for
420+
DEPLOYMENT_TYPE_PROD. The following table lists the number
421+
of model inference units for different model types:
422+
423+
- Gemini 2.5 Flash
424+
425+
- Foundation FMIU: 25
426+
- Expansion FMIU: 4
427+
428+
- Gemini 2.5 Pro
429+
430+
- Foundation FMIU: 32
431+
- Expansion FMIU: 16
432+
433+
- Veo 3.0 (undistilled)
434+
435+
- Foundation FMIU: 63
436+
- Expansion FMIU: 7
437+
438+
- Veo 3.0 (distilled)
439+
440+
- Foundation FMIU: 30
441+
- Expansion FMIU: 10
442+
"""
443+
444+
class DeploymentType(proto.Enum):
445+
r"""The type of deployment.
446+
447+
Values:
448+
DEPLOYMENT_TYPE_UNSPECIFIED (0):
449+
Unspecified deployment type.
450+
DEPLOYMENT_TYPE_EVAL (1):
451+
Eval deployment type.
452+
DEPLOYMENT_TYPE_PROD (2):
453+
Prod deployment type.
454+
"""
455+
456+
DEPLOYMENT_TYPE_UNSPECIFIED = 0
457+
DEPLOYMENT_TYPE_EVAL = 1
458+
DEPLOYMENT_TYPE_PROD = 2
459+
460+
deployment_type: DeploymentType = proto.Field(
461+
proto.ENUM,
462+
number=1,
463+
enum=DeploymentType,
464+
)
465+
model_inference_unit_count: int = proto.Field(
466+
proto.INT32,
467+
number=2,
468+
)
469+
470+
400471
class ResourcesConsumed(proto.Message):
401472
r"""Statistics information about resource consumption.
402473

0 commit comments

Comments
 (0)