Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Commit 70ae250

Browse files
feat: new model service to manage recommendation models (#497)
- [ ] Regenerate this pull request now. feat: support case insensitive match on search facets feat: allow disabling spell check in search requests feat: allow adding labels in search requests feat: allow returning min/max values on search numeric facets feat: allow using serving configs as an alias of placements feat: allow enabling recommendation filtering on custom attributes feat: return output BigQuery table on product / event export response feat: allow skiping default branch protection when doing product full import docs: keep the API doc up-to-date with recent changes PiperOrigin-RevId: 464664497 Source-Link: googleapis/googleapis@c30c9cc Source-Link: https://github.com/googleapis/googleapis-gen/commit/a7fe8d672b8cbbadc5ab32253dea50e4c3d8e390 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYTdmZThkNjcyYjhjYmJhZGM1YWIzMjI1M2RlYTUwZTRjM2Q4ZTM5MCJ9 feat: support case insensitive match on search facets feat: allow to return min/max values on search numeric facets feat: allow to use serving configs as an alias of placements docs: keep the API doc up-to-date with recent changes PiperOrigin-RevId: 464560246 Source-Link: googleapis/googleapis@139f56e Source-Link: https://github.com/googleapis/googleapis-gen/commit/eca9b7ecbdc2c64c2d0ec2e6688f6353aff162ef Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZWNhOWI3ZWNiZGMyYzY0YzJkMGVjMmU2Njg4ZjYzNTNhZmYxNjJlZiJ9 feat: support case insensitive match on search facets feat: allow disabling spell check in search requests feat: allow adding labels in search requests feat: allow returning min/max values on search numeric facets feat: allow using serving configs as an alias of placements feat: allow enabling recommendation filtering on custom attributes feat: return output BigQuery table on product / event export response docs: keep the API doc up-to-date with recent changes PiperOrigin-RevId: 463980128 Source-Link: googleapis/googleapis@d6bce0e Source-Link: https://github.com/googleapis/googleapis-gen/commit/e3d1296a9592b9fe714a7cbe8d2acc4bf42f4ec2 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZTNkMTI5NmE5NTkyYjlmZTcxNGE3Y2JlOGQyYWNjNGJmNDJmNGVjMiJ9
1 parent 2af1d50 commit 70ae250

386 files changed

Lines changed: 49441 additions & 5114 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.

google-cloud-retail/src/main/java/com/google/cloud/retail/v2/ProductServiceClient.java

Lines changed: 125 additions & 120 deletions
Large diffs are not rendered by default.

google-cloud-retail/src/main/java/com/google/cloud/retail/v2/stub/HttpJsonPredictionServiceStub.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ public class HttpJsonPredictionServiceStub extends PredictionServiceStub {
6767
serializer.putPathParam(fields, "placement", request.getPlacement());
6868
return fields;
6969
})
70+
.setAdditionalPaths(
71+
"/v2/{placement=projects/*/locations/*/catalogs/*/servingConfigs/*}:predict")
7072
.setQueryParamsExtractor(
7173
request -> {
7274
Map<String, List<String>> fields = new HashMap<>();

google-cloud-retail/src/main/java/com/google/cloud/retail/v2/stub/HttpJsonSearchServiceStub.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ public class HttpJsonSearchServiceStub extends SearchServiceStub {
6868
serializer.putPathParam(fields, "placement", request.getPlacement());
6969
return fields;
7070
})
71+
.setAdditionalPaths(
72+
"/v2/{placement=projects/*/locations/*/catalogs/*/servingConfigs/*}:search")
7173
.setQueryParamsExtractor(
7274
request -> {
7375
Map<String, List<String>> fields = new HashMap<>();

google-cloud-retail/src/main/java/com/google/cloud/retail/v2alpha/CatalogServiceClient.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -958,7 +958,7 @@ public final CompletionConfig updateCompletionConfig(UpdateCompletionConfigReque
958958
* }</pre>
959959
*
960960
* @param name Required. Full AttributesConfig resource name. Format:
961-
* projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig
961+
* `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig`
962962
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
963963
*/
964964
public final AttributesConfig getAttributesConfig(AttributesConfigName name) {
@@ -985,7 +985,7 @@ public final AttributesConfig getAttributesConfig(AttributesConfigName name) {
985985
* }</pre>
986986
*
987987
* @param name Required. Full AttributesConfig resource name. Format:
988-
* projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig
988+
* `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig`
989989
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
990990
*/
991991
public final AttributesConfig getAttributesConfig(String name) {

google-cloud-retail/src/main/java/com/google/cloud/retail/v2alpha/ControlServiceClient.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ public ControlServiceStub getStub() {
189189
* }</pre>
190190
*
191191
* @param parent Required. Full resource name of parent catalog. Format:
192-
* projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}
192+
* `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}`
193193
* @param control Required. The Control to create.
194194
* @param controlId Required. The ID to use for the Control, which will become the final component
195195
* of the Control's resource name.
@@ -227,7 +227,7 @@ public final Control createControl(CatalogName parent, Control control, String c
227227
* }</pre>
228228
*
229229
* @param parent Required. Full resource name of parent catalog. Format:
230-
* projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}
230+
* `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}`
231231
* @param control Required. The Control to create.
232232
* @param controlId Required. The ID to use for the Control, which will become the final component
233233
* of the Control's resource name.
@@ -322,7 +322,7 @@ public final UnaryCallable<CreateControlRequest, Control> createControlCallable(
322322
* }</pre>
323323
*
324324
* @param name Required. The resource name of the Control to delete. Format:
325-
* projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/controls/{control_id}
325+
* `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/controls/{control_id}`
326326
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
327327
*/
328328
public final void deleteControl(ControlName name) {
@@ -350,7 +350,7 @@ public final void deleteControl(ControlName name) {
350350
* }</pre>
351351
*
352352
* @param name Required. The resource name of the Control to delete. Format:
353-
* projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/controls/{control_id}
353+
* `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/controls/{control_id}`
354354
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
355355
*/
356356
public final void deleteControl(String name) {
@@ -525,7 +525,7 @@ public final UnaryCallable<UpdateControlRequest, Control> updateControlCallable(
525525
* }</pre>
526526
*
527527
* @param name Required. The resource name of the Control to delete. Format:
528-
* projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/controls/{control_id}
528+
* `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/controls/{control_id}`
529529
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
530530
*/
531531
public final Control getControl(ControlName name) {
@@ -550,7 +550,7 @@ public final Control getControl(ControlName name) {
550550
* }</pre>
551551
*
552552
* @param name Required. The resource name of the Control to delete. Format:
553-
* projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/controls/{control_id}
553+
* `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/controls/{control_id}`
554554
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
555555
*/
556556
public final Control getControl(String name) {
@@ -627,7 +627,7 @@ public final UnaryCallable<GetControlRequest, Control> getControlCallable() {
627627
* }</pre>
628628
*
629629
* @param parent Required. The catalog resource name. Format:
630-
* projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}
630+
* `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}`
631631
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
632632
*/
633633
public final ListControlsPagedResponse listControls(CatalogName parent) {
@@ -656,7 +656,7 @@ public final ListControlsPagedResponse listControls(CatalogName parent) {
656656
* }</pre>
657657
*
658658
* @param parent Required. The catalog resource name. Format:
659-
* projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}
659+
* `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}`
660660
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
661661
*/
662662
public final ListControlsPagedResponse listControls(String parent) {

0 commit comments

Comments
 (0)