google-apis-recommendationengine_v1beta1 0.2.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +21 -0
- data/lib/google/apis/recommendationengine_v1beta1.rb +1 -1
- data/lib/google/apis/recommendationengine_v1beta1/classes.rb +14 -6
- data/lib/google/apis/recommendationengine_v1beta1/gem_version.rb +3 -3
- data/lib/google/apis/recommendationengine_v1beta1/service.rb +29 -29
- metadata +15 -9
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cb12399271045afcab60b1b4d8af4f83f6388cfa9179ccec8132d9efadd45e31
|
|
4
|
+
data.tar.gz: 59b28fb19e6c702013a3bd10affcd77b5cba4d47e86f538ddd70edd050ccac3d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7596d490ff3560f71aa48c2b5e578a8ec3ad23a9b694163cda2e71f7860c02a227db905cc54a93ea6c67859cac0c6ace28b81e50f2853b12fa6a677060f40abc
|
|
7
|
+
data.tar.gz: df20497598c180984b4cac54a24085b687bef44b2df8ca0be1fa88ddd1c12ab7611101486272ea2ba80fa69482ee30187f923a3c9ed17afd37f40ff5a8b40923
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# Release history for google-apis-recommendationengine_v1beta1
|
|
2
2
|
|
|
3
|
+
### v0.7.0 (2021-06-24)
|
|
4
|
+
|
|
5
|
+
* Regenerated using generator version 0.3.0
|
|
6
|
+
|
|
7
|
+
### v0.6.0 (2021-05-19)
|
|
8
|
+
|
|
9
|
+
* Unspecified changes
|
|
10
|
+
|
|
11
|
+
### v0.5.0 (2021-05-15)
|
|
12
|
+
|
|
13
|
+
* Regenerated from discovery document revision 20210513
|
|
14
|
+
|
|
15
|
+
### v0.4.0 (2021-03-27)
|
|
16
|
+
|
|
17
|
+
* Regenerated from discovery document revision 20210319
|
|
18
|
+
* Regenerated using generator version 0.2.0
|
|
19
|
+
|
|
20
|
+
### v0.3.0 (2021-03-04)
|
|
21
|
+
|
|
22
|
+
* Unspecified changes
|
|
23
|
+
|
|
3
24
|
### v0.2.0 (2021-02-06)
|
|
4
25
|
|
|
5
26
|
* Regenerated from discovery document revision 20210202
|
|
@@ -34,7 +34,7 @@ module Google
|
|
|
34
34
|
# This is NOT the gem version.
|
|
35
35
|
VERSION = 'V1beta1'
|
|
36
36
|
|
|
37
|
-
#
|
|
37
|
+
# See, edit, configure, and delete your Google Cloud Platform data
|
|
38
38
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
39
39
|
end
|
|
40
40
|
end
|
|
@@ -549,11 +549,12 @@ module Google
|
|
|
549
549
|
include Google::Apis::Core::Hashable
|
|
550
550
|
|
|
551
551
|
# Required. Google Cloud Storage URIs to input files. URI can be up to 2000
|
|
552
|
-
# characters long. URIs can match the full object path (for example, gs://
|
|
553
|
-
# directory/object.json) or a pattern matching one or more files, such
|
|
554
|
-
# bucket/directory/*.json
|
|
555
|
-
# file can be up to 2 GB. See [Importing catalog information](/
|
|
556
|
-
# ai/docs/upload-catalog) for the expected file format and setup
|
|
552
|
+
# characters long. URIs can match the full object path (for example, `gs://
|
|
553
|
+
# bucket/directory/object.json`) or a pattern matching one or more files, such
|
|
554
|
+
# as `gs://bucket/directory/*.json`. A request can contain at most 100 files,
|
|
555
|
+
# and each file can be up to 2 GB. See [Importing catalog information](/
|
|
556
|
+
# recommendations-ai/docs/upload-catalog) for the expected file format and setup
|
|
557
|
+
# instructions.
|
|
557
558
|
# Corresponds to the JSON property `inputUris`
|
|
558
559
|
# @return [Array<String>]
|
|
559
560
|
attr_accessor :input_uris
|
|
@@ -1023,7 +1024,14 @@ module Google
|
|
|
1023
1024
|
# indicates the probability of an item being clicked/purchased given the user's
|
|
1024
1025
|
# context and history. * `strictFiltering`: Boolean. True by default. If set to
|
|
1025
1026
|
# false, the service will return generic (unfiltered) popular items instead of
|
|
1026
|
-
# empty if your filter blocks all prediction results.
|
|
1027
|
+
# empty if your filter blocks all prediction results. * `priceRerankLevel`:
|
|
1028
|
+
# String. Default empty. If set to be non-empty, then it needs to be one of `'no-
|
|
1029
|
+
# price-reranking', 'low-price-reranking', 'medium-price-reranking', 'high-price-
|
|
1030
|
+
# reranking'`. This gives request level control and adjust prediction results
|
|
1031
|
+
# based on product price. * `diversityLevel`: String. Default empty. If set to
|
|
1032
|
+
# be non-empty, then it needs to be one of `'no-diversity', 'low-diversity', '
|
|
1033
|
+
# medium-diversity', 'high-diversity', 'auto-diversity'`. This gives request
|
|
1034
|
+
# level control and adjust prediction results based on product category.
|
|
1027
1035
|
# Corresponds to the JSON property `params`
|
|
1028
1036
|
# @return [Hash<String,Object>]
|
|
1029
1037
|
attr_accessor :params
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module RecommendationengineV1beta1
|
|
18
18
|
# Version of the google-apis-recommendationengine_v1beta1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.7.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
|
-
GENERATOR_VERSION = "0.
|
|
22
|
+
GENERATOR_VERSION = "0.3.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20210513"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -132,8 +132,8 @@ module Google
|
|
|
132
132
|
|
|
133
133
|
# Creates a catalog item.
|
|
134
134
|
# @param [String] parent
|
|
135
|
-
# Required. The parent catalog resource name, such as
|
|
136
|
-
# global/catalogs/default_catalog
|
|
135
|
+
# Required. The parent catalog resource name, such as `projects/*/locations/
|
|
136
|
+
# global/catalogs/default_catalog`.
|
|
137
137
|
# @param [Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1CatalogItem] google_cloud_recommendationengine_v1beta1_catalog_item_object
|
|
138
138
|
# @param [String] fields
|
|
139
139
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -166,8 +166,8 @@ module Google
|
|
|
166
166
|
|
|
167
167
|
# Deletes a catalog item.
|
|
168
168
|
# @param [String] name
|
|
169
|
-
# Required. Full resource name of catalog item, such as
|
|
170
|
-
# global/catalogs/default_catalog/catalogItems/some_catalog_item_id
|
|
169
|
+
# Required. Full resource name of catalog item, such as `projects/*/locations/
|
|
170
|
+
# global/catalogs/default_catalog/catalogItems/some_catalog_item_id`.
|
|
171
171
|
# @param [String] fields
|
|
172
172
|
# Selector specifying which fields to include in a partial response.
|
|
173
173
|
# @param [String] quota_user
|
|
@@ -197,8 +197,8 @@ module Google
|
|
|
197
197
|
|
|
198
198
|
# Gets a specific catalog item.
|
|
199
199
|
# @param [String] name
|
|
200
|
-
# Required. Full resource name of catalog item, such as
|
|
201
|
-
# global/catalogs/default_catalog/catalogitems/some_catalog_item_id
|
|
200
|
+
# Required. Full resource name of catalog item, such as `projects/*/locations/
|
|
201
|
+
# global/catalogs/default_catalog/catalogitems/some_catalog_item_id`.
|
|
202
202
|
# @param [String] fields
|
|
203
203
|
# Selector specifying which fields to include in a partial response.
|
|
204
204
|
# @param [String] quota_user
|
|
@@ -231,7 +231,7 @@ module Google
|
|
|
231
231
|
# response is of type ImportResponse. Note that it is possible for a subset of
|
|
232
232
|
# the items to be successfully updated.
|
|
233
233
|
# @param [String] parent
|
|
234
|
-
# Required.
|
|
234
|
+
# Required. `projects/1234/locations/global/catalogs/default_catalog` If no
|
|
235
235
|
# updateMask is specified, requires catalogItems.create permission. If
|
|
236
236
|
# updateMask is specified, requires catalogItems.update permission.
|
|
237
237
|
# @param [Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1ImportCatalogItemsRequest] google_cloud_recommendationengine_v1beta1_import_catalog_items_request_object
|
|
@@ -266,8 +266,8 @@ module Google
|
|
|
266
266
|
|
|
267
267
|
# Gets a list of catalog items.
|
|
268
268
|
# @param [String] parent
|
|
269
|
-
# Required. The parent catalog resource name, such as
|
|
270
|
-
# global/catalogs/default_catalog
|
|
269
|
+
# Required. The parent catalog resource name, such as `projects/*/locations/
|
|
270
|
+
# global/catalogs/default_catalog`.
|
|
271
271
|
# @param [String] filter
|
|
272
272
|
# Optional. A filter to apply on the list results.
|
|
273
273
|
# @param [Fixnum] page_size
|
|
@@ -308,8 +308,8 @@ module Google
|
|
|
308
308
|
# Updates a catalog item. Partial updating is supported. Non-existing items will
|
|
309
309
|
# be created.
|
|
310
310
|
# @param [String] name
|
|
311
|
-
# Required. Full resource name of catalog item, such as
|
|
312
|
-
# global/catalogs/default_catalog/catalogItems/some_catalog_item_id
|
|
311
|
+
# Required. Full resource name of catalog item, such as `projects/*/locations/
|
|
312
|
+
# global/catalogs/default_catalog/catalogItems/some_catalog_item_id`.
|
|
313
313
|
# @param [Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1CatalogItem] google_cloud_recommendationengine_v1beta1_catalog_item_object
|
|
314
314
|
# @param [String] update_mask
|
|
315
315
|
# Optional. Indicates which fields in the provided 'item' to update. If not set,
|
|
@@ -426,8 +426,8 @@ module Google
|
|
|
426
426
|
# more](https://cloud.google.com/recommendations-ai/docs/setting-up#register-key)
|
|
427
427
|
# .
|
|
428
428
|
# @param [String] name
|
|
429
|
-
# Required. Full resource name of the format:
|
|
430
|
-
# catalogs/default_catalog/eventStores/default_event_store/placements
|
|
429
|
+
# Required. Full resource name of the format: ``name=projects/*/locations/global/
|
|
430
|
+
# catalogs/default_catalog/eventStores/default_event_store/placements/*`` The id
|
|
431
431
|
# of the recommendation engine placement. This id is used to identify the set of
|
|
432
432
|
# models that will be used to make the prediction. We currently support three
|
|
433
433
|
# placements with the following IDs by default: * `shopping_cart`: Predicts
|
|
@@ -478,8 +478,8 @@ module Google
|
|
|
478
478
|
|
|
479
479
|
# Register an API key for use with predict method.
|
|
480
480
|
# @param [String] parent
|
|
481
|
-
# Required. The parent resource path.
|
|
482
|
-
# default_catalog/eventStores/default_event_store
|
|
481
|
+
# Required. The parent resource path. `projects/*/locations/global/catalogs/
|
|
482
|
+
# default_catalog/eventStores/default_event_store`.
|
|
483
483
|
# @param [Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1CreatePredictionApiKeyRegistrationRequest] google_cloud_recommendationengine_v1beta1_create_prediction_api_key_registration_request_object
|
|
484
484
|
# @param [String] fields
|
|
485
485
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -512,9 +512,9 @@ module Google
|
|
|
512
512
|
|
|
513
513
|
# Unregister an apiKey from using for predict method.
|
|
514
514
|
# @param [String] name
|
|
515
|
-
# Required. The API key to unregister including full resource path.
|
|
515
|
+
# Required. The API key to unregister including full resource path. `projects/*/
|
|
516
516
|
# locations/global/catalogs/default_catalog/eventStores/default_event_store/
|
|
517
|
-
# predictionApiKeyRegistrations
|
|
517
|
+
# predictionApiKeyRegistrations/`
|
|
518
518
|
# @param [String] fields
|
|
519
519
|
# Selector specifying which fields to include in a partial response.
|
|
520
520
|
# @param [String] quota_user
|
|
@@ -544,8 +544,8 @@ module Google
|
|
|
544
544
|
|
|
545
545
|
# List the registered apiKeys for use with predict method.
|
|
546
546
|
# @param [String] parent
|
|
547
|
-
# Required. The parent placement resource name such as
|
|
548
|
-
# global/catalogs/default_catalog/eventStores/default_event_store
|
|
547
|
+
# Required. The parent placement resource name such as `projects/1234/locations/
|
|
548
|
+
# global/catalogs/default_catalog/eventStores/default_event_store`
|
|
549
549
|
# @param [Fixnum] page_size
|
|
550
550
|
# Optional. Maximum number of results to return per page. If unset, the service
|
|
551
551
|
# will choose a reasonable default.
|
|
@@ -585,8 +585,8 @@ module Google
|
|
|
585
585
|
# only by the Recommendations AI JavaScript pixel. Users should not call this
|
|
586
586
|
# method directly.
|
|
587
587
|
# @param [String] parent
|
|
588
|
-
# Required. The parent eventStore name, such as
|
|
589
|
-
# catalogs/default_catalog/eventStores/default_event_store
|
|
588
|
+
# Required. The parent eventStore name, such as `projects/1234/locations/global/
|
|
589
|
+
# catalogs/default_catalog/eventStores/default_event_store`.
|
|
590
590
|
# @param [Fixnum] ets
|
|
591
591
|
# Optional. The event timestamp in milliseconds. This prevents browser caching
|
|
592
592
|
# of otherwise identical get requests. The name is abbreviated to reduce the
|
|
@@ -634,8 +634,8 @@ module Google
|
|
|
634
634
|
# possible for a subset of the items to be successfully inserted. Operation.
|
|
635
635
|
# metadata is of type ImportMetadata.
|
|
636
636
|
# @param [String] parent
|
|
637
|
-
# Required.
|
|
638
|
-
# default_event_store
|
|
637
|
+
# Required. `projects/1234/locations/global/catalogs/default_catalog/eventStores/
|
|
638
|
+
# default_event_store`
|
|
639
639
|
# @param [Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1ImportUserEventsRequest] google_cloud_recommendationengine_v1beta1_import_user_events_request_object
|
|
640
640
|
# @param [String] fields
|
|
641
641
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -673,8 +673,8 @@ module Google
|
|
|
673
673
|
# If a catalog item of the ingested event is not in the current catalog, it
|
|
674
674
|
# could lead to degraded model quality. This is called an unjoined event.
|
|
675
675
|
# @param [String] parent
|
|
676
|
-
# Required. The parent eventStore resource name, such as
|
|
677
|
-
# catalogs/default_catalog/eventStores/default_event_store
|
|
676
|
+
# Required. The parent eventStore resource name, such as `projects/*/locations/*/
|
|
677
|
+
# catalogs/default_catalog/eventStores/default_event_store`.
|
|
678
678
|
# @param [String] filter
|
|
679
679
|
# Optional. Filtering expression to specify restrictions over returned events.
|
|
680
680
|
# This is a sequence of terms, where each term applies some kind of a
|
|
@@ -735,8 +735,8 @@ module Google
|
|
|
735
735
|
# first.
|
|
736
736
|
# @param [String] parent
|
|
737
737
|
# Required. The resource name of the event_store under which the events are
|
|
738
|
-
# created. The format is
|
|
739
|
-
# catalogId`/eventStores/$`eventStoreId
|
|
738
|
+
# created. The format is `projects/$`projectId`/locations/global/catalogs/$`
|
|
739
|
+
# catalogId`/eventStores/$`eventStoreId``
|
|
740
740
|
# @param [Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1PurgeUserEventsRequest] google_cloud_recommendationengine_v1beta1_purge_user_events_request_object
|
|
741
741
|
# @param [String] fields
|
|
742
742
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -775,8 +775,8 @@ module Google
|
|
|
775
775
|
# catalog items. It can also be used to correct events joined with wrong catalog
|
|
776
776
|
# items.
|
|
777
777
|
# @param [String] parent
|
|
778
|
-
# Required. Full resource name of user event, such as
|
|
779
|
-
# catalogs/default_catalog/eventStores/default_event_store
|
|
778
|
+
# Required. Full resource name of user event, such as `projects/*/locations/*/
|
|
779
|
+
# catalogs/default_catalog/eventStores/default_event_store`.
|
|
780
780
|
# @param [Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1RejoinUserEventsRequest] google_cloud_recommendationengine_v1beta1_rejoin_user_events_request_object
|
|
781
781
|
# @param [String] fields
|
|
782
782
|
# Selector specifying which fields to include in a partial response.
|
metadata
CHANGED
|
@@ -1,29 +1,35 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-recommendationengine_v1beta1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.7.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-06-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: google-apis-core
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- - "
|
|
17
|
+
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: '0.
|
|
19
|
+
version: '0.3'
|
|
20
|
+
- - "<"
|
|
21
|
+
- !ruby/object:Gem::Version
|
|
22
|
+
version: 2.a
|
|
20
23
|
type: :runtime
|
|
21
24
|
prerelease: false
|
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
26
|
requirements:
|
|
24
|
-
- - "
|
|
27
|
+
- - ">="
|
|
28
|
+
- !ruby/object:Gem::Version
|
|
29
|
+
version: '0.3'
|
|
30
|
+
- - "<"
|
|
25
31
|
- !ruby/object:Gem::Version
|
|
26
|
-
version:
|
|
32
|
+
version: 2.a
|
|
27
33
|
description: This is the simple REST client for Recommendations AI (Beta) V1beta1.
|
|
28
34
|
Simple REST clients are Ruby client libraries that provide access to Google services
|
|
29
35
|
via their HTTP REST API endpoints. These libraries are generated and updated automatically
|
|
@@ -52,7 +58,7 @@ licenses:
|
|
|
52
58
|
metadata:
|
|
53
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
54
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-recommendationengine_v1beta1/CHANGELOG.md
|
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-recommendationengine_v1beta1/v0.
|
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-recommendationengine_v1beta1/v0.7.0
|
|
56
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-recommendationengine_v1beta1
|
|
57
63
|
post_install_message:
|
|
58
64
|
rdoc_options: []
|
|
@@ -62,14 +68,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
62
68
|
requirements:
|
|
63
69
|
- - ">="
|
|
64
70
|
- !ruby/object:Gem::Version
|
|
65
|
-
version: '2.
|
|
71
|
+
version: '2.5'
|
|
66
72
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
67
73
|
requirements:
|
|
68
74
|
- - ">="
|
|
69
75
|
- !ruby/object:Gem::Version
|
|
70
76
|
version: '0'
|
|
71
77
|
requirements: []
|
|
72
|
-
rubygems_version: 3.2.
|
|
78
|
+
rubygems_version: 3.2.17
|
|
73
79
|
signing_key:
|
|
74
80
|
specification_version: 4
|
|
75
81
|
summary: Simple REST client for Recommendations AI (Beta) V1beta1
|