Skip to content

Commit a734566

Browse files
feat(discoveryengine): update the api
#### discoveryengine:v1 The following keys were added: - schemas.GoogleCloudDiscoveryengineV1Control.properties.promoteAction.$ref (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1ControlPromoteAction (Total Keys: 4) - schemas.GoogleCloudDiscoveryengineV1SearchLinkPromotion (Total Keys: 5) - schemas.GoogleCloudDiscoveryengineV1SearchResponse.properties.searchLinkPromotions (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaControl.properties.promoteAction.$ref (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaControlPromoteAction (Total Keys: 4) - schemas.GoogleCloudDiscoveryengineV1alphaSearchLinkPromotion (Total Keys: 5) - schemas.GoogleCloudDiscoveryengineV1betaControl.properties.promoteAction.$ref (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1betaControlPromoteAction (Total Keys: 4) - schemas.GoogleCloudDiscoveryengineV1betaSearchLinkPromotion (Total Keys: 5) #### discoveryengine:v1alpha The following keys were added: - schemas.GoogleCloudDiscoveryengineV1Control.properties.promoteAction.$ref (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1ControlPromoteAction (Total Keys: 4) - schemas.GoogleCloudDiscoveryengineV1SearchLinkPromotion (Total Keys: 5) - schemas.GoogleCloudDiscoveryengineV1alphaControl.properties.promoteAction.$ref (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaControlPromoteAction (Total Keys: 4) - schemas.GoogleCloudDiscoveryengineV1alphaSearchLinkPromotion (Total Keys: 5) - schemas.GoogleCloudDiscoveryengineV1alphaSearchResponse.properties.searchLinkPromotions (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaServingConfig.properties.promoteControlIds (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1betaControl.properties.promoteAction.$ref (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1betaControlPromoteAction (Total Keys: 4) - schemas.GoogleCloudDiscoveryengineV1betaSearchLinkPromotion (Total Keys: 5) #### discoveryengine:v1beta The following keys were added: - schemas.GoogleCloudDiscoveryengineV1Control.properties.promoteAction.$ref (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1ControlPromoteAction (Total Keys: 4) - schemas.GoogleCloudDiscoveryengineV1SearchLinkPromotion (Total Keys: 5) - schemas.GoogleCloudDiscoveryengineV1alphaControl.properties.promoteAction.$ref (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaControlPromoteAction (Total Keys: 4) - schemas.GoogleCloudDiscoveryengineV1alphaSearchLinkPromotion (Total Keys: 5) - schemas.GoogleCloudDiscoveryengineV1betaControl.properties.promoteAction.$ref (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1betaControlPromoteAction (Total Keys: 4) - schemas.GoogleCloudDiscoveryengineV1betaSearchLinkPromotion (Total Keys: 5) - schemas.GoogleCloudDiscoveryengineV1betaSearchResponse.properties.searchLinkPromotions (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1betaServingConfig.properties.promoteControlIds (Total Keys: 2)
1 parent 199c811 commit a734566

File tree

37 files changed

+1303
-80
lines changed

37 files changed

+1303
-80
lines changed

docs/dyn/discoveryengine_v1.projects.locations.collections.dataStores.branches.operations.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ <h1><a href="discoveryengine_v1.html">Discovery Engine API</a> . <a href="discov
7676
<h2>Instance Methods</h2>
7777
<p class="toc_element">
7878
<code><a href="#cancel">cancel(name, body=None, x__xgafv=None)</a></code></p>
79-
<p class="firstline">Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.</p>
79+
<p class="firstline">Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.</p>
8080
<p class="toc_element">
8181
<code><a href="#close">close()</a></code></p>
8282
<p class="firstline">Close httplib2 connections.</p>
@@ -92,7 +92,7 @@ <h2>Instance Methods</h2>
9292
<h3>Method Details</h3>
9393
<div class="method">
9494
<code class="details" id="cancel">cancel(name, body=None, x__xgafv=None)</code>
95-
<pre>Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn&#x27;t support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
95+
<pre>Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn&#x27;t support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
9696

9797
Args:
9898
name: string, The name of the operation resource to be cancelled. (required)

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

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,16 @@ <h3>Method Details</h3>
142142
&quot;filter&quot;: &quot;A String&quot;, # Required. A filter to apply on the matching condition results. Required Syntax documentation: https://cloud.google.com/retail/docs/filter-and-order Maximum length is 5000 characters. Otherwise an INVALID ARGUMENT error is thrown.
143143
},
144144
&quot;name&quot;: &quot;A String&quot;, # Immutable. Fully qualified name `projects/*/locations/global/dataStore/*/controls/*`
145+
&quot;promoteAction&quot;: { # Promote certain links based on some trigger queries. Example: Promote shoe store link when searching for `shoe` keyword. The link can be outside of associated data store. # Promote certain links based on predefined trigger queries. This now only supports basic site search.
146+
&quot;dataStore&quot;: &quot;A String&quot;, # Required. Data store with which this promotion is attached to.
147+
&quot;searchLinkPromotion&quot;: { # Promotion proto includes uri and other helping information to display the promotion. # Required. Promotion attached to this action.
148+
&quot;description&quot;: &quot;A String&quot;, # Optional. The Promotion description. Maximum length: 200 characters.
149+
&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.
150+
&quot;imageUri&quot;: &quot;A String&quot;, # Optional. The promotion thumbnail image url.
151+
&quot;title&quot;: &quot;A String&quot;, # Required. The title of the promotion. Maximum length: 160 characters.
152+
&quot;uri&quot;: &quot;A String&quot;, # Required. The URL for the page the user wants to promote.
153+
},
154+
},
145155
&quot;redirectAction&quot;: { # Redirects a shopper to the provided URI. # Defines a redirect-type control.
146156
&quot;redirectUri&quot;: &quot;A String&quot;, # Required. The URI to which the shopper will be redirected. Required. URI must have length equal or less than 2000 characters. Otherwise an INVALID ARGUMENT error is thrown.
147157
},
@@ -197,6 +207,16 @@ <h3>Method Details</h3>
197207
&quot;filter&quot;: &quot;A String&quot;, # Required. A filter to apply on the matching condition results. Required Syntax documentation: https://cloud.google.com/retail/docs/filter-and-order Maximum length is 5000 characters. Otherwise an INVALID ARGUMENT error is thrown.
198208
},
199209
&quot;name&quot;: &quot;A String&quot;, # Immutable. Fully qualified name `projects/*/locations/global/dataStore/*/controls/*`
210+
&quot;promoteAction&quot;: { # Promote certain links based on some trigger queries. Example: Promote shoe store link when searching for `shoe` keyword. The link can be outside of associated data store. # Promote certain links based on predefined trigger queries. This now only supports basic site search.
211+
&quot;dataStore&quot;: &quot;A String&quot;, # Required. Data store with which this promotion is attached to.
212+
&quot;searchLinkPromotion&quot;: { # Promotion proto includes uri and other helping information to display the promotion. # Required. Promotion attached to this action.
213+
&quot;description&quot;: &quot;A String&quot;, # Optional. The Promotion description. Maximum length: 200 characters.
214+
&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.
215+
&quot;imageUri&quot;: &quot;A String&quot;, # Optional. The promotion thumbnail image url.
216+
&quot;title&quot;: &quot;A String&quot;, # Required. The title of the promotion. Maximum length: 160 characters.
217+
&quot;uri&quot;: &quot;A String&quot;, # Required. The URL for the page the user wants to promote.
218+
},
219+
},
200220
&quot;redirectAction&quot;: { # Redirects a shopper to the provided URI. # Defines a redirect-type control.
201221
&quot;redirectUri&quot;: &quot;A String&quot;, # Required. The URI to which the shopper will be redirected. Required. URI must have length equal or less than 2000 characters. Otherwise an INVALID ARGUMENT error is thrown.
202222
},
@@ -276,6 +296,16 @@ <h3>Method Details</h3>
276296
&quot;filter&quot;: &quot;A String&quot;, # Required. A filter to apply on the matching condition results. Required Syntax documentation: https://cloud.google.com/retail/docs/filter-and-order Maximum length is 5000 characters. Otherwise an INVALID ARGUMENT error is thrown.
277297
},
278298
&quot;name&quot;: &quot;A String&quot;, # Immutable. Fully qualified name `projects/*/locations/global/dataStore/*/controls/*`
299+
&quot;promoteAction&quot;: { # Promote certain links based on some trigger queries. Example: Promote shoe store link when searching for `shoe` keyword. The link can be outside of associated data store. # Promote certain links based on predefined trigger queries. This now only supports basic site search.
300+
&quot;dataStore&quot;: &quot;A String&quot;, # Required. Data store with which this promotion is attached to.
301+
&quot;searchLinkPromotion&quot;: { # Promotion proto includes uri and other helping information to display the promotion. # Required. Promotion attached to this action.
302+
&quot;description&quot;: &quot;A String&quot;, # Optional. The Promotion description. Maximum length: 200 characters.
303+
&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.
304+
&quot;imageUri&quot;: &quot;A String&quot;, # Optional. The promotion thumbnail image url.
305+
&quot;title&quot;: &quot;A String&quot;, # Required. The title of the promotion. Maximum length: 160 characters.
306+
&quot;uri&quot;: &quot;A String&quot;, # Required. The URL for the page the user wants to promote.
307+
},
308+
},
279309
&quot;redirectAction&quot;: { # Redirects a shopper to the provided URI. # Defines a redirect-type control.
280310
&quot;redirectUri&quot;: &quot;A String&quot;, # Required. The URI to which the shopper will be redirected. Required. URI must have length equal or less than 2000 characters. Otherwise an INVALID ARGUMENT error is thrown.
281311
},
@@ -342,6 +372,16 @@ <h3>Method Details</h3>
342372
&quot;filter&quot;: &quot;A String&quot;, # Required. A filter to apply on the matching condition results. Required Syntax documentation: https://cloud.google.com/retail/docs/filter-and-order Maximum length is 5000 characters. Otherwise an INVALID ARGUMENT error is thrown.
343373
},
344374
&quot;name&quot;: &quot;A String&quot;, # Immutable. Fully qualified name `projects/*/locations/global/dataStore/*/controls/*`
375+
&quot;promoteAction&quot;: { # Promote certain links based on some trigger queries. Example: Promote shoe store link when searching for `shoe` keyword. The link can be outside of associated data store. # Promote certain links based on predefined trigger queries. This now only supports basic site search.
376+
&quot;dataStore&quot;: &quot;A String&quot;, # Required. Data store with which this promotion is attached to.
377+
&quot;searchLinkPromotion&quot;: { # Promotion proto includes uri and other helping information to display the promotion. # Required. Promotion attached to this action.
378+
&quot;description&quot;: &quot;A String&quot;, # Optional. The Promotion description. Maximum length: 200 characters.
379+
&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.
380+
&quot;imageUri&quot;: &quot;A String&quot;, # Optional. The promotion thumbnail image url.
381+
&quot;title&quot;: &quot;A String&quot;, # Required. The title of the promotion. Maximum length: 160 characters.
382+
&quot;uri&quot;: &quot;A String&quot;, # Required. The URL for the page the user wants to promote.
383+
},
384+
},
345385
&quot;redirectAction&quot;: { # Redirects a shopper to the provided URI. # Defines a redirect-type control.
346386
&quot;redirectUri&quot;: &quot;A String&quot;, # Required. The URI to which the shopper will be redirected. Required. URI must have length equal or less than 2000 characters. Otherwise an INVALID ARGUMENT error is thrown.
347387
},
@@ -415,6 +455,16 @@ <h3>Method Details</h3>
415455
&quot;filter&quot;: &quot;A String&quot;, # Required. A filter to apply on the matching condition results. Required Syntax documentation: https://cloud.google.com/retail/docs/filter-and-order Maximum length is 5000 characters. Otherwise an INVALID ARGUMENT error is thrown.
416456
},
417457
&quot;name&quot;: &quot;A String&quot;, # Immutable. Fully qualified name `projects/*/locations/global/dataStore/*/controls/*`
458+
&quot;promoteAction&quot;: { # Promote certain links based on some trigger queries. Example: Promote shoe store link when searching for `shoe` keyword. The link can be outside of associated data store. # Promote certain links based on predefined trigger queries. This now only supports basic site search.
459+
&quot;dataStore&quot;: &quot;A String&quot;, # Required. Data store with which this promotion is attached to.
460+
&quot;searchLinkPromotion&quot;: { # Promotion proto includes uri and other helping information to display the promotion. # Required. Promotion attached to this action.
461+
&quot;description&quot;: &quot;A String&quot;, # Optional. The Promotion description. Maximum length: 200 characters.
462+
&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.
463+
&quot;imageUri&quot;: &quot;A String&quot;, # Optional. The promotion thumbnail image url.
464+
&quot;title&quot;: &quot;A String&quot;, # Required. The title of the promotion. Maximum length: 160 characters.
465+
&quot;uri&quot;: &quot;A String&quot;, # Required. The URL for the page the user wants to promote.
466+
},
467+
},
418468
&quot;redirectAction&quot;: { # Redirects a shopper to the provided URI. # Defines a redirect-type control.
419469
&quot;redirectUri&quot;: &quot;A String&quot;, # Required. The URI to which the shopper will be redirected. Required. URI must have length equal or less than 2000 characters. Otherwise an INVALID ARGUMENT error is thrown.
420470
},
@@ -470,6 +520,16 @@ <h3>Method Details</h3>
470520
&quot;filter&quot;: &quot;A String&quot;, # Required. A filter to apply on the matching condition results. Required Syntax documentation: https://cloud.google.com/retail/docs/filter-and-order Maximum length is 5000 characters. Otherwise an INVALID ARGUMENT error is thrown.
471521
},
472522
&quot;name&quot;: &quot;A String&quot;, # Immutable. Fully qualified name `projects/*/locations/global/dataStore/*/controls/*`
523+
&quot;promoteAction&quot;: { # Promote certain links based on some trigger queries. Example: Promote shoe store link when searching for `shoe` keyword. The link can be outside of associated data store. # Promote certain links based on predefined trigger queries. This now only supports basic site search.
524+
&quot;dataStore&quot;: &quot;A String&quot;, # Required. Data store with which this promotion is attached to.
525+
&quot;searchLinkPromotion&quot;: { # Promotion proto includes uri and other helping information to display the promotion. # Required. Promotion attached to this action.
526+
&quot;description&quot;: &quot;A String&quot;, # Optional. The Promotion description. Maximum length: 200 characters.
527+
&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.
528+
&quot;imageUri&quot;: &quot;A String&quot;, # Optional. The promotion thumbnail image url.
529+
&quot;title&quot;: &quot;A String&quot;, # Required. The title of the promotion. Maximum length: 160 characters.
530+
&quot;uri&quot;: &quot;A String&quot;, # Required. The URL for the page the user wants to promote.
531+
},
532+
},
473533
&quot;redirectAction&quot;: { # Redirects a shopper to the provided URI. # Defines a redirect-type control.
474534
&quot;redirectUri&quot;: &quot;A String&quot;, # Required. The URI to which the shopper will be redirected. Required. URI must have length equal or less than 2000 characters. Otherwise an INVALID ARGUMENT error is thrown.
475535
},

0 commit comments

Comments
 (0)