Skip to content

Commit 9211ec2

Browse files
Merge branch 'vais-gg' of https://github.com/GoogleCloudPlatform/python-docs-samples into vais-gg
2 parents 70fece9 + aa426ca commit 9211ec2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

discoveryengine/site_search_engine_sample.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ def create_target_site(
2929
# project_id = "YOUR_PROJECT_ID"
3030
# location = "YOUR_LOCATION" # Values: "global"
3131
# data_store_id = "YOUR_DATA_STORE_ID"
32-
# uri_pattern = "https://cloud.google.com/generative-ai-app-builder/docs/*"
32+
# NOTE: Do not include http or https protocol in the URI pattern
33+
# uri_pattern = "cloud.google.com/generative-ai-app-builder/docs/*"
3334

3435
# For more information, refer to:
3536
# https://cloud.google.com/generative-ai-app-builder/docs/locations#specify_a_multi-region_for_your_data_store

discoveryengine/site_search_engine_sample_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def test_create_target_site():
2828
project_id,
2929
location,
3030
data_store_id,
31-
uri_pattern="https://cloud.google.com/generative-ai-app-builder/docs/*",
31+
uri_pattern="cloud.google.com/generative-ai-app-builder/docs/*",
3232
)
3333
assert response, response
3434
match = re.search(r"\/targetSites\/([^\/]+)", response.name)

0 commit comments

Comments
 (0)