GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Copybara import of the project: · silverdev/python-aiplatform@26dfdfe

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • google/cloud
    • aiplatform_v1beta1
      • __init__.py
      • types
        • __init__.py
        • content.py
        • endpoint.py
        • feature_online_store.py
        • machine_resources.py
        • vertex_rag_data.py
    • aiplatform_v1
      • services/migration_service
        • client.py
      • types
        • content.py
        • feature_online_store.py
  • tests/unit/gapic
    • aiplatform_v1beta1
      • test_deployment_resource_pool_service.py
      • test_endpoint_service.py
      • test_feature_online_store_admin_service.py
      • test_index_endpoint_service.py
      • test_job_service.py
      • test_model_monitoring_service.py
      • test_notebook_service.py
      • test_persistent_resource_service.py
      • test_schedule_service.py
      • test_vertex_rag_data_service.py
    • aiplatform_v1
      • test_feature_online_store_admin_service.py
      • test_migration_service.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

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

Copy file name to clipboardExpand all lines: google/cloud/aiplatform_v1/services/migration_service/client.py
+9-9Lines 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
Collapse file

‎google/cloud/aiplatform_v1/types/content.py‎

Copy file name to clipboardExpand all lines: google/cloud/aiplatform_v1/types/content.py
+5-3Lines 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
"""
Collapse file

‎google/cloud/aiplatform_v1/types/feature_online_store.py‎

Copy file name to clipboardExpand all lines: google/cloud/aiplatform_v1/types/feature_online_store.py
+10Lines 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"""
Collapse file

‎google/cloud/aiplatform_v1beta1/__init__.py‎

Copy file name to clipboardExpand all lines: google/cloud/aiplatform_v1beta1/__init__.py
+2Lines 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",
Collapse file

‎google/cloud/aiplatform_v1beta1/types/__init__.py‎

Copy file name to clipboardExpand all lines: google/cloud/aiplatform_v1beta1/types/__init__.py
+2Lines 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",
Collapse file

‎google/cloud/aiplatform_v1beta1/types/content.py‎

Copy file name to clipboardExpand all lines: google/cloud/aiplatform_v1beta1/types/content.py
+5-3Lines 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
"""
Collapse file

‎google/cloud/aiplatform_v1beta1/types/endpoint.py‎

Copy file name to clipboardExpand all lines: google/cloud/aiplatform_v1beta1/types/endpoint.py
+11Lines 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,
Collapse file

‎google/cloud/aiplatform_v1beta1/types/feature_online_store.py‎

Copy file name to clipboardExpand all lines: google/cloud/aiplatform_v1beta1/types/feature_online_store.py
+10Lines 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"""
Collapse file

‎google/cloud/aiplatform_v1beta1/types/machine_resources.py‎

Copy file name to clipboardExpand all lines: google/cloud/aiplatform_v1beta1/types/machine_resources.py
+71Lines 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 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.