google-cloud-retail-v2 0.4.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (24) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/retail/v2/catalog_service/client.rb +47 -46
  3. data/lib/google/cloud/retail/v2/catalog_service_services_pb.rb +4 -4
  4. data/lib/google/cloud/retail/v2/completion_service/client.rb +49 -50
  5. data/lib/google/cloud/retail/v2/completion_service/operations.rb +30 -21
  6. data/lib/google/cloud/retail/v2/completion_service.rb +2 -2
  7. data/lib/google/cloud/retail/v2/completion_service_services_pb.rb +6 -6
  8. data/lib/google/cloud/retail/v2/prediction_service/client.rb +34 -39
  9. data/lib/google/cloud/retail/v2/product_service/client.rb +69 -53
  10. data/lib/google/cloud/retail/v2/product_service/operations.rb +30 -21
  11. data/lib/google/cloud/retail/v2/product_service_services_pb.rb +6 -6
  12. data/lib/google/cloud/retail/v2/search_service/client.rb +83 -77
  13. data/lib/google/cloud/retail/v2/search_service.rb +2 -2
  14. data/lib/google/cloud/retail/v2/search_service_pb.rb +2 -0
  15. data/lib/google/cloud/retail/v2/search_service_services_pb.rb +4 -4
  16. data/lib/google/cloud/retail/v2/user_event_service/client.rb +56 -43
  17. data/lib/google/cloud/retail/v2/user_event_service/operations.rb +30 -21
  18. data/lib/google/cloud/retail/v2/version.rb +1 -1
  19. data/proto_docs/google/cloud/retail/v2/completion_service.rb +9 -7
  20. data/proto_docs/google/cloud/retail/v2/import_config.rb +4 -4
  21. data/proto_docs/google/cloud/retail/v2/product.rb +11 -8
  22. data/proto_docs/google/cloud/retail/v2/search_service.rb +103 -218
  23. data/proto_docs/google/cloud/retail/v2/user_event.rb +15 -3
  24. metadata +4 -4
@@ -260,9 +260,21 @@ module Google
260
260
  # @return [::Google::Cloud::Retail::V2::Product]
261
261
  # Required. {::Google::Cloud::Retail::V2::Product Product} information.
262
262
  #
263
- # Only {::Google::Cloud::Retail::V2::Product#id Product.id} field is used when
264
- # ingesting an event, all other product fields are ignored as we will look
265
- # them up from the catalog.
263
+ # Required field(s):
264
+ #
265
+ # * {::Google::Cloud::Retail::V2::Product#id Product.id}
266
+ #
267
+ # Optional override field(s):
268
+ #
269
+ # * {::Google::Cloud::Retail::V2::Product#price_info Product.price_info}
270
+ #
271
+ # If any supported optional fields are provided, we will treat them as a full
272
+ # override when looking up product information from the catalog. Thus, it is
273
+ # important to ensure that the overriding fields are accurate and
274
+ # complete.
275
+ #
276
+ # All other product fields are ignored and instead populated via catalog
277
+ # lookup after event ingestion.
266
278
  # @!attribute [rw] quantity
267
279
  # @return [::Google::Protobuf::Int32Value]
268
280
  # Quantity of the product associated with the user event.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-retail-v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.1
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-07-30 00:00:00.000000000 Z
11
+ date: 2021-08-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.5'
19
+ version: '0.7'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.5'
29
+ version: '0.7'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a