Skip to content

Commit e4e3acc

Browse files
feat: [google-cloud-discoveryengine] support natural language understanding in search (#12973)
- [ ] Regenerate this pull request now. BEGIN_COMMIT_OVERRIDE feat: support natural language understanding in search feat: support search as you type feature feat: allow set relevance threshold on search feat: support import and purge autocomplete data feat: populate more metadata in answer services feat: allow providing language info in data stores feat: add requirement service feat: support import data from AlloyDB feat: support add metadata for website uris docs: keep the API doc up-to-date with recent changes END_COMMIT_OVERRIDE PiperOrigin-RevId: 658428107 Source-Link: googleapis/googleapis@98e5657 Source-Link: googleapis/googleapis-gen@a579c69 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWRpc2NvdmVyeWVuZ2luZS8uT3dsQm90LnlhbWwiLCJoIjoiYTU3OWM2OTA4YWNkNjcwMWQ3ZjliYzY0YTVmMTc2YjIxNWJiYmZhYyJ9 --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 4503cd6 commit e4e3acc

78 files changed

Lines changed: 8470 additions & 1418 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

packages/google-cloud-discoveryengine/google/cloud/discoveryengine/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "0.12.0" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-discoveryengine/google/cloud/discoveryengine_v1/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "0.12.0" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-discoveryengine/google/cloud/discoveryengine_v1alpha/__init__.py

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
SolutionType,
104104
UserInfo,
105105
)
106-
from .types.completion import SuggestionDenyListEntry
106+
from .types.completion import CompletionSuggestion, SuggestionDenyListEntry
107107
from .types.completion_service import CompleteQueryRequest, CompleteQueryResponse
108108
from .types.control import Condition, Control
109109
from .types.control_service import (
@@ -141,7 +141,7 @@
141141
UpdateSessionRequest,
142142
)
143143
from .types.custom_tuning_model import CustomTuningModel
144-
from .types.data_store import DataStore
144+
from .types.data_store import DataStore, LanguageInfo
145145
from .types.data_store_service import (
146146
CreateDataStoreMetadata,
147147
CreateDataStoreRequest,
@@ -203,13 +203,17 @@
203203
)
204204
from .types.grounding import FactChunk, GroundingFact
205205
from .types.import_config import (
206+
AlloyDbSource,
206207
BigQuerySource,
207208
BigtableOptions,
208209
BigtableSource,
209210
CloudSqlSource,
210211
FhirStoreSource,
211212
FirestoreSource,
212213
GcsSource,
214+
ImportCompletionSuggestionsMetadata,
215+
ImportCompletionSuggestionsRequest,
216+
ImportCompletionSuggestionsResponse,
213217
ImportDocumentsMetadata,
214218
ImportDocumentsRequest,
215219
ImportDocumentsResponse,
@@ -233,6 +237,9 @@
233237
ReportConsentChangeRequest,
234238
)
235239
from .types.purge_config import (
240+
PurgeCompletionSuggestionsMetadata,
241+
PurgeCompletionSuggestionsRequest,
242+
PurgeCompletionSuggestionsResponse,
236243
PurgeDocumentsMetadata,
237244
PurgeDocumentsRequest,
238245
PurgeDocumentsResponse,
@@ -314,11 +321,16 @@
314321
FetchDomainVerificationStatusResponse,
315322
GetSiteSearchEngineRequest,
316323
GetTargetSiteRequest,
324+
GetUriPatternDocumentDataRequest,
325+
GetUriPatternDocumentDataResponse,
317326
ListTargetSitesRequest,
318327
ListTargetSitesResponse,
319328
RecrawlUrisMetadata,
320329
RecrawlUrisRequest,
321330
RecrawlUrisResponse,
331+
SetUriPatternDocumentDataMetadata,
332+
SetUriPatternDocumentDataRequest,
333+
SetUriPatternDocumentDataResponse,
322334
UpdateTargetSiteMetadata,
323335
UpdateTargetSiteRequest,
324336
)
@@ -359,6 +371,7 @@
359371
"UserEventServiceAsyncClient",
360372
"AclConfig",
361373
"AclConfigServiceClient",
374+
"AlloyDbSource",
362375
"Answer",
363376
"AnswerQueryRequest",
364377
"AnswerQueryResponse",
@@ -382,6 +395,7 @@
382395
"CompleteQueryResponse",
383396
"CompletionInfo",
384397
"CompletionServiceClient",
398+
"CompletionSuggestion",
385399
"Condition",
386400
"Control",
387401
"ControlServiceClient",
@@ -472,10 +486,15 @@
472486
"GetSessionRequest",
473487
"GetSiteSearchEngineRequest",
474488
"GetTargetSiteRequest",
489+
"GetUriPatternDocumentDataRequest",
490+
"GetUriPatternDocumentDataResponse",
475491
"GroundedGenerationServiceClient",
476492
"GroundingFact",
477493
"GuidedSearchSpec",
478494
"IdpConfig",
495+
"ImportCompletionSuggestionsMetadata",
496+
"ImportCompletionSuggestionsRequest",
497+
"ImportCompletionSuggestionsResponse",
479498
"ImportDocumentsMetadata",
480499
"ImportDocumentsRequest",
481500
"ImportDocumentsResponse",
@@ -491,6 +510,7 @@
491510
"ImportUserEventsResponse",
492511
"IndustryVertical",
493512
"Interval",
513+
"LanguageInfo",
494514
"ListChunksRequest",
495515
"ListChunksResponse",
496516
"ListControlsRequest",
@@ -531,6 +551,9 @@
531551
"ProjectServiceClient",
532552
"ProvisionProjectMetadata",
533553
"ProvisionProjectRequest",
554+
"PurgeCompletionSuggestionsMetadata",
555+
"PurgeCompletionSuggestionsRequest",
556+
"PurgeCompletionSuggestionsResponse",
534557
"PurgeDocumentsMetadata",
535558
"PurgeDocumentsRequest",
536559
"PurgeDocumentsResponse",
@@ -573,6 +596,9 @@
573596
"ServingConfig",
574597
"ServingConfigServiceClient",
575598
"Session",
599+
"SetUriPatternDocumentDataMetadata",
600+
"SetUriPatternDocumentDataRequest",
601+
"SetUriPatternDocumentDataResponse",
576602
"SiteSearchEngine",
577603
"SiteSearchEngineServiceClient",
578604
"SiteVerificationInfo",

packages/google-cloud-discoveryengine/google/cloud/discoveryengine_v1alpha/gapic_metadata.json

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,21 @@
113113
"complete_query"
114114
]
115115
},
116+
"ImportCompletionSuggestions": {
117+
"methods": [
118+
"import_completion_suggestions"
119+
]
120+
},
116121
"ImportSuggestionDenyListEntries": {
117122
"methods": [
118123
"import_suggestion_deny_list_entries"
119124
]
120125
},
126+
"PurgeCompletionSuggestions": {
127+
"methods": [
128+
"purge_completion_suggestions"
129+
]
130+
},
121131
"PurgeSuggestionDenyListEntries": {
122132
"methods": [
123133
"purge_suggestion_deny_list_entries"
@@ -133,11 +143,21 @@
133143
"complete_query"
134144
]
135145
},
146+
"ImportCompletionSuggestions": {
147+
"methods": [
148+
"import_completion_suggestions"
149+
]
150+
},
136151
"ImportSuggestionDenyListEntries": {
137152
"methods": [
138153
"import_suggestion_deny_list_entries"
139154
]
140155
},
156+
"PurgeCompletionSuggestions": {
157+
"methods": [
158+
"purge_completion_suggestions"
159+
]
160+
},
141161
"PurgeSuggestionDenyListEntries": {
142162
"methods": [
143163
"purge_suggestion_deny_list_entries"
@@ -153,11 +173,21 @@
153173
"complete_query"
154174
]
155175
},
176+
"ImportCompletionSuggestions": {
177+
"methods": [
178+
"import_completion_suggestions"
179+
]
180+
},
156181
"ImportSuggestionDenyListEntries": {
157182
"methods": [
158183
"import_suggestion_deny_list_entries"
159184
]
160185
},
186+
"PurgeCompletionSuggestions": {
187+
"methods": [
188+
"purge_completion_suggestions"
189+
]
190+
},
161191
"PurgeSuggestionDenyListEntries": {
162192
"methods": [
163193
"purge_suggestion_deny_list_entries"
@@ -1650,6 +1680,11 @@
16501680
"get_target_site"
16511681
]
16521682
},
1683+
"GetUriPatternDocumentData": {
1684+
"methods": [
1685+
"get_uri_pattern_document_data"
1686+
]
1687+
},
16531688
"ListTargetSites": {
16541689
"methods": [
16551690
"list_target_sites"
@@ -1660,6 +1695,11 @@
16601695
"recrawl_uris"
16611696
]
16621697
},
1698+
"SetUriPatternDocumentData": {
1699+
"methods": [
1700+
"set_uri_pattern_document_data"
1701+
]
1702+
},
16631703
"UpdateTargetSite": {
16641704
"methods": [
16651705
"update_target_site"
@@ -1715,6 +1755,11 @@
17151755
"get_target_site"
17161756
]
17171757
},
1758+
"GetUriPatternDocumentData": {
1759+
"methods": [
1760+
"get_uri_pattern_document_data"
1761+
]
1762+
},
17181763
"ListTargetSites": {
17191764
"methods": [
17201765
"list_target_sites"
@@ -1725,6 +1770,11 @@
17251770
"recrawl_uris"
17261771
]
17271772
},
1773+
"SetUriPatternDocumentData": {
1774+
"methods": [
1775+
"set_uri_pattern_document_data"
1776+
]
1777+
},
17281778
"UpdateTargetSite": {
17291779
"methods": [
17301780
"update_target_site"
@@ -1780,6 +1830,11 @@
17801830
"get_target_site"
17811831
]
17821832
},
1833+
"GetUriPatternDocumentData": {
1834+
"methods": [
1835+
"get_uri_pattern_document_data"
1836+
]
1837+
},
17831838
"ListTargetSites": {
17841839
"methods": [
17851840
"list_target_sites"
@@ -1790,6 +1845,11 @@
17901845
"recrawl_uris"
17911846
]
17921847
},
1848+
"SetUriPatternDocumentData": {
1849+
"methods": [
1850+
"set_uri_pattern_document_data"
1851+
]
1852+
},
17931853
"UpdateTargetSite": {
17941854
"methods": [
17951855
"update_target_site"

packages/google-cloud-discoveryengine/google/cloud/discoveryengine_v1alpha/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "0.12.0" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-discoveryengine/google/cloud/discoveryengine_v1alpha/services/acl_config_service/transports/rest.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -646,6 +646,10 @@ def __call__(
646646
"method": "get",
647647
"uri": "/v1alpha/{name=projects/*/locations/*/evaluations/*/operations/*}",
648648
},
649+
{
650+
"method": "get",
651+
"uri": "/v1alpha/{name=projects/*/locations/*/identity_mapping_stores/*/operations/*}",
652+
},
649653
{
650654
"method": "get",
651655
"uri": "/v1alpha/{name=projects/*/locations/*/operations/*}",
@@ -768,6 +772,10 @@ def __call__(
768772
"method": "get",
769773
"uri": "/v1alpha/{name=projects/*/locations/*/dataStores/*}/operations",
770774
},
775+
{
776+
"method": "get",
777+
"uri": "/v1alpha/{name=projects/*/locations/*/identity_mapping_stores/*}/operations",
778+
},
771779
{
772780
"method": "get",
773781
"uri": "/v1alpha/{name=projects/*/locations/*}/operations",

packages/google-cloud-discoveryengine/google/cloud/discoveryengine_v1alpha/services/chunk_service/transports/rest.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -651,6 +651,10 @@ def __call__(
651651
"method": "get",
652652
"uri": "/v1alpha/{name=projects/*/locations/*/evaluations/*/operations/*}",
653653
},
654+
{
655+
"method": "get",
656+
"uri": "/v1alpha/{name=projects/*/locations/*/identity_mapping_stores/*/operations/*}",
657+
},
654658
{
655659
"method": "get",
656660
"uri": "/v1alpha/{name=projects/*/locations/*/operations/*}",
@@ -773,6 +777,10 @@ def __call__(
773777
"method": "get",
774778
"uri": "/v1alpha/{name=projects/*/locations/*/dataStores/*}/operations",
775779
},
780+
{
781+
"method": "get",
782+
"uri": "/v1alpha/{name=projects/*/locations/*/identity_mapping_stores/*}/operations",
783+
},
776784
{
777785
"method": "get",
778786
"uri": "/v1alpha/{name=projects/*/locations/*}/operations",

0 commit comments

Comments
 (0)