Skip to content

Commit d873687

Browse files
1 parent ef5b973 commit d873687

File tree

2,957 files changed

+26
-2722210
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,957 files changed

+26
-2722210
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
@@ -243,40 +243,40 @@ def parse_annotated_dataset_path(path: str) -> Dict[str, str]:
243243
@staticmethod
244244
def dataset_path(
245245
project: str,
246-
location: str,
247246
dataset: str,
248247
) -> str:
249248
"""Returns a fully-qualified dataset string."""
250-
return "projects/{project}/locations/{location}/datasets/{dataset}".format(
249+
return "projects/{project}/datasets/{dataset}".format(
251250
project=project,
252-
location=location,
253251
dataset=dataset,
254252
)
255253

256254
@staticmethod
257255
def parse_dataset_path(path: str) -> Dict[str, str]:
258256
"""Parses a dataset path into its component segments."""
259-
m = re.match(
260-
r"^projects/(?P<project>.+?)/locations/(?P<location>.+?)/datasets/(?P<dataset>.+?)$",
261-
path,
262-
)
257+
m = re.match(r"^projects/(?P<project>.+?)/datasets/(?P<dataset>.+?)$", path)
263258
return m.groupdict() if m else {}
264259

265260
@staticmethod
266261
def dataset_path(
267262
project: str,
263+
location: str,
268264
dataset: str,
269265
) -> str:
270266
"""Returns a fully-qualified dataset string."""
271-
return "projects/{project}/datasets/{dataset}".format(
267+
return "projects/{project}/locations/{location}/datasets/{dataset}".format(
272268
project=project,
269+
location=location,
273270
dataset=dataset,
274271
)
275272

276273
@staticmethod
277274
def parse_dataset_path(path: str) -> Dict[str, str]:
278275
"""Parses a dataset path into its component segments."""
279-
m = re.match(r"^projects/(?P<project>.+?)/datasets/(?P<dataset>.+?)$", path)
276+
m = re.match(
277+
r"^projects/(?P<project>.+?)/locations/(?P<location>.+?)/datasets/(?P<dataset>.+?)$",
278+
path,
279+
)
280280
return m.groupdict() if m else {}
281281

282282
@staticmethod

google/cloud/aiplatform_v1/types/tool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ class Environment(proto.Enum):
265265
)
266266
url_context: "UrlContext" = proto.Field(
267267
proto.MESSAGE,
268-
number=8,
268+
number=10,
269269
message="UrlContext",
270270
)
271271
computer_use: ComputerUse = proto.Field(

google/cloud/aiplatform_v1beta1/types/tool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ class Environment(proto.Enum):
266266
)
267267
url_context: "UrlContext" = proto.Field(
268268
proto.MESSAGE,
269-
number=8,
269+
number=10,
270270
message="UrlContext",
271271
)
272272
computer_use: ComputerUse = proto.Field(

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)