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 87a2feb

Browse files
committedMar 4, 2025
feat(discoveryengine): update the api
#### discoveryengine:v1 The following keys were added: - schemas.GoogleCloudDiscoveryengineLoggingConnectorRunErrorContext (Total Keys: 11) - schemas.GoogleCloudDiscoveryengineLoggingErrorLog.properties.connectorRunPayload.$ref (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1DoubleList (Total Keys: 5) - schemas.GoogleCloudDiscoveryengineV1EngineChatEngineConfig.properties.allowCrossRegion.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1SearchRequest.properties.relevanceScoreSpec.$ref (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1SearchRequest.properties.relevanceThreshold.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1SearchRequestRelevanceScoreSpec (Total Keys: 3) - schemas.GoogleCloudDiscoveryengineV1SearchResponseSearchResult.properties.modelScores (Total Keys: 3) - schemas.GoogleCloudDiscoveryengineV1alphaBAPConfig (Total Keys: 4) - schemas.GoogleCloudDiscoveryengineV1alphaDataConnector.properties.bapConfig.$ref (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig.properties.allowCrossRegion.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaSearchRequest.properties.relevanceScoreSpec.$ref (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec (Total Keys: 3) - schemas.GoogleCloudDiscoveryengineV1betaEngineChatEngineConfig.properties.allowCrossRegion.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1betaSearchRequest.properties.relevanceScoreSpec.$ref (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec (Total Keys: 3) #### discoveryengine:v1alpha The following keys were added: - schemas.GoogleCloudDiscoveryengineLoggingConnectorRunErrorContext (Total Keys: 11) - schemas.GoogleCloudDiscoveryengineLoggingErrorLog.properties.connectorRunPayload.$ref (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1EngineChatEngineConfig.properties.allowCrossRegion.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponseContentSuggestion.properties.destinationUri.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponseContentSuggestion.properties.iconUri.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponseContentSuggestion.properties.score (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponsePersonSuggestion.properties.destinationUri.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponsePersonSuggestion.properties.displayPhotoUri.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponsePersonSuggestion.properties.score (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponseQuerySuggestion.properties.score (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponseRecentSearchSuggestion.properties.score (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaBAPConfig (Total Keys: 4) - schemas.GoogleCloudDiscoveryengineV1alphaDataConnector.properties.bapConfig.$ref (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig.properties.allowCrossRegion.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaSearchRequest.properties.relevanceScoreSpec.$ref (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec (Total Keys: 3) - schemas.GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResult.properties.modelScores.readOnly (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaWidgetConfig.properties.customerProvidedConfig (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaWidgetConfigCustomerProvidedConfig (Total Keys: 3) - schemas.GoogleCloudDiscoveryengineV1betaEngineChatEngineConfig.properties.allowCrossRegion.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1betaSearchRequest.properties.relevanceScoreSpec.$ref (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec (Total Keys: 3) #### discoveryengine:v1beta The following keys were added: - schemas.GoogleCloudDiscoveryengineLoggingConnectorRunErrorContext (Total Keys: 11) - schemas.GoogleCloudDiscoveryengineLoggingErrorLog.properties.connectorRunPayload.$ref (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1EngineChatEngineConfig.properties.allowCrossRegion.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaBAPConfig (Total Keys: 4) - schemas.GoogleCloudDiscoveryengineV1alphaDataConnector.properties.bapConfig.$ref (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig.properties.allowCrossRegion.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaSearchRequest.properties.relevanceScoreSpec.$ref (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec (Total Keys: 3) - schemas.GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponseContentSuggestion.properties.destinationUri.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponseContentSuggestion.properties.iconUri.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponseContentSuggestion.properties.score (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponsePersonSuggestion.properties.destinationUri.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponsePersonSuggestion.properties.displayPhotoUri.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponsePersonSuggestion.properties.score (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponseQuerySuggestion.properties.score (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponseRecentSearchSuggestion.properties.score (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1betaEngineChatEngineConfig.properties.allowCrossRegion.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1betaSearchRequest.properties.relevanceScoreSpec.$ref (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec (Total Keys: 3) - schemas.GoogleCloudDiscoveryengineV1betaSearchResponseSearchResult.properties.modelScores.readOnly (Total Keys: 1)
1 parent 6e3495d commit 87a2feb

File tree

37 files changed

+805
-66
lines changed

37 files changed

+805
-66
lines changed
 

‎docs/dyn/discoveryengine_v1.projects.locations.collections.dataStores.conversations.html

+7
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,13 @@ <h3>Method Details</h3>
417417
},
418418
},
419419
&quot;id&quot;: &quot;A String&quot;, # Document.id of the searched Document.
420+
&quot;modelScores&quot;: { # Output only. Google provided available scores.
421+
&quot;a_key&quot;: { # Double list.
422+
&quot;values&quot;: [ # Double values.
423+
3.14,
424+
],
425+
},
426+
},
420427
},
421428
],
422429
}</pre>

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

+22
Original file line numberDiff line numberDiff line change
@@ -1092,6 +1092,10 @@ <h3>Method Details</h3>
10921092
&quot;condition&quot;: &quot;A String&quot;, # The condition under which query expansion should occur. Default to Condition.DISABLED.
10931093
&quot;pinUnexpandedResults&quot;: True or False, # Whether to pin unexpanded results. If this field is set to true, unexpanded products are always at the top of the search results, followed by the expanded results.
10941094
},
1095+
&quot;relevanceScoreSpec&quot;: { # The specification for returning the document relevance score. # Optional. The specification for returning the relevance score.
1096+
&quot;returnRelevanceScore&quot;: True or False, # Optional. Whether to return the relevance score for search results. The higher the score, the more relevant the document is to the query.
1097+
},
1098+
&quot;relevanceThreshold&quot;: &quot;A String&quot;, # The relevance threshold of the search results. Default to Google defined threshold, leveraging a balance of precision and recall to deliver both highly accurate results and comprehensive coverage of relevant information. This feature is not supported for healthcare search.
10951099
&quot;safeSearch&quot;: True or False, # Whether to turn on safe search. This is only supported for website search.
10961100
&quot;searchAsYouTypeSpec&quot;: { # Specification for search as you type in search requests. # Search as you type configuration. Only supported for the IndustryVertical.MEDIA vertical.
10971101
&quot;condition&quot;: &quot;A String&quot;, # The condition under which search as you type should occur. Default to Condition.DISABLED.
@@ -1214,6 +1218,13 @@ <h3>Method Details</h3>
12141218
},
12151219
},
12161220
&quot;id&quot;: &quot;A String&quot;, # Document.id of the searched Document.
1221+
&quot;modelScores&quot;: { # Output only. Google provided available scores.
1222+
&quot;a_key&quot;: { # Double list.
1223+
&quot;values&quot;: [ # Double values.
1224+
3.14,
1225+
],
1226+
},
1227+
},
12171228
},
12181229
],
12191230
&quot;searchLinkPromotions&quot;: [ # Promotions for site search.
@@ -1416,6 +1427,10 @@ <h3>Method Details</h3>
14161427
&quot;condition&quot;: &quot;A String&quot;, # The condition under which query expansion should occur. Default to Condition.DISABLED.
14171428
&quot;pinUnexpandedResults&quot;: True or False, # Whether to pin unexpanded results. If this field is set to true, unexpanded products are always at the top of the search results, followed by the expanded results.
14181429
},
1430+
&quot;relevanceScoreSpec&quot;: { # The specification for returning the document relevance score. # Optional. The specification for returning the relevance score.
1431+
&quot;returnRelevanceScore&quot;: True or False, # Optional. Whether to return the relevance score for search results. The higher the score, the more relevant the document is to the query.
1432+
},
1433+
&quot;relevanceThreshold&quot;: &quot;A String&quot;, # The relevance threshold of the search results. Default to Google defined threshold, leveraging a balance of precision and recall to deliver both highly accurate results and comprehensive coverage of relevant information. This feature is not supported for healthcare search.
14191434
&quot;safeSearch&quot;: True or False, # Whether to turn on safe search. This is only supported for website search.
14201435
&quot;searchAsYouTypeSpec&quot;: { # Specification for search as you type in search requests. # Search as you type configuration. Only supported for the IndustryVertical.MEDIA vertical.
14211436
&quot;condition&quot;: &quot;A String&quot;, # The condition under which search as you type should occur. Default to Condition.DISABLED.
@@ -1538,6 +1553,13 @@ <h3>Method Details</h3>
15381553
},
15391554
},
15401555
&quot;id&quot;: &quot;A String&quot;, # Document.id of the searched Document.
1556+
&quot;modelScores&quot;: { # Output only. Google provided available scores.
1557+
&quot;a_key&quot;: { # Double list.
1558+
&quot;values&quot;: [ # Double values.
1559+
3.14,
1560+
],
1561+
},
1562+
},
15411563
},
15421564
],
15431565
&quot;searchLinkPromotions&quot;: [ # Promotions for site search.

‎docs/dyn/discoveryengine_v1.projects.locations.collections.engines.conversations.html

+7
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,13 @@ <h3>Method Details</h3>
417417
},
418418
},
419419
&quot;id&quot;: &quot;A String&quot;, # Document.id of the searched Document.
420+
&quot;modelScores&quot;: { # Output only. Google provided available scores.
421+
&quot;a_key&quot;: { # Double list.
422+
&quot;values&quot;: [ # Double values.
423+
3.14,
424+
],
425+
},
426+
},
420427
},
421428
],
422429
}</pre>

‎docs/dyn/discoveryengine_v1.projects.locations.collections.engines.html

+5
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ <h3>Method Details</h3>
143143
&quot;location&quot;: &quot;A String&quot;, # Agent location for Agent creation, supported values: global/us/eu. If not provided, us Engine will create Agent using us-central-1 by default; eu Engine will create Agent using eu-west-1 by default.
144144
&quot;timeZone&quot;: &quot;A String&quot;, # Required. The time zone of the agent from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York, Europe/Paris.
145145
},
146+
&quot;allowCrossRegion&quot;: True or False, # Optional. If the flag set to true, we allow the agent and engine are in different locations, otherwise the agent and engine are required to be in the same location. The flag is set to false by default. Note that the `allow_cross_region` are one-time consumed by and passed to EngineService.CreateEngine. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation.
146147
&quot;dialogflowAgentToLink&quot;: &quot;A String&quot;, # The resource name of an exist Dialogflow agent to link to this Chat Engine. Customers can either provide `agent_creation_config` to create agent or provide an agent name that links the agent with the Chat engine. Format: `projects//locations//agents/`. Note that the `dialogflow_agent_to_link` are one-time consumed by and passed to Dialogflow service. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation. Use ChatEngineMetadata.dialogflow_agent for actual agent association after Engine is created.
147148
},
148149
&quot;chatEngineMetadata&quot;: { # Additional information of a Chat Engine. Fields in this message are output only. # Output only. Additional information of the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT.
@@ -256,6 +257,7 @@ <h3>Method Details</h3>
256257
&quot;location&quot;: &quot;A String&quot;, # Agent location for Agent creation, supported values: global/us/eu. If not provided, us Engine will create Agent using us-central-1 by default; eu Engine will create Agent using eu-west-1 by default.
257258
&quot;timeZone&quot;: &quot;A String&quot;, # Required. The time zone of the agent from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York, Europe/Paris.
258259
},
260+
&quot;allowCrossRegion&quot;: True or False, # Optional. If the flag set to true, we allow the agent and engine are in different locations, otherwise the agent and engine are required to be in the same location. The flag is set to false by default. Note that the `allow_cross_region` are one-time consumed by and passed to EngineService.CreateEngine. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation.
259261
&quot;dialogflowAgentToLink&quot;: &quot;A String&quot;, # The resource name of an exist Dialogflow agent to link to this Chat Engine. Customers can either provide `agent_creation_config` to create agent or provide an agent name that links the agent with the Chat engine. Format: `projects//locations//agents/`. Note that the `dialogflow_agent_to_link` are one-time consumed by and passed to Dialogflow service. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation. Use ChatEngineMetadata.dialogflow_agent for actual agent association after Engine is created.
260262
},
261263
&quot;chatEngineMetadata&quot;: { # Additional information of a Chat Engine. Fields in this message are output only. # Output only. Additional information of the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT.
@@ -310,6 +312,7 @@ <h3>Method Details</h3>
310312
&quot;location&quot;: &quot;A String&quot;, # Agent location for Agent creation, supported values: global/us/eu. If not provided, us Engine will create Agent using us-central-1 by default; eu Engine will create Agent using eu-west-1 by default.
311313
&quot;timeZone&quot;: &quot;A String&quot;, # Required. The time zone of the agent from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York, Europe/Paris.
312314
},
315+
&quot;allowCrossRegion&quot;: True or False, # Optional. If the flag set to true, we allow the agent and engine are in different locations, otherwise the agent and engine are required to be in the same location. The flag is set to false by default. Note that the `allow_cross_region` are one-time consumed by and passed to EngineService.CreateEngine. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation.
313316
&quot;dialogflowAgentToLink&quot;: &quot;A String&quot;, # The resource name of an exist Dialogflow agent to link to this Chat Engine. Customers can either provide `agent_creation_config` to create agent or provide an agent name that links the agent with the Chat engine. Format: `projects//locations//agents/`. Note that the `dialogflow_agent_to_link` are one-time consumed by and passed to Dialogflow service. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation. Use ChatEngineMetadata.dialogflow_agent for actual agent association after Engine is created.
314317
},
315318
&quot;chatEngineMetadata&quot;: { # Additional information of a Chat Engine. Fields in this message are output only. # Output only. Additional information of the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT.
@@ -371,6 +374,7 @@ <h3>Method Details</h3>
371374
&quot;location&quot;: &quot;A String&quot;, # Agent location for Agent creation, supported values: global/us/eu. If not provided, us Engine will create Agent using us-central-1 by default; eu Engine will create Agent using eu-west-1 by default.
372375
&quot;timeZone&quot;: &quot;A String&quot;, # Required. The time zone of the agent from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York, Europe/Paris.
373376
},
377+
&quot;allowCrossRegion&quot;: True or False, # Optional. If the flag set to true, we allow the agent and engine are in different locations, otherwise the agent and engine are required to be in the same location. The flag is set to false by default. Note that the `allow_cross_region` are one-time consumed by and passed to EngineService.CreateEngine. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation.
374378
&quot;dialogflowAgentToLink&quot;: &quot;A String&quot;, # The resource name of an exist Dialogflow agent to link to this Chat Engine. Customers can either provide `agent_creation_config` to create agent or provide an agent name that links the agent with the Chat engine. Format: `projects//locations//agents/`. Note that the `dialogflow_agent_to_link` are one-time consumed by and passed to Dialogflow service. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation. Use ChatEngineMetadata.dialogflow_agent for actual agent association after Engine is created.
375379
},
376380
&quot;chatEngineMetadata&quot;: { # Additional information of a Chat Engine. Fields in this message are output only. # Output only. Additional information of the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT.
@@ -414,6 +418,7 @@ <h3>Method Details</h3>
414418
&quot;location&quot;: &quot;A String&quot;, # Agent location for Agent creation, supported values: global/us/eu. If not provided, us Engine will create Agent using us-central-1 by default; eu Engine will create Agent using eu-west-1 by default.
415419
&quot;timeZone&quot;: &quot;A String&quot;, # Required. The time zone of the agent from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York, Europe/Paris.
416420
},
421+
&quot;allowCrossRegion&quot;: True or False, # Optional. If the flag set to true, we allow the agent and engine are in different locations, otherwise the agent and engine are required to be in the same location. The flag is set to false by default. Note that the `allow_cross_region` are one-time consumed by and passed to EngineService.CreateEngine. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation.
417422
&quot;dialogflowAgentToLink&quot;: &quot;A String&quot;, # The resource name of an exist Dialogflow agent to link to this Chat Engine. Customers can either provide `agent_creation_config` to create agent or provide an agent name that links the agent with the Chat engine. Format: `projects//locations//agents/`. Note that the `dialogflow_agent_to_link` are one-time consumed by and passed to Dialogflow service. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation. Use ChatEngineMetadata.dialogflow_agent for actual agent association after Engine is created.
418423
},
419424
&quot;chatEngineMetadata&quot;: { # Additional information of a Chat Engine. Fields in this message are output only. # Output only. Additional information of the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT.

‎docs/dyn/discoveryengine_v1.projects.locations.collections.engines.servingConfigs.html

+22
Original file line numberDiff line numberDiff line change
@@ -1092,6 +1092,10 @@ <h3>Method Details</h3>
10921092
&quot;condition&quot;: &quot;A String&quot;, # The condition under which query expansion should occur. Default to Condition.DISABLED.
10931093
&quot;pinUnexpandedResults&quot;: True or False, # Whether to pin unexpanded results. If this field is set to true, unexpanded products are always at the top of the search results, followed by the expanded results.
10941094
},
1095+
&quot;relevanceScoreSpec&quot;: { # The specification for returning the document relevance score. # Optional. The specification for returning the relevance score.
1096+
&quot;returnRelevanceScore&quot;: True or False, # Optional. Whether to return the relevance score for search results. The higher the score, the more relevant the document is to the query.
1097+
},
1098+
&quot;relevanceThreshold&quot;: &quot;A String&quot;, # The relevance threshold of the search results. Default to Google defined threshold, leveraging a balance of precision and recall to deliver both highly accurate results and comprehensive coverage of relevant information. This feature is not supported for healthcare search.
10951099
&quot;safeSearch&quot;: True or False, # Whether to turn on safe search. This is only supported for website search.
10961100
&quot;searchAsYouTypeSpec&quot;: { # Specification for search as you type in search requests. # Search as you type configuration. Only supported for the IndustryVertical.MEDIA vertical.
10971101
&quot;condition&quot;: &quot;A String&quot;, # The condition under which search as you type should occur. Default to Condition.DISABLED.
@@ -1214,6 +1218,13 @@ <h3>Method Details</h3>
12141218
},
12151219
},
12161220
&quot;id&quot;: &quot;A String&quot;, # Document.id of the searched Document.
1221+
&quot;modelScores&quot;: { # Output only. Google provided available scores.
1222+
&quot;a_key&quot;: { # Double list.
1223+
&quot;values&quot;: [ # Double values.
1224+
3.14,
1225+
],
1226+
},
1227+
},
12171228
},
12181229
],
12191230
&quot;searchLinkPromotions&quot;: [ # Promotions for site search.
@@ -1416,6 +1427,10 @@ <h3>Method Details</h3>
14161427
&quot;condition&quot;: &quot;A String&quot;, # The condition under which query expansion should occur. Default to Condition.DISABLED.
14171428
&quot;pinUnexpandedResults&quot;: True or False, # Whether to pin unexpanded results. If this field is set to true, unexpanded products are always at the top of the search results, followed by the expanded results.
14181429
},
1430+
&quot;relevanceScoreSpec&quot;: { # The specification for returning the document relevance score. # Optional. The specification for returning the relevance score.
1431+
&quot;returnRelevanceScore&quot;: True or False, # Optional. Whether to return the relevance score for search results. The higher the score, the more relevant the document is to the query.
1432+
},
1433+
&quot;relevanceThreshold&quot;: &quot;A String&quot;, # The relevance threshold of the search results. Default to Google defined threshold, leveraging a balance of precision and recall to deliver both highly accurate results and comprehensive coverage of relevant information. This feature is not supported for healthcare search.
14191434
&quot;safeSearch&quot;: True or False, # Whether to turn on safe search. This is only supported for website search.
14201435
&quot;searchAsYouTypeSpec&quot;: { # Specification for search as you type in search requests. # Search as you type configuration. Only supported for the IndustryVertical.MEDIA vertical.
14211436
&quot;condition&quot;: &quot;A String&quot;, # The condition under which search as you type should occur. Default to Condition.DISABLED.
@@ -1538,6 +1553,13 @@ <h3>Method Details</h3>
15381553
},
15391554
},
15401555
&quot;id&quot;: &quot;A String&quot;, # Document.id of the searched Document.
1556+
&quot;modelScores&quot;: { # Output only. Google provided available scores.
1557+
&quot;a_key&quot;: { # Double list.
1558+
&quot;values&quot;: [ # Double values.
1559+
3.14,
1560+
],
1561+
},
1562+
},
15411563
},
15421564
],
15431565
&quot;searchLinkPromotions&quot;: [ # Promotions for site search.

‎docs/dyn/discoveryengine_v1.projects.locations.dataStores.conversations.html

+7
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,13 @@ <h3>Method Details</h3>
417417
},
418418
},
419419
&quot;id&quot;: &quot;A String&quot;, # Document.id of the searched Document.
420+
&quot;modelScores&quot;: { # Output only. Google provided available scores.
421+
&quot;a_key&quot;: { # Double list.
422+
&quot;values&quot;: [ # Double values.
423+
3.14,
424+
],
425+
},
426+
},
420427
},
421428
],
422429
}</pre>

0 commit comments

Comments
 (0)
Please sign in to comment.