Skip to content

Commit 157381a

Browse files
gcf-owl-bot[bot]copybara-github
authored andcommitted
Copybara import of the project:
-- a625518 by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>: feat: Add `fps` to message `VideoMetadata` feat: Add `mediaResolution` to `Part` feat: Add `responseModalities, audioTimestamp, mediaResolution` to `GenerationConfig` feat: Add `thinkingLevel` to `ThinkingConfig` feat: Add `imageOutputOptions, personGeneration, imageSize` to `ImageConfig` PiperOrigin-RevId: 863320215 Source-Link: googleapis/googleapis@8d0579f Source-Link: googleapis/googleapis-gen@a85a936 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYTg1YTkzNjExMTJmNWYxOWMyZDRhNTE1YjlhNmFjYWVjMmE3MzlmZSJ9 -- 10d4c19 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 -- 603c6b4 by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>: feat: Force-delete for RagCorpora, ignoring any external errors and ensuring deletion of the RagCorpus PiperOrigin-RevId: 864480269 Source-Link: googleapis/googleapis@85b3f45 Source-Link: googleapis/googleapis-gen@8e43678 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOGU0MzY3ODc1NDQ5NDI1NmY2ZmZlNzU2MDUzZTMyNzYxMWRlZWYxNSJ9 -- aa9ee5a 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=#6308 from googleapis:owl-bot-copy 8ac20bc PiperOrigin-RevId: 864967717
1 parent 8ec57f4 commit 157381a

20 files changed

+671
-76
lines changed

google/cloud/aiplatform_v1/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -617,6 +617,7 @@
617617
from .types.machine_resources import BatchDedicatedResources
618618
from .types.machine_resources import DedicatedResources
619619
from .types.machine_resources import DiskSpec
620+
from .types.machine_resources import LustreMount
620621
from .types.machine_resources import MachineSpec
621622
from .types.machine_resources import NfsMount
622623
from .types.machine_resources import PersistentDiskSpec
@@ -1775,6 +1776,7 @@ def _get_version(dependency_name):
17751776
"LlmUtilityServiceClient",
17761777
"LogprobsResult",
17771778
"LookupStudyRequest",
1779+
"LustreMount",
17781780
"MachineSpec",
17791781
"ManualBatchTuningParameters",
17801782
"MatchServiceClient",

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -271,40 +271,40 @@ def parse_annotated_dataset_path(path: str) -> Dict[str, str]:
271271
@staticmethod
272272
def dataset_path(
273273
project: str,
274-
location: str,
275274
dataset: str,
276275
) -> str:
277276
"""Returns a fully-qualified dataset string."""
278-
return "projects/{project}/locations/{location}/datasets/{dataset}".format(
277+
return "projects/{project}/datasets/{dataset}".format(
279278
project=project,
280-
location=location,
281279
dataset=dataset,
282280
)
283281

284282
@staticmethod
285283
def parse_dataset_path(path: str) -> Dict[str, str]:
286284
"""Parses a dataset path into its component segments."""
287-
m = re.match(
288-
r"^projects/(?P<project>.+?)/locations/(?P<location>.+?)/datasets/(?P<dataset>.+?)$",
289-
path,
290-
)
285+
m = re.match(r"^projects/(?P<project>.+?)/datasets/(?P<dataset>.+?)$", path)
291286
return m.groupdict() if m else {}
292287

293288
@staticmethod
294289
def dataset_path(
295290
project: str,
291+
location: str,
296292
dataset: str,
297293
) -> str:
298294
"""Returns a fully-qualified dataset string."""
299-
return "projects/{project}/datasets/{dataset}".format(
295+
return "projects/{project}/locations/{location}/datasets/{dataset}".format(
300296
project=project,
297+
location=location,
301298
dataset=dataset,
302299
)
303300

304301
@staticmethod
305302
def parse_dataset_path(path: str) -> Dict[str, str]:
306303
"""Parses a dataset path into its component segments."""
307-
m = re.match(r"^projects/(?P<project>.+?)/datasets/(?P<dataset>.+?)$", path)
304+
m = re.match(
305+
r"^projects/(?P<project>.+?)/locations/(?P<location>.+?)/datasets/(?P<dataset>.+?)$",
306+
path,
307+
)
308308
return m.groupdict() if m else {}
309309

310310
@staticmethod

google/cloud/aiplatform_v1/types/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -630,6 +630,7 @@
630630
BatchDedicatedResources,
631631
DedicatedResources,
632632
DiskSpec,
633+
LustreMount,
633634
MachineSpec,
634635
NfsMount,
635636
PersistentDiskSpec,
@@ -1718,6 +1719,7 @@
17181719
"BatchDedicatedResources",
17191720
"DedicatedResources",
17201721
"DiskSpec",
1722+
"LustreMount",
17211723
"MachineSpec",
17221724
"NfsMount",
17231725
"PersistentDiskSpec",

0 commit comments

Comments
 (0)