Skip to content

Commit 922f9c6

Browse files
feat(discoveryengine): update the api
#### discoveryengine:v1 The following keys were added: - schemas.GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpec.properties.disableSpellCorrection.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1SearchRequest.properties.displaySpec.$ref (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1SearchRequestDisplaySpec (Total Keys: 3) - schemas.GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig (Total Keys: 9) - schemas.GoogleCloudDiscoveryengineV1alphaDataConnector.properties.alertPolicyConfigs (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1betaSearchRequest.properties.displaySpec.$ref (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec (Total Keys: 3) #### discoveryengine:v1alpha The following keys were added: - schemas.GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig (Total Keys: 9) - schemas.GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpec.properties.disableSpellCorrection.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaDataConnector.properties.alertPolicyConfigs (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaWidgetConfigAccessSettings.properties.languageCode.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1betaSearchRequest.properties.displaySpec.$ref (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec (Total Keys: 3) #### discoveryengine:v1beta The following keys were added: - schemas.GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig (Total Keys: 9) - schemas.GoogleCloudDiscoveryengineV1alphaDataConnector.properties.alertPolicyConfigs (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpec.properties.disableSpellCorrection.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1betaSearchRequest.properties.displaySpec.$ref (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec (Total Keys: 3)
1 parent 970c229 commit 922f9c6

File tree

27 files changed

+517
-96
lines changed

27 files changed

+517
-96
lines changed

docs/dyn/discoveryengine_v1.projects.locations.collections.dataStores.controls.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ <h3>Method Details</h3>
161161
&quot;enabled&quot;: True or False, # Optional. The enabled promotion will be returned for any serving configs associated with the parent of the control this promotion is attached to. This flag is used for basic site search only.
162162
&quot;imageUri&quot;: &quot;A String&quot;, # Optional. The promotion thumbnail image url.
163163
&quot;title&quot;: &quot;A String&quot;, # Required. The title of the promotion. Maximum length: 160 characters.
164-
&quot;uri&quot;: &quot;A String&quot;, # Required. The URL for the page the user wants to promote.
164+
&quot;uri&quot;: &quot;A String&quot;, # Optional. The URL for the page the user wants to promote. Must be set for site search. For other verticals, this is optional.
165165
},
166166
},
167167
&quot;redirectAction&quot;: { # Redirects a shopper to the provided URI. # Defines a redirect-type control.
@@ -238,7 +238,7 @@ <h3>Method Details</h3>
238238
&quot;enabled&quot;: True or False, # Optional. The enabled promotion will be returned for any serving configs associated with the parent of the control this promotion is attached to. This flag is used for basic site search only.
239239
&quot;imageUri&quot;: &quot;A String&quot;, # Optional. The promotion thumbnail image url.
240240
&quot;title&quot;: &quot;A String&quot;, # Required. The title of the promotion. Maximum length: 160 characters.
241-
&quot;uri&quot;: &quot;A String&quot;, # Required. The URL for the page the user wants to promote.
241+
&quot;uri&quot;: &quot;A String&quot;, # Optional. The URL for the page the user wants to promote. Must be set for site search. For other verticals, this is optional.
242242
},
243243
},
244244
&quot;redirectAction&quot;: { # Redirects a shopper to the provided URI. # Defines a redirect-type control.
@@ -339,7 +339,7 @@ <h3>Method Details</h3>
339339
&quot;enabled&quot;: True or False, # Optional. The enabled promotion will be returned for any serving configs associated with the parent of the control this promotion is attached to. This flag is used for basic site search only.
340340
&quot;imageUri&quot;: &quot;A String&quot;, # Optional. The promotion thumbnail image url.
341341
&quot;title&quot;: &quot;A String&quot;, # Required. The title of the promotion. Maximum length: 160 characters.
342-
&quot;uri&quot;: &quot;A String&quot;, # Required. The URL for the page the user wants to promote.
342+
&quot;uri&quot;: &quot;A String&quot;, # Optional. The URL for the page the user wants to promote. Must be set for site search. For other verticals, this is optional.
343343
},
344344
},
345345
&quot;redirectAction&quot;: { # Redirects a shopper to the provided URI. # Defines a redirect-type control.
@@ -427,7 +427,7 @@ <h3>Method Details</h3>
427427
&quot;enabled&quot;: True or False, # Optional. The enabled promotion will be returned for any serving configs associated with the parent of the control this promotion is attached to. This flag is used for basic site search only.
428428
&quot;imageUri&quot;: &quot;A String&quot;, # Optional. The promotion thumbnail image url.
429429
&quot;title&quot;: &quot;A String&quot;, # Required. The title of the promotion. Maximum length: 160 characters.
430-
&quot;uri&quot;: &quot;A String&quot;, # Required. The URL for the page the user wants to promote.
430+
&quot;uri&quot;: &quot;A String&quot;, # Optional. The URL for the page the user wants to promote. Must be set for site search. For other verticals, this is optional.
431431
},
432432
},
433433
&quot;redirectAction&quot;: { # Redirects a shopper to the provided URI. # Defines a redirect-type control.
@@ -522,7 +522,7 @@ <h3>Method Details</h3>
522522
&quot;enabled&quot;: True or False, # Optional. The enabled promotion will be returned for any serving configs associated with the parent of the control this promotion is attached to. This flag is used for basic site search only.
523523
&quot;imageUri&quot;: &quot;A String&quot;, # Optional. The promotion thumbnail image url.
524524
&quot;title&quot;: &quot;A String&quot;, # Required. The title of the promotion. Maximum length: 160 characters.
525-
&quot;uri&quot;: &quot;A String&quot;, # Required. The URL for the page the user wants to promote.
525+
&quot;uri&quot;: &quot;A String&quot;, # Optional. The URL for the page the user wants to promote. Must be set for site search. For other verticals, this is optional.
526526
},
527527
},
528528
&quot;redirectAction&quot;: { # Redirects a shopper to the provided URI. # Defines a redirect-type control.
@@ -599,7 +599,7 @@ <h3>Method Details</h3>
599599
&quot;enabled&quot;: True or False, # Optional. The enabled promotion will be returned for any serving configs associated with the parent of the control this promotion is attached to. This flag is used for basic site search only.
600600
&quot;imageUri&quot;: &quot;A String&quot;, # Optional. The promotion thumbnail image url.
601601
&quot;title&quot;: &quot;A String&quot;, # Required. The title of the promotion. Maximum length: 160 characters.
602-
&quot;uri&quot;: &quot;A String&quot;, # Required. The URL for the page the user wants to promote.
602+
&quot;uri&quot;: &quot;A String&quot;, # Optional. The URL for the page the user wants to promote. Must be set for site search. For other verticals, this is optional.
603603
},
604604
},
605605
&quot;redirectAction&quot;: { # Redirects a shopper to the provided URI. # Defines a redirect-type control.

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

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ <h3>Method Details</h3>
148148
&quot;text&quot;: &quot;A String&quot;, # Plain text.
149149
},
150150
&quot;queryUnderstandingSpec&quot;: { # Query understanding specification. # Query understanding specification.
151+
&quot;disableSpellCorrection&quot;: True or False, # Optional. Whether to disable spell correction. The default value is `false`.
151152
&quot;queryClassificationSpec&quot;: { # Query classification specification. # Query classification specification.
152153
&quot;types&quot;: [ # Enabled query classification types.
153154
&quot;A String&quot;,
@@ -1043,6 +1044,9 @@ <h3>Method Details</h3>
10431044
&quot;filter&quot;: &quot;A String&quot;, # Optional. Filter specification to filter documents in the data store specified by data_store field. For more information on filtering, see [Filtering](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)
10441045
},
10451046
],
1047+
&quot;displaySpec&quot;: { # Specifies features for display, like match highlighting. # Optional. Config for display feature, like match highlighting on search results.
1048+
&quot;matchHighlightingCondition&quot;: &quot;A String&quot;, # The condition under which match highlighting should occur.
1049+
},
10461050
&quot;facetSpecs&quot;: [ # Facet specifications for faceted search. If empty, no facets are returned. A maximum of 100 values are allowed. Otherwise, an `INVALID_ARGUMENT` error is returned.
10471051
{ # A facet specification to perform faceted search.
10481052
&quot;enableDynamicPosition&quot;: True or False, # Enables dynamic position for this facet. If set to true, the position of this facet among all facets in the response is determined automatically. If dynamic facets are enabled, it is ordered together. If set to false, the position of this facet in the response is the same as in the request, and it is ranked before the facets with dynamic position enable and all dynamic facets. For example, you may always want to have rating facet returned in the response, but it&#x27;s not necessarily to always display the rating facet at the top. In that case, you can set enable_dynamic_position to true so that the position of rating facet in response is determined automatically. Another example, assuming you have the following facets in the request: * &quot;rating&quot;, enable_dynamic_position = true * &quot;price&quot;, enable_dynamic_position = false * &quot;brands&quot;, enable_dynamic_position = false And also you have a dynamic facets enabled, which generates a facet `gender`. Then the final order of the facets in the response can be (&quot;price&quot;, &quot;brands&quot;, &quot;rating&quot;, &quot;gender&quot;) or (&quot;price&quot;, &quot;brands&quot;, &quot;gender&quot;, &quot;rating&quot;) depends on how API orders &quot;gender&quot; and &quot;rating&quot; facets. However, notice that &quot;price&quot; and &quot;brands&quot; are always ranked at first and second position because their enable_dynamic_position is false.
@@ -1233,7 +1237,7 @@ <h3>Method Details</h3>
12331237
&quot;enabled&quot;: True or False, # Optional. The enabled promotion will be returned for any serving configs associated with the parent of the control this promotion is attached to. This flag is used for basic site search only.
12341238
&quot;imageUri&quot;: &quot;A String&quot;, # Optional. The promotion thumbnail image url.
12351239
&quot;title&quot;: &quot;A String&quot;, # Required. The title of the promotion. Maximum length: 160 characters.
1236-
&quot;uri&quot;: &quot;A String&quot;, # Required. The URL for the page the user wants to promote.
1240+
&quot;uri&quot;: &quot;A String&quot;, # Optional. The URL for the page the user wants to promote. Must be set for site search. For other verticals, this is optional.
12371241
},
12381242
],
12391243
&quot;sessionInfo&quot;: { # Information about the session. # Session information. Only set if SearchRequest.session is provided. See its description for more details.
@@ -1378,6 +1382,9 @@ <h3>Method Details</h3>
13781382
&quot;filter&quot;: &quot;A String&quot;, # Optional. Filter specification to filter documents in the data store specified by data_store field. For more information on filtering, see [Filtering](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)
13791383
},
13801384
],
1385+
&quot;displaySpec&quot;: { # Specifies features for display, like match highlighting. # Optional. Config for display feature, like match highlighting on search results.
1386+
&quot;matchHighlightingCondition&quot;: &quot;A String&quot;, # The condition under which match highlighting should occur.
1387+
},
13811388
&quot;facetSpecs&quot;: [ # Facet specifications for faceted search. If empty, no facets are returned. A maximum of 100 values are allowed. Otherwise, an `INVALID_ARGUMENT` error is returned.
13821389
{ # A facet specification to perform faceted search.
13831390
&quot;enableDynamicPosition&quot;: True or False, # Enables dynamic position for this facet. If set to true, the position of this facet among all facets in the response is determined automatically. If dynamic facets are enabled, it is ordered together. If set to false, the position of this facet in the response is the same as in the request, and it is ranked before the facets with dynamic position enable and all dynamic facets. For example, you may always want to have rating facet returned in the response, but it&#x27;s not necessarily to always display the rating facet at the top. In that case, you can set enable_dynamic_position to true so that the position of rating facet in response is determined automatically. Another example, assuming you have the following facets in the request: * &quot;rating&quot;, enable_dynamic_position = true * &quot;price&quot;, enable_dynamic_position = false * &quot;brands&quot;, enable_dynamic_position = false And also you have a dynamic facets enabled, which generates a facet `gender`. Then the final order of the facets in the response can be (&quot;price&quot;, &quot;brands&quot;, &quot;rating&quot;, &quot;gender&quot;) or (&quot;price&quot;, &quot;brands&quot;, &quot;gender&quot;, &quot;rating&quot;) depends on how API orders &quot;gender&quot; and &quot;rating&quot; facets. However, notice that &quot;price&quot; and &quot;brands&quot; are always ranked at first and second position because their enable_dynamic_position is false.
@@ -1568,7 +1575,7 @@ <h3>Method Details</h3>
15681575
&quot;enabled&quot;: True or False, # Optional. The enabled promotion will be returned for any serving configs associated with the parent of the control this promotion is attached to. This flag is used for basic site search only.
15691576
&quot;imageUri&quot;: &quot;A String&quot;, # Optional. The promotion thumbnail image url.
15701577
&quot;title&quot;: &quot;A String&quot;, # Required. The title of the promotion. Maximum length: 160 characters.
1571-
&quot;uri&quot;: &quot;A String&quot;, # Required. The URL for the page the user wants to promote.
1578+
&quot;uri&quot;: &quot;A String&quot;, # Optional. The URL for the page the user wants to promote. Must be set for site search. For other verticals, this is optional.
15721579
},
15731580
],
15741581
&quot;sessionInfo&quot;: { # Information about the session. # Session information. Only set if SearchRequest.session is provided. See its description for more details.
@@ -1696,6 +1703,7 @@ <h3>Method Details</h3>
16961703
&quot;text&quot;: &quot;A String&quot;, # Plain text.
16971704
},
16981705
&quot;queryUnderstandingSpec&quot;: { # Query understanding specification. # Query understanding specification.
1706+
&quot;disableSpellCorrection&quot;: True or False, # Optional. Whether to disable spell correction. The default value is `false`.
16991707
&quot;queryClassificationSpec&quot;: { # Query classification specification. # Query classification specification.
17001708
&quot;types&quot;: [ # Enabled query classification types.
17011709
&quot;A String&quot;,

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ <h3>Method Details</h3>
161161
&quot;enabled&quot;: True or False, # Optional. The enabled promotion will be returned for any serving configs associated with the parent of the control this promotion is attached to. This flag is used for basic site search only.
162162
&quot;imageUri&quot;: &quot;A String&quot;, # Optional. The promotion thumbnail image url.
163163
&quot;title&quot;: &quot;A String&quot;, # Required. The title of the promotion. Maximum length: 160 characters.
164-
&quot;uri&quot;: &quot;A String&quot;, # Required. The URL for the page the user wants to promote.
164+
&quot;uri&quot;: &quot;A String&quot;, # Optional. The URL for the page the user wants to promote. Must be set for site search. For other verticals, this is optional.
165165
},
166166
},
167167
&quot;redirectAction&quot;: { # Redirects a shopper to the provided URI. # Defines a redirect-type control.
@@ -238,7 +238,7 @@ <h3>Method Details</h3>
238238
&quot;enabled&quot;: True or False, # Optional. The enabled promotion will be returned for any serving configs associated with the parent of the control this promotion is attached to. This flag is used for basic site search only.
239239
&quot;imageUri&quot;: &quot;A String&quot;, # Optional. The promotion thumbnail image url.
240240
&quot;title&quot;: &quot;A String&quot;, # Required. The title of the promotion. Maximum length: 160 characters.
241-
&quot;uri&quot;: &quot;A String&quot;, # Required. The URL for the page the user wants to promote.
241+
&quot;uri&quot;: &quot;A String&quot;, # Optional. The URL for the page the user wants to promote. Must be set for site search. For other verticals, this is optional.
242242
},
243243
},
244244
&quot;redirectAction&quot;: { # Redirects a shopper to the provided URI. # Defines a redirect-type control.
@@ -339,7 +339,7 @@ <h3>Method Details</h3>
339339
&quot;enabled&quot;: True or False, # Optional. The enabled promotion will be returned for any serving configs associated with the parent of the control this promotion is attached to. This flag is used for basic site search only.
340340
&quot;imageUri&quot;: &quot;A String&quot;, # Optional. The promotion thumbnail image url.
341341
&quot;title&quot;: &quot;A String&quot;, # Required. The title of the promotion. Maximum length: 160 characters.
342-
&quot;uri&quot;: &quot;A String&quot;, # Required. The URL for the page the user wants to promote.
342+
&quot;uri&quot;: &quot;A String&quot;, # Optional. The URL for the page the user wants to promote. Must be set for site search. For other verticals, this is optional.
343343
},
344344
},
345345
&quot;redirectAction&quot;: { # Redirects a shopper to the provided URI. # Defines a redirect-type control.
@@ -427,7 +427,7 @@ <h3>Method Details</h3>
427427
&quot;enabled&quot;: True or False, # Optional. The enabled promotion will be returned for any serving configs associated with the parent of the control this promotion is attached to. This flag is used for basic site search only.
428428
&quot;imageUri&quot;: &quot;A String&quot;, # Optional. The promotion thumbnail image url.
429429
&quot;title&quot;: &quot;A String&quot;, # Required. The title of the promotion. Maximum length: 160 characters.
430-
&quot;uri&quot;: &quot;A String&quot;, # Required. The URL for the page the user wants to promote.
430+
&quot;uri&quot;: &quot;A String&quot;, # Optional. The URL for the page the user wants to promote. Must be set for site search. For other verticals, this is optional.
431431
},
432432
},
433433
&quot;redirectAction&quot;: { # Redirects a shopper to the provided URI. # Defines a redirect-type control.
@@ -522,7 +522,7 @@ <h3>Method Details</h3>
522522
&quot;enabled&quot;: True or False, # Optional. The enabled promotion will be returned for any serving configs associated with the parent of the control this promotion is attached to. This flag is used for basic site search only.
523523
&quot;imageUri&quot;: &quot;A String&quot;, # Optional. The promotion thumbnail image url.
524524
&quot;title&quot;: &quot;A String&quot;, # Required. The title of the promotion. Maximum length: 160 characters.
525-
&quot;uri&quot;: &quot;A String&quot;, # Required. The URL for the page the user wants to promote.
525+
&quot;uri&quot;: &quot;A String&quot;, # Optional. The URL for the page the user wants to promote. Must be set for site search. For other verticals, this is optional.
526526
},
527527
},
528528
&quot;redirectAction&quot;: { # Redirects a shopper to the provided URI. # Defines a redirect-type control.
@@ -599,7 +599,7 @@ <h3>Method Details</h3>
599599
&quot;enabled&quot;: True or False, # Optional. The enabled promotion will be returned for any serving configs associated with the parent of the control this promotion is attached to. This flag is used for basic site search only.
600600
&quot;imageUri&quot;: &quot;A String&quot;, # Optional. The promotion thumbnail image url.
601601
&quot;title&quot;: &quot;A String&quot;, # Required. The title of the promotion. Maximum length: 160 characters.
602-
&quot;uri&quot;: &quot;A String&quot;, # Required. The URL for the page the user wants to promote.
602+
&quot;uri&quot;: &quot;A String&quot;, # Optional. The URL for the page the user wants to promote. Must be set for site search. For other verticals, this is optional.
603603
},
604604
},
605605
&quot;redirectAction&quot;: { # Redirects a shopper to the provided URI. # Defines a redirect-type control.

0 commit comments

Comments
 (0)