Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 34ab1c7

Browse files
committedOct 10, 2023
feat(discoveryengine): update the api
#### discoveryengine:v1alpha The following keys were added: - schemas.GoogleCloudDiscoveryengineV1alphaSearchResponse.properties.geoSearchDebugInfo (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaSearchResponseGeoSearchDebugInfo (Total Keys: 4) - schemas.GoogleCloudDiscoveryengineV1alphaWidgetConfig.properties.resultDisplayType.type (Total Keys: 1)
1 parent b9dc85d commit 34ab1c7

4 files changed

+59
-3
lines changed
 

‎docs/dyn/discoveryengine_v1alpha.locations.html

+7
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ <h3>Method Details</h3>
170170
},
171171
&quot;llmEnabled&quot;: True or False, # Output only. Whether LLM is enabled in the corresponding data store.
172172
&quot;name&quot;: &quot;A String&quot;, # Immutable. The full resource name of the widget config. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/widgetConfigs/{widget_config_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
173+
&quot;resultDisplayType&quot;: &quot;A String&quot;, # The type of snippet to display in UCS widget. - RESULT_DISPLAY_TYPE_UNSPECIFIED for existing users. - SNIPPET for new non-enterprise search users. - EXTRACTIVE_ANSWER for new enterprise search users.
173174
&quot;solutionType&quot;: &quot;A String&quot;, # Required. Immutable. Specifies the solution type that this WidgetConfig can be used for.
174175
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Timestamp the WidgetConfig was updated.
175176
},
@@ -575,6 +576,12 @@ <h3>Method Details</h3>
575576
],
576577
},
577578
],
579+
&quot;geoSearchDebugInfo&quot;: [
580+
{ # Debug information specifically related to forward geocoding issues arising from Geolocation Search.
581+
&quot;errorMessage&quot;: &quot;A String&quot;, # The error produced.
582+
&quot;originalAddressQuery&quot;: &quot;A String&quot;, # The address from which forward geocoding ingestion produced issues.
583+
},
584+
],
578585
&quot;guidedSearchResult&quot;: { # Guided search result. The guided search helps user to refine the search results and narrow down to the real needs from a broaded search results. # Guided search result.
579586
&quot;followUpQuestions&quot;: [ # Suggested follow-up questions.
580587
&quot;A String&quot;,

‎docs/dyn/discoveryengine_v1alpha.projects.locations.collections.dataStores.servingConfigs.html

+6
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,12 @@ <h3>Method Details</h3>
373373
],
374374
},
375375
],
376+
&quot;geoSearchDebugInfo&quot;: [
377+
{ # Debug information specifically related to forward geocoding issues arising from Geolocation Search.
378+
&quot;errorMessage&quot;: &quot;A String&quot;, # The error produced.
379+
&quot;originalAddressQuery&quot;: &quot;A String&quot;, # The address from which forward geocoding ingestion produced issues.
380+
},
381+
],
376382
&quot;guidedSearchResult&quot;: { # Guided search result. The guided search helps user to refine the search results and narrow down to the real needs from a broaded search results. # Guided search result.
377383
&quot;followUpQuestions&quot;: [ # Suggested follow-up questions.
378384
&quot;A String&quot;,

‎docs/dyn/discoveryengine_v1alpha.projects.locations.dataStores.servingConfigs.html

+6
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,12 @@ <h3>Method Details</h3>
373373
],
374374
},
375375
],
376+
&quot;geoSearchDebugInfo&quot;: [
377+
{ # Debug information specifically related to forward geocoding issues arising from Geolocation Search.
378+
&quot;errorMessage&quot;: &quot;A String&quot;, # The error produced.
379+
&quot;originalAddressQuery&quot;: &quot;A String&quot;, # The address from which forward geocoding ingestion produced issues.
380+
},
381+
],
376382
&quot;guidedSearchResult&quot;: { # Guided search result. The guided search helps user to refine the search results and narrow down to the real needs from a broaded search results. # Guided search result.
377383
&quot;followUpQuestions&quot;: [ # Suggested follow-up questions.
378384
&quot;A String&quot;,

‎googleapiclient/discovery_cache/documents/discoveryengine.v1alpha.json

+40-3
Original file line numberDiff line numberDiff line change
@@ -2832,7 +2832,7 @@
28322832
}
28332833
}
28342834
},
2835-
"revision": "20230925",
2835+
"revision": "20230928",
28362836
"rootUrl": "https://discoveryengine.googleapis.com/",
28372837
"schemas": {
28382838
"GoogleApiHttpBody": {
@@ -3715,15 +3715,17 @@
37153715
"STRING",
37163716
"NUMBER",
37173717
"INTEGER",
3718-
"BOOLEAN"
3718+
"BOOLEAN",
3719+
"GEOLOCATION"
37193720
],
37203721
"enumDescriptions": [
37213722
"Field type is unspecified.",
37223723
"Field value type is Object.",
37233724
"Field value type is String.",
37243725
"Field value type is Number.",
37253726
"Field value type is Integer.",
3726-
"Field value type is Boolean."
3727+
"Field value type is Boolean.",
3728+
"Field value type is Geolocation."
37273729
],
37283730
"readOnly": true,
37293731
"type": "string"
@@ -5030,6 +5032,12 @@
50305032
},
50315033
"type": "array"
50325034
},
5035+
"geoSearchDebugInfo": {
5036+
"items": {
5037+
"$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseGeoSearchDebugInfo"
5038+
},
5039+
"type": "array"
5040+
},
50335041
"guidedSearchResult": {
50345042
"$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseGuidedSearchResult",
50355043
"description": "Guided search result."
@@ -5107,6 +5115,21 @@
51075115
},
51085116
"type": "object"
51095117
},
5118+
"GoogleCloudDiscoveryengineV1alphaSearchResponseGeoSearchDebugInfo": {
5119+
"description": "Debug information specifically related to forward geocoding issues arising from Geolocation Search.",
5120+
"id": "GoogleCloudDiscoveryengineV1alphaSearchResponseGeoSearchDebugInfo",
5121+
"properties": {
5122+
"errorMessage": {
5123+
"description": "The error produced.",
5124+
"type": "string"
5125+
},
5126+
"originalAddressQuery": {
5127+
"description": "The address from which forward geocoding ingestion produced issues.",
5128+
"type": "string"
5129+
}
5130+
},
5131+
"type": "object"
5132+
},
51105133
"GoogleCloudDiscoveryengineV1alphaSearchResponseGuidedSearchResult": {
51115134
"description": "Guided search result. The guided search helps user to refine the search results and narrow down to the real needs from a broaded search results.",
51125135
"id": "GoogleCloudDiscoveryengineV1alphaSearchResponseGuidedSearchResult",
@@ -5683,6 +5706,20 @@
56835706
"description": "Immutable. The full resource name of the widget config. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/widgetConfigs/{widget_config_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.",
56845707
"type": "string"
56855708
},
5709+
"resultDisplayType": {
5710+
"description": "The type of snippet to display in UCS widget. - RESULT_DISPLAY_TYPE_UNSPECIFIED for existing users. - SNIPPET for new non-enterprise search users. - EXTRACTIVE_ANSWER for new enterprise search users.",
5711+
"enum": [
5712+
"RESULT_DISPLAY_TYPE_UNSPECIFIED",
5713+
"SNIPPET",
5714+
"EXTRACTIVE_ANSWER"
5715+
],
5716+
"enumDescriptions": [
5717+
"Unspecified display type (default to showing snippet).",
5718+
"Display results from the snippet field.",
5719+
"Display results from extractive answers field."
5720+
],
5721+
"type": "string"
5722+
},
56865723
"solutionType": {
56875724
"description": "Required. Immutable. Specifies the solution type that this WidgetConfig can be used for.",
56885725
"enum": [

0 commit comments

Comments
 (0)
Please sign in to comment.