Skip to content

Commit 1a3e7f2

Browse files
authored
fix: Add genappbuilder to CODEOWNERS (GoogleCloudPlatform#9866)
- Restructure directory to match other client libraries. - API name is `discoveryengine` but the region tag is `genappbuilder` and the product name is Generative AI App Builder. - Java Repo requested I use the API name for the directories. - https://togithub.com/GoogleCloudPlatform/java-docs-samples/pull/7827
1 parent b533058 commit 1a3e7f2

16 files changed

+11
-9
lines changed

.github/CODEOWNERS

+1
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
/dataproc/**/* @GoogleCloudPlatform/dee-data-ai @GoogleCloudPlatform/python-samples-reviewers
5858
/dialogflow/**/* @GoogleCloudPlatform/dee-data-ai @GoogleCloudPlatform/python-samples-reviewers
5959
/dialogflow-cx/**/* @GoogleCloudPlatform/dee-data-ai @GoogleCloudPlatform/python-samples-reviewers
60+
/discoveryengine/**/* @GoogleCloudPlatform/dee-data-ai @GoogleCloudPlatform/python-samples-reviewers
6061
/documentai/**/* @GoogleCloudPlatform/dee-data-ai @GoogleCloudPlatform/python-samples-reviewers
6162
/enterpriseknowledgegraph/**/* @GoogleCloudPlatform/dee-data-ai @GoogleCloudPlatform/python-samples-reviewers
6263
/jobs/**/* @GoogleCloudPlatform/dee-data-ai @GoogleCloudPlatform/python-samples-reviewers

.github/auto-label.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ path:
3838
dataproc: "dataproc"
3939
datastore: "datastore"
4040
dialogflow: "dialogflow"
41+
discoveryengine: "discoveryengine"
4142
dlp: "dlp"
4243
dns: "dns"
4344
documentai: "documentai"

.github/blunderbuss.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ assign_prs_by:
197197
- "api: dataproc"
198198
- "api: dialogflow"
199199
- "api: enterpriseknowledgegraph"
200+
- "api: discoveryengine"
200201
- "api: language"
201202
- "api: ml"
202203
- "api: notebooks"
@@ -298,4 +299,3 @@ assign_prs:
298299
###
299300
# Updates should be made to both assign_issues_by & assign_prs_by sections
300301
###
301-
File renamed without changes.

genappbuilder/documents_sample_test.py renamed to discoveryengine/documents_sample_test.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515

1616
import os
1717

18-
from genappbuilder import import_documents_sample
19-
from genappbuilder import list_documents_sample
18+
from discoveryengine import import_documents_sample
19+
from discoveryengine import list_documents_sample
2020

2121
project_id = os.environ["GOOGLE_CLOUD_PROJECT"]
2222
location = "global"

genappbuilder/operations_sample_test.py renamed to discoveryengine/operations_sample_test.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515

1616
import os
1717

18-
from genappbuilder import get_operation_sample
19-
from genappbuilder import list_operations_sample
20-
from genappbuilder import poll_operation_sample
18+
from discoveryengine import get_operation_sample
19+
from discoveryengine import list_operations_sample
20+
from discoveryengine import poll_operation_sample
2121

2222
from google.api_core.exceptions import NotFound
2323

discoveryengine/requirements.txt

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
google-cloud-discoveryengine==0.6.0
2+
google-api-core==2.11.0
File renamed without changes.

genappbuilder/search_sample_test.py renamed to discoveryengine/search_sample_test.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
import os
1717

18-
from genappbuilder import search_sample
18+
from discoveryengine import search_sample
1919

2020
project_id = os.environ["GOOGLE_CLOUD_PROJECT"]
2121
location = "global"

genappbuilder/requirements.txt

-2
This file was deleted.

0 commit comments

Comments
 (0)