google-apis-recommendationengine_v1beta1 0.4.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 672a296ff098d15b4cc07f6e5e4a2314421dd1b0c32ec04206ea6e682c3a79ef
4
- data.tar.gz: 547d9fe10d8543398f960d13bf0ce7a69454de895bc24bb536d3c066553a58bb
3
+ metadata.gz: 9f74645770b2dd2fe45bca0c5a45fc72eda7b7db93250844ee9393423f7f34d9
4
+ data.tar.gz: 680d31141026ca308f76783228883443d40328f94d6a3e81ce9971cae6832596
5
5
  SHA512:
6
- metadata.gz: 2675aa0a80c3d781a9f8b481eb9418465162d973c6bf5320d0592e9fc6171bdf635f8a2da4b2187446ae3555c4ff21bc72e268be73efb46e7673f5bb351f733e
7
- data.tar.gz: 8a993cde7422c3c68b6ee6049c8d3121e55d6a3f07962c4d978bbb4f4eb20a9035e78f22c8a53c9e5c55437ffd291628db0d8abfd26a45e84e2aa8d900ae34dd
6
+ metadata.gz: 912a5f071ee836ba35eec3feb5402ef243ef93d48a88a4aee29c9a2825159f76d13650b3e4a0bdc2567fff37ace7700612202184415fa39f4172e49525096c7d
7
+ data.tar.gz: 5988848c05fdf69beab10db16a180b709c73623ed78dbd6df2ee11c648d2e45c0e2cc2a256ca9d83684441b17a4285b5b0f52dfd44a7f35a7b244c0fd41f92b3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-recommendationengine_v1beta1
2
2
 
3
+ ### v0.5.0 (2021-05-15)
4
+
5
+ * Regenerated from discovery document revision 20210513
6
+
3
7
  ### v0.4.0 (2021-03-27)
4
8
 
5
9
  * Regenerated from discovery document revision 20210319
@@ -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://bucket/
553
- # directory/object.json) or a pattern matching one or more files, such as gs://
554
- # bucket/directory/*.json. A request can contain at most 100 files, and each
555
- # file can be up to 2 GB. See [Importing catalog information](/recommendations-
556
- # ai/docs/upload-catalog) for the expected file format and setup instructions.
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.4.0"
19
+ GEM_VERSION = "0.5.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210319"
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 "projects/*/locations/
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 "projects/*/locations/
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 "projects/*/locations/
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. "projects/1234/locations/global/catalogs/default_catalog" If no
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 "projects/*/locations/
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 "projects/*/locations/
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: `name=projects/*/locations/global/
430
- # catalogs/default_catalog/eventStores/default_event_store/placements/*` The id
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. "projects/*/locations/global/catalogs/
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. "projects/*/
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 "projects/1234/locations/
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 "projects/1234/locations/global/
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. "projects/1234/locations/global/catalogs/default_catalog/eventStores/
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 "projects/*/locations/*/
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 "projects/$`projectId`/locations/global/catalogs/$`
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 "projects/*/locations/*/
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,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-recommendationengine_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.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-03-29 00:00:00.000000000 Z
11
+ date: 2021-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  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.4.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-recommendationengine_v1beta1/v0.5.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-recommendationengine_v1beta1
57
57
  post_install_message:
58
58
  rdoc_options: []
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.2.13
72
+ rubygems_version: 3.2.17
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for Recommendations AI (Beta) V1beta1