Skip to content

Commit a83cb88

Browse files
1 parent 3c30eb9 commit a83cb88

File tree

2,424 files changed

+40
-1738024
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,424 files changed

+40
-1738024
lines changed

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -216,40 +216,40 @@ def parse_annotated_dataset_path(path: str) -> Dict[str, str]:
216216
@staticmethod
217217
def dataset_path(
218218
project: str,
219-
location: str,
220219
dataset: str,
221220
) -> str:
222221
"""Returns a fully-qualified dataset string."""
223-
return "projects/{project}/locations/{location}/datasets/{dataset}".format(
222+
return "projects/{project}/datasets/{dataset}".format(
224223
project=project,
225-
location=location,
226224
dataset=dataset,
227225
)
228226

229227
@staticmethod
230228
def parse_dataset_path(path: str) -> Dict[str, str]:
231229
"""Parses a dataset path into its component segments."""
232-
m = re.match(
233-
r"^projects/(?P<project>.+?)/locations/(?P<location>.+?)/datasets/(?P<dataset>.+?)$",
234-
path,
235-
)
230+
m = re.match(r"^projects/(?P<project>.+?)/datasets/(?P<dataset>.+?)$", path)
236231
return m.groupdict() if m else {}
237232

238233
@staticmethod
239234
def dataset_path(
240235
project: str,
236+
location: str,
241237
dataset: str,
242238
) -> str:
243239
"""Returns a fully-qualified dataset string."""
244-
return "projects/{project}/datasets/{dataset}".format(
240+
return "projects/{project}/locations/{location}/datasets/{dataset}".format(
245241
project=project,
242+
location=location,
246243
dataset=dataset,
247244
)
248245

249246
@staticmethod
250247
def parse_dataset_path(path: str) -> Dict[str, str]:
251248
"""Parses a dataset path into its component segments."""
252-
m = re.match(r"^projects/(?P<project>.+?)/datasets/(?P<dataset>.+?)$", path)
249+
m = re.match(
250+
r"^projects/(?P<project>.+?)/locations/(?P<location>.+?)/datasets/(?P<dataset>.+?)$",
251+
path,
252+
)
253253
return m.groupdict() if m else {}
254254

255255
@staticmethod

google/cloud/aiplatform_v1beta1/types/io.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,9 @@ class SharePointSource(proto.Message):
453453
sharepoint_site_name (str):
454454
The name of the SharePoint site to download
455455
from. This can be the site name or the site id.
456+
file_id (str):
457+
Output only. The SharePoint file id. Output
458+
only.
456459
"""
457460

458461
sharepoint_folder_path: str = proto.Field(
@@ -492,6 +495,10 @@ class SharePointSource(proto.Message):
492495
proto.STRING,
493496
number=4,
494497
)
498+
file_id: str = proto.Field(
499+
proto.STRING,
500+
number=9,
501+
)
495502

496503
share_point_sources: MutableSequence[SharePointSource] = proto.RepeatedField(
497504
proto.MESSAGE,

google/cloud/aiplatform_v1beta1/types/vertex_rag_data.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -535,6 +535,11 @@ class RagFile(proto.Message):
535535
jira_source (google.cloud.aiplatform_v1beta1.types.JiraSource):
536536
The RagFile is imported from a Jira query.
537537
538+
This field is a member of `oneof`_ ``rag_file_source``.
539+
share_point_sources (google.cloud.aiplatform_v1beta1.types.SharePointSources):
540+
The RagFile is imported from a SharePoint
541+
source.
542+
538543
This field is a member of `oneof`_ ``rag_file_source``.
539544
name (str):
540545
Output only. The resource name of the
@@ -605,6 +610,12 @@ class RagFileType(proto.Enum):
605610
oneof="rag_file_source",
606611
message=io.JiraSource,
607612
)
613+
share_point_sources: io.SharePointSources = proto.Field(
614+
proto.MESSAGE,
615+
number=14,
616+
oneof="rag_file_source",
617+
message=io.SharePointSources,
618+
)
608619
name: str = proto.Field(
609620
proto.STRING,
610621
number=1,

owl-bot-staging/v1/.coveragerc

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

owl-bot-staging/v1/.flake8

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

owl-bot-staging/v1/MANIFEST.in

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

owl-bot-staging/v1/README.rst

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

owl-bot-staging/v1/docs/_static/custom.css

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

owl-bot-staging/v1/docs/aiplatform_v1/dataset_service.rst

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

owl-bot-staging/v1/docs/aiplatform_v1/deployment_resource_pool_service.rst

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

0 commit comments

Comments
 (0)