Skip to content

Commit

Permalink
feat: new model service to manage recommendation models (#497)
Browse files Browse the repository at this point in the history
- [ ] 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: googleapis/googleapis-gen@a7fe8d6
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: googleapis/googleapis-gen@eca9b7e
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: googleapis/googleapis-gen@e3d1296
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZTNkMTI5NmE5NTkyYjlmZTcxNGE3Y2JlOGQyYWNjNGJmNDJmNGVjMiJ9
  • Loading branch information
gcf-owl-bot[bot] committed Aug 3, 2022
1 parent 4f864e8 commit 2be6d88
Show file tree
Hide file tree
Showing 386 changed files with 49,441 additions and 5,114 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ public class HttpJsonPredictionServiceStub extends PredictionServiceStub {
serializer.putPathParam(fields, "placement", request.getPlacement());
return fields;
})
.setAdditionalPaths(
"/v2/{placement=projects/*/locations/*/catalogs/*/servingConfigs/*}:predict")
.setQueryParamsExtractor(
request -> {
Map<String, List<String>> fields = new HashMap<>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ public class HttpJsonSearchServiceStub extends SearchServiceStub {
serializer.putPathParam(fields, "placement", request.getPlacement());
return fields;
})
.setAdditionalPaths(
"/v2/{placement=projects/*/locations/*/catalogs/*/servingConfigs/*}:search")
.setQueryParamsExtractor(
request -> {
Map<String, List<String>> fields = new HashMap<>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -958,7 +958,7 @@ public final CompletionConfig updateCompletionConfig(UpdateCompletionConfigReque
* }</pre>
*
* @param name Required. Full AttributesConfig resource name. Format:
* projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig
* `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig`
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final AttributesConfig getAttributesConfig(AttributesConfigName name) {
Expand All @@ -985,7 +985,7 @@ public final AttributesConfig getAttributesConfig(AttributesConfigName name) {
* }</pre>
*
* @param name Required. Full AttributesConfig resource name. Format:
* projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig
* `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig`
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final AttributesConfig getAttributesConfig(String name) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ public ControlServiceStub getStub() {
* }</pre>
*
* @param parent Required. Full resource name of parent catalog. Format:
* projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}
* `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}`
* @param control Required. The Control to create.
* @param controlId Required. The ID to use for the Control, which will become the final component
* of the Control's resource name.
Expand Down Expand Up @@ -227,7 +227,7 @@ public final Control createControl(CatalogName parent, Control control, String c
* }</pre>
*
* @param parent Required. Full resource name of parent catalog. Format:
* projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}
* `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}`
* @param control Required. The Control to create.
* @param controlId Required. The ID to use for the Control, which will become the final component
* of the Control's resource name.
Expand Down Expand Up @@ -322,7 +322,7 @@ public final UnaryCallable<CreateControlRequest, Control> createControlCallable(
* }</pre>
*
* @param name Required. The resource name of the Control to delete. Format:
* projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/controls/{control_id}
* `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/controls/{control_id}`
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final void deleteControl(ControlName name) {
Expand Down Expand Up @@ -350,7 +350,7 @@ public final void deleteControl(ControlName name) {
* }</pre>
*
* @param name Required. The resource name of the Control to delete. Format:
* projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/controls/{control_id}
* `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/controls/{control_id}`
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final void deleteControl(String name) {
Expand Down Expand Up @@ -525,7 +525,7 @@ public final UnaryCallable<UpdateControlRequest, Control> updateControlCallable(
* }</pre>
*
* @param name Required. The resource name of the Control to delete. Format:
* projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/controls/{control_id}
* `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/controls/{control_id}`
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Control getControl(ControlName name) {
Expand All @@ -550,7 +550,7 @@ public final Control getControl(ControlName name) {
* }</pre>
*
* @param name Required. The resource name of the Control to delete. Format:
* projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/controls/{control_id}
* `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/controls/{control_id}`
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Control getControl(String name) {
Expand Down Expand Up @@ -627,7 +627,7 @@ public final UnaryCallable<GetControlRequest, Control> getControlCallable() {
* }</pre>
*
* @param parent Required. The catalog resource name. Format:
* projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}
* `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}`
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final ListControlsPagedResponse listControls(CatalogName parent) {
Expand Down Expand Up @@ -656,7 +656,7 @@ public final ListControlsPagedResponse listControls(CatalogName parent) {
* }</pre>
*
* @param parent Required. The catalog resource name. Format:
* projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}
* `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}`
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final ListControlsPagedResponse listControls(String parent) {
Expand Down
Loading

0 comments on commit 2be6d88

Please sign in to comment.