google-cloud-recommendation_engine-v1beta1 0.5.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (29) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/google/cloud/recommendation_engine/v1beta1/catalog_service/client.rb +2 -2
  4. data/lib/google/cloud/recommendation_engine/v1beta1/catalog_service/operations.rb +2 -2
  5. data/lib/google/cloud/recommendation_engine/v1beta1/catalog_service/rest/client.rb +2 -2
  6. data/lib/google/cloud/recommendation_engine/v1beta1/catalog_service/rest/operations.rb +2 -2
  7. data/lib/google/cloud/recommendation_engine/v1beta1/prediction_api_key_registry/client.rb +2 -2
  8. data/lib/google/cloud/recommendation_engine/v1beta1/prediction_api_key_registry/rest/client.rb +2 -2
  9. data/lib/google/cloud/recommendation_engine/v1beta1/prediction_service/client.rb +2 -2
  10. data/lib/google/cloud/recommendation_engine/v1beta1/prediction_service/rest/client.rb +2 -2
  11. data/lib/google/cloud/recommendation_engine/v1beta1/user_event_service/client.rb +2 -2
  12. data/lib/google/cloud/recommendation_engine/v1beta1/user_event_service/operations.rb +2 -2
  13. data/lib/google/cloud/recommendation_engine/v1beta1/user_event_service/rest/client.rb +2 -2
  14. data/lib/google/cloud/recommendation_engine/v1beta1/user_event_service/rest/operations.rb +2 -2
  15. data/lib/google/cloud/recommendation_engine/v1beta1/version.rb +1 -1
  16. data/lib/google/cloud/recommendationengine/v1beta1/catalog_pb.rb +25 -49
  17. data/lib/google/cloud/recommendationengine/v1beta1/catalog_service_pb.rb +26 -26
  18. data/lib/google/cloud/recommendationengine/v1beta1/common_pb.rb +24 -11
  19. data/lib/google/cloud/recommendationengine/v1beta1/import_pb.rb +28 -55
  20. data/lib/google/cloud/recommendationengine/v1beta1/prediction_apikey_registry_service_pb.rb +24 -20
  21. data/lib/google/cloud/recommendationengine/v1beta1/prediction_service_pb.rb +26 -23
  22. data/lib/google/cloud/recommendationengine/v1beta1/recommendationengine_resources_pb.rb +25 -2
  23. data/lib/google/cloud/recommendationengine/v1beta1/user_event_pb.rb +27 -55
  24. data/lib/google/cloud/recommendationengine/v1beta1/user_event_service_pb.rb +26 -34
  25. data/proto_docs/google/api/client.rb +67 -4
  26. data/proto_docs/google/protobuf/any.rb +7 -4
  27. data/proto_docs/google/protobuf/struct.rb +1 -1
  28. data/proto_docs/google/protobuf/timestamp.rb +1 -3
  29. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 18678e203a4c71f0239cb3a340813b1066ac42b94bd2f48b5878a9fa9fb62df9
4
- data.tar.gz: d8aecef40f0fea72dc98a2b1b461cdfd9ddcff213927edcfa2e62dcf12766ad1
3
+ metadata.gz: fd4a711e48d28a9e3fdd593d42fc7c5093066fa0d381e449fe3a177f00f2d8f2
4
+ data.tar.gz: cf8fe6e914556568699b6ed869bf2476394901343548b29fac64361c395cd5e6
5
5
  SHA512:
6
- metadata.gz: fa8d06f0580d3e84bd84ee59c90c3eaaf1e36ee76eb690db14c295097bdad04acbfb3d71fd7f664bcc75a4dbde700b98dc4ab1b8af1abb41515357e2378831e4
7
- data.tar.gz: e1c22e00c4455256997be42076ad6be2ec1287fc3c60afbfebf6bf97a34e6b7c516f77f701d2ae86f40dc8f4b42913cb74c9fdfc03d7a8f19ede119b9f6fef70
6
+ metadata.gz: a0f2d5e019b523bb5d77d41bbe8e498572412f4cfcedeb4bed4e41327e4319790b7d875a447c37cb1309ed4a6aba8c706f76448ada521c3563478bf0a62407ed
7
+ data.tar.gz: 95ac82d4fa6640e8f49bb42b819d83b863e61b626d3b5ee54bc137f624e82bddd6238616195b67e0a81df3ca8ee59006140fe29c7767157e0c41393d5c3cd593
data/README.md CHANGED
@@ -47,7 +47,7 @@ for general usage information.
47
47
 
48
48
  To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
49
49
  The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
50
- or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
50
+ or a [`Google::Cloud::Logging::Logger`](https://cloud.google.com/ruby/docs/reference/google-cloud-logging/latest)
51
51
  that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
52
52
  and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
53
53
 
@@ -783,9 +783,9 @@ module Google
783
783
  # * (`String`) The path to a service account key file in JSON format
784
784
  # * (`Hash`) A service account key as a Hash
785
785
  # * (`Google::Auth::Credentials`) A googleauth credentials object
786
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
786
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
787
787
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
788
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
788
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
789
789
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
790
790
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
791
791
  # * (`nil`) indicating no credentials
@@ -620,9 +620,9 @@ module Google
620
620
  # * (`String`) The path to a service account key file in JSON format
621
621
  # * (`Hash`) A service account key as a Hash
622
622
  # * (`Google::Auth::Credentials`) A googleauth credentials object
623
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
623
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
624
624
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
625
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
625
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
626
626
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
627
627
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
628
628
  # * (`nil`) indicating no credentials
@@ -625,9 +625,9 @@ module Google
625
625
  # * (`String`) The path to a service account key file in JSON format
626
626
  # * (`Hash`) A service account key as a Hash
627
627
  # * (`Google::Auth::Credentials`) A googleauth credentials object
628
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
628
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
629
629
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
630
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
630
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
631
631
  # * (`nil`) indicating no credentials
632
632
  # @return [::Object]
633
633
  # @!attribute [rw] scope
@@ -411,9 +411,9 @@ module Google
411
411
  # * (`String`) The path to a service account key file in JSON format
412
412
  # * (`Hash`) A service account key as a Hash
413
413
  # * (`Google::Auth::Credentials`) A googleauth credentials object
414
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
414
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
415
415
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
416
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
416
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
417
417
  # * (`nil`) indicating no credentials
418
418
  # @return [::Object]
419
419
  # @!attribute [rw] scope
@@ -471,9 +471,9 @@ module Google
471
471
  # * (`String`) The path to a service account key file in JSON format
472
472
  # * (`Hash`) A service account key as a Hash
473
473
  # * (`Google::Auth::Credentials`) A googleauth credentials object
474
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
474
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
475
475
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
476
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
476
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
477
477
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
478
478
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
479
479
  # * (`nil`) indicating no credentials
@@ -389,9 +389,9 @@ module Google
389
389
  # * (`String`) The path to a service account key file in JSON format
390
390
  # * (`Hash`) A service account key as a Hash
391
391
  # * (`Google::Auth::Credentials`) A googleauth credentials object
392
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
392
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
393
393
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
394
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
394
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
395
395
  # * (`nil`) indicating no credentials
396
396
  # @return [::Object]
397
397
  # @!attribute [rw] scope
@@ -367,9 +367,9 @@ module Google
367
367
  # * (`String`) The path to a service account key file in JSON format
368
368
  # * (`Hash`) A service account key as a Hash
369
369
  # * (`Google::Auth::Credentials`) A googleauth credentials object
370
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
370
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
371
371
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
372
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
372
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
373
373
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
374
374
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
375
375
  # * (`nil`) indicating no credentials
@@ -331,9 +331,9 @@ module Google
331
331
  # * (`String`) The path to a service account key file in JSON format
332
332
  # * (`Hash`) A service account key as a Hash
333
333
  # * (`Google::Auth::Credentials`) A googleauth credentials object
334
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
334
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
335
335
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
336
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
336
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
337
337
  # * (`nil`) indicating no credentials
338
338
  # @return [::Object]
339
339
  # @!attribute [rw] scope
@@ -770,9 +770,9 @@ module Google
770
770
  # * (`String`) The path to a service account key file in JSON format
771
771
  # * (`Hash`) A service account key as a Hash
772
772
  # * (`Google::Auth::Credentials`) A googleauth credentials object
773
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
773
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
774
774
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
775
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
775
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
776
776
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
777
777
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
778
778
  # * (`nil`) indicating no credentials
@@ -620,9 +620,9 @@ module Google
620
620
  # * (`String`) The path to a service account key file in JSON format
621
621
  # * (`Hash`) A service account key as a Hash
622
622
  # * (`Google::Auth::Credentials`) A googleauth credentials object
623
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
623
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
624
624
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
625
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
625
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
626
626
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
627
627
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
628
628
  # * (`nil`) indicating no credentials
@@ -628,9 +628,9 @@ module Google
628
628
  # * (`String`) The path to a service account key file in JSON format
629
629
  # * (`Hash`) A service account key as a Hash
630
630
  # * (`Google::Auth::Credentials`) A googleauth credentials object
631
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
631
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
632
632
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
633
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
633
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
634
634
  # * (`nil`) indicating no credentials
635
635
  # @return [::Object]
636
636
  # @!attribute [rw] scope
@@ -411,9 +411,9 @@ module Google
411
411
  # * (`String`) The path to a service account key file in JSON format
412
412
  # * (`Hash`) A service account key as a Hash
413
413
  # * (`Google::Auth::Credentials`) A googleauth credentials object
414
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
414
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
415
415
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
416
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
416
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
417
417
  # * (`nil`) indicating no credentials
418
418
  # @return [::Object]
419
419
  # @!attribute [rw] scope
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module RecommendationEngine
23
23
  module V1beta1
24
- VERSION = "0.5.0"
24
+ VERSION = "0.6.0"
25
25
  end
26
26
  end
27
27
  end
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/recommendationengine/v1beta1/catalog.proto
3
4
 
@@ -6,57 +7,32 @@ require 'google/protobuf'
6
7
  require 'google/api/field_behavior_pb'
7
8
  require 'google/cloud/recommendationengine/v1beta1/common_pb'
8
9
 
9
- Google::Protobuf::DescriptorPool.generated_pool.build do
10
- add_file("google/cloud/recommendationengine/v1beta1/catalog.proto", :syntax => :proto3) do
11
- add_message "google.cloud.recommendationengine.v1beta1.CatalogItem" do
12
- optional :id, :string, 1
13
- repeated :category_hierarchies, :message, 2, "google.cloud.recommendationengine.v1beta1.CatalogItem.CategoryHierarchy"
14
- optional :title, :string, 3
15
- optional :description, :string, 4
16
- optional :item_attributes, :message, 5, "google.cloud.recommendationengine.v1beta1.FeatureMap"
17
- optional :language_code, :string, 6
18
- repeated :tags, :string, 8
19
- optional :item_group_id, :string, 9
20
- oneof :recommendation_type do
21
- optional :product_metadata, :message, 10, "google.cloud.recommendationengine.v1beta1.ProductCatalogItem"
22
- end
23
- end
24
- add_message "google.cloud.recommendationengine.v1beta1.CatalogItem.CategoryHierarchy" do
25
- repeated :categories, :string, 1
26
- end
27
- add_message "google.cloud.recommendationengine.v1beta1.ProductCatalogItem" do
28
- map :costs, :string, :float, 3
29
- optional :currency_code, :string, 4
30
- optional :stock_state, :enum, 5, "google.cloud.recommendationengine.v1beta1.ProductCatalogItem.StockState"
31
- optional :available_quantity, :int64, 6
32
- optional :canonical_product_uri, :string, 7
33
- repeated :images, :message, 8, "google.cloud.recommendationengine.v1beta1.Image"
34
- oneof :price do
35
- optional :exact_price, :message, 1, "google.cloud.recommendationengine.v1beta1.ProductCatalogItem.ExactPrice"
36
- optional :price_range, :message, 2, "google.cloud.recommendationengine.v1beta1.ProductCatalogItem.PriceRange"
37
- end
38
- end
39
- add_message "google.cloud.recommendationengine.v1beta1.ProductCatalogItem.ExactPrice" do
40
- optional :display_price, :float, 1
41
- optional :original_price, :float, 2
42
- end
43
- add_message "google.cloud.recommendationengine.v1beta1.ProductCatalogItem.PriceRange" do
44
- optional :min, :float, 1
45
- optional :max, :float, 2
46
- end
47
- add_enum "google.cloud.recommendationengine.v1beta1.ProductCatalogItem.StockState" do
48
- value :STOCK_STATE_UNSPECIFIED, 0
49
- value :IN_STOCK, 0
50
- value :OUT_OF_STOCK, 1
51
- value :PREORDER, 2
52
- value :BACKORDER, 3
53
- end
54
- add_message "google.cloud.recommendationengine.v1beta1.Image" do
55
- optional :uri, :string, 1
56
- optional :height, :int32, 2
57
- optional :width, :int32, 3
10
+
11
+ descriptor_data = "\n7google/cloud/recommendationengine/v1beta1/catalog.proto\x12)google.cloud.recommendationengine.v1beta1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x36google/cloud/recommendationengine/v1beta1/common.proto\"\xfe\x03\n\x0b\x43\x61talogItem\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12k\n\x14\x63\x61tegory_hierarchies\x18\x02 \x03(\x0b\x32H.google.cloud.recommendationengine.v1beta1.CatalogItem.CategoryHierarchyB\x03\xe0\x41\x02\x12\x12\n\x05title\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12S\n\x0fitem_attributes\x18\x05 \x01(\x0b\x32\x35.google.cloud.recommendationengine.v1beta1.FeatureMapB\x03\xe0\x41\x01\x12\x1a\n\rlanguage_code\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12\x11\n\x04tags\x18\x08 \x03(\tB\x03\xe0\x41\x01\x12\x1a\n\ritem_group_id\x18\t \x01(\tB\x03\xe0\x41\x01\x12^\n\x10product_metadata\x18\n \x01(\x0b\x32=.google.cloud.recommendationengine.v1beta1.ProductCatalogItemB\x03\xe0\x41\x01H\x00\x1a,\n\x11\x43\x61tegoryHierarchy\x12\x17\n\ncategories\x18\x01 \x03(\tB\x03\xe0\x41\x02\x42\x15\n\x13recommendation_type\"\xe6\x06\n\x12ProductCatalogItem\x12\x64\n\x0b\x65xact_price\x18\x01 \x01(\x0b\x32H.google.cloud.recommendationengine.v1beta1.ProductCatalogItem.ExactPriceB\x03\xe0\x41\x01H\x00\x12\x64\n\x0bprice_range\x18\x02 \x01(\x0b\x32H.google.cloud.recommendationengine.v1beta1.ProductCatalogItem.PriceRangeB\x03\xe0\x41\x01H\x00\x12\\\n\x05\x63osts\x18\x03 \x03(\x0b\x32H.google.cloud.recommendationengine.v1beta1.ProductCatalogItem.CostsEntryB\x03\xe0\x41\x01\x12\x1a\n\rcurrency_code\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x62\n\x0bstock_state\x18\x05 \x01(\x0e\x32H.google.cloud.recommendationengine.v1beta1.ProductCatalogItem.StockStateB\x03\xe0\x41\x01\x12\x1f\n\x12\x61vailable_quantity\x18\x06 \x01(\x03\x42\x03\xe0\x41\x01\x12\"\n\x15\x63\x61nonical_product_uri\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12\x45\n\x06images\x18\x08 \x03(\x0b\x32\x30.google.cloud.recommendationengine.v1beta1.ImageB\x03\xe0\x41\x01\x1a\x45\n\nExactPrice\x12\x1a\n\rdisplay_price\x18\x01 \x01(\x02\x42\x03\xe0\x41\x01\x12\x1b\n\x0eoriginal_price\x18\x02 \x01(\x02\x42\x03\xe0\x41\x01\x1a\x30\n\nPriceRange\x12\x10\n\x03min\x18\x01 \x01(\x02\x42\x03\xe0\x41\x02\x12\x10\n\x03max\x18\x02 \x01(\x02\x42\x03\xe0\x41\x02\x1a,\n\nCostsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\"j\n\nStockState\x12\x1b\n\x17STOCK_STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08IN_STOCK\x10\x00\x12\x10\n\x0cOUT_OF_STOCK\x10\x01\x12\x0c\n\x08PREORDER\x10\x02\x12\r\n\tBACKORDER\x10\x03\x1a\x02\x10\x01\x42\x07\n\x05price\"B\n\x05Image\x12\x10\n\x03uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06height\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x12\n\x05width\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x42\xa3\x02\n-com.google.cloud.recommendationengine.v1beta1P\x01Zacloud.google.com/go/recommendationengine/apiv1beta1/recommendationenginepb;recommendationenginepb\xa2\x02\x05RECAI\xaa\x02)Google.Cloud.RecommendationEngine.V1Beta1\xca\x02)Google\\Cloud\\RecommendationEngine\\V1beta1\xea\x02,Google::Cloud::RecommendationEngine::V1beta1b\x06proto3"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+
15
+ begin
16
+ pool.add_serialized_file(descriptor_data)
17
+ rescue TypeError => e
18
+ # Compatibility code: will be removed in the next major version.
19
+ require 'google/protobuf/descriptor_pb'
20
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
21
+ parsed.clear_dependency
22
+ serialized = parsed.class.encode(parsed)
23
+ file = pool.add_serialized_file(serialized)
24
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
25
+ imports = [
26
+ ["google.cloud.recommendationengine.v1beta1.FeatureMap", "google/cloud/recommendationengine/v1beta1/common.proto"],
27
+ ]
28
+ imports.each do |type_name, expected_filename|
29
+ import_file = pool.lookup(type_name).file_descriptor
30
+ if import_file.name != expected_filename
31
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
58
32
  end
59
33
  end
34
+ warn "Each proto file must use a consistent fully-qualified name."
35
+ warn "This will become an error in the next major version."
60
36
  end
61
37
 
62
38
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/recommendationengine/v1beta1/catalog_service.proto
3
4
 
@@ -14,34 +15,33 @@ require 'google/longrunning/operations_pb'
14
15
  require 'google/protobuf/empty_pb'
15
16
  require 'google/protobuf/field_mask_pb'
16
17
 
17
- Google::Protobuf::DescriptorPool.generated_pool.build do
18
- add_file("google/cloud/recommendationengine/v1beta1/catalog_service.proto", :syntax => :proto3) do
19
- add_message "google.cloud.recommendationengine.v1beta1.CreateCatalogItemRequest" do
20
- optional :parent, :string, 1
21
- optional :catalog_item, :message, 2, "google.cloud.recommendationengine.v1beta1.CatalogItem"
22
- end
23
- add_message "google.cloud.recommendationengine.v1beta1.GetCatalogItemRequest" do
24
- optional :name, :string, 1
25
- end
26
- add_message "google.cloud.recommendationengine.v1beta1.ListCatalogItemsRequest" do
27
- optional :parent, :string, 1
28
- optional :page_size, :int32, 2
29
- optional :page_token, :string, 3
30
- optional :filter, :string, 4
31
- end
32
- add_message "google.cloud.recommendationengine.v1beta1.ListCatalogItemsResponse" do
33
- repeated :catalog_items, :message, 1, "google.cloud.recommendationengine.v1beta1.CatalogItem"
34
- optional :next_page_token, :string, 2
35
- end
36
- add_message "google.cloud.recommendationengine.v1beta1.UpdateCatalogItemRequest" do
37
- optional :name, :string, 1
38
- optional :catalog_item, :message, 2, "google.cloud.recommendationengine.v1beta1.CatalogItem"
39
- optional :update_mask, :message, 3, "google.protobuf.FieldMask"
40
- end
41
- add_message "google.cloud.recommendationengine.v1beta1.DeleteCatalogItemRequest" do
42
- optional :name, :string, 1
18
+
19
+ descriptor_data = "\n?google/cloud/recommendationengine/v1beta1/catalog_service.proto\x12)google.cloud.recommendationengine.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x37google/cloud/recommendationengine/v1beta1/catalog.proto\x1a\x36google/cloud/recommendationengine/v1beta1/import.proto\x1aNgoogle/cloud/recommendationengine/v1beta1/recommendationengine_resources.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\xb2\x01\n\x18\x43reateCatalogItemRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+recommendationengine.googleapis.com/Catalog\x12Q\n\x0c\x63\x61talog_item\x18\x02 \x01(\x0b\x32\x36.google.cloud.recommendationengine.v1beta1.CatalogItemB\x03\xe0\x41\x02\"b\n\x15GetCatalogItemRequest\x12I\n\x04name\x18\x01 \x01(\tB;\xe0\x41\x02\xfa\x41\x35\n3recommendationengine.googleapis.com/CatalogItemPath\"\xa4\x01\n\x17ListCatalogItemsRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+recommendationengine.googleapis.com/Catalog\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\x82\x01\n\x18ListCatalogItemsResponse\x12M\n\rcatalog_items\x18\x01 \x03(\x0b\x32\x36.google.cloud.recommendationengine.v1beta1.CatalogItem\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xe9\x01\n\x18UpdateCatalogItemRequest\x12I\n\x04name\x18\x01 \x01(\tB;\xe0\x41\x02\xfa\x41\x35\n3recommendationengine.googleapis.com/CatalogItemPath\x12Q\n\x0c\x63\x61talog_item\x18\x02 \x01(\x0b\x32\x36.google.cloud.recommendationengine.v1beta1.CatalogItemB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"e\n\x18\x44\x65leteCatalogItemRequest\x12I\n\x04name\x18\x01 \x01(\tB;\xe0\x41\x02\xfa\x41\x35\n3recommendationengine.googleapis.com/CatalogItemPath2\x96\r\n\x0e\x43\x61talogService\x12\xfe\x01\n\x11\x43reateCatalogItem\x12\x43.google.cloud.recommendationengine.v1beta1.CreateCatalogItemRequest\x1a\x36.google.cloud.recommendationengine.v1beta1.CatalogItem\"l\x82\xd3\xe4\x93\x02P\"@/v1beta1/{parent=projects/*/locations/*/catalogs/*}/catalogItems:\x0c\x63\x61talog_item\xda\x41\x13parent,catalog_item\x12\xdc\x01\n\x0eGetCatalogItem\x12@.google.cloud.recommendationengine.v1beta1.GetCatalogItemRequest\x1a\x36.google.cloud.recommendationengine.v1beta1.CatalogItem\"P\x82\xd3\xe4\x93\x02\x43\x12\x41/v1beta1/{name=projects/*/locations/*/catalogs/*/catalogItems/**}\xda\x41\x04name\x12\xf5\x01\n\x10ListCatalogItems\x12\x42.google.cloud.recommendationengine.v1beta1.ListCatalogItemsRequest\x1a\x43.google.cloud.recommendationengine.v1beta1.ListCatalogItemsResponse\"X\x82\xd3\xe4\x93\x02\x42\x12@/v1beta1/{parent=projects/*/locations/*/catalogs/*}/catalogItems\xda\x41\rparent,filter\x12\x89\x02\n\x11UpdateCatalogItem\x12\x43.google.cloud.recommendationengine.v1beta1.UpdateCatalogItemRequest\x1a\x36.google.cloud.recommendationengine.v1beta1.CatalogItem\"w\x82\xd3\xe4\x93\x02Q2A/v1beta1/{name=projects/*/locations/*/catalogs/*/catalogItems/**}:\x0c\x63\x61talog_item\xda\x41\x1dname,catalog_item,update_mask\x12\xc2\x01\n\x11\x44\x65leteCatalogItem\x12\x43.google.cloud.recommendationengine.v1beta1.DeleteCatalogItemRequest\x1a\x16.google.protobuf.Empty\"P\x82\xd3\xe4\x93\x02\x43*A/v1beta1/{name=projects/*/locations/*/catalogs/*/catalogItems/**}\xda\x41\x04name\x12\x81\x03\n\x12ImportCatalogItems\x12\x44.google.cloud.recommendationengine.v1beta1.ImportCatalogItemsRequest\x1a\x1d.google.longrunning.Operation\"\x85\x02\x82\xd3\xe4\x93\x02L\"G/v1beta1/{parent=projects/*/locations/*/catalogs/*}/catalogItems:import:\x01*\xca\x41\x80\x01\nDgoogle.cloud.recommendationengine.v1beta1.ImportCatalogItemsResponse\x12\x38google.cloud.recommendationengine.v1beta1.ImportMetadata\xda\x41,parent,request_id,input_config,errors_config\x1aW\xca\x41#recommendationengine.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xa3\x02\n-com.google.cloud.recommendationengine.v1beta1P\x01Zacloud.google.com/go/recommendationengine/apiv1beta1/recommendationenginepb;recommendationenginepb\xa2\x02\x05RECAI\xaa\x02)Google.Cloud.RecommendationEngine.V1Beta1\xca\x02)Google\\Cloud\\RecommendationEngine\\V1beta1\xea\x02,Google::Cloud::RecommendationEngine::V1beta1b\x06proto3"
20
+
21
+ pool = Google::Protobuf::DescriptorPool.generated_pool
22
+
23
+ begin
24
+ pool.add_serialized_file(descriptor_data)
25
+ rescue TypeError => e
26
+ # Compatibility code: will be removed in the next major version.
27
+ require 'google/protobuf/descriptor_pb'
28
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
29
+ parsed.clear_dependency
30
+ serialized = parsed.class.encode(parsed)
31
+ file = pool.add_serialized_file(serialized)
32
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
33
+ imports = [
34
+ ["google.cloud.recommendationengine.v1beta1.CatalogItem", "google/cloud/recommendationengine/v1beta1/catalog.proto"],
35
+ ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
36
+ ]
37
+ imports.each do |type_name, expected_filename|
38
+ import_file = pool.lookup(type_name).file_descriptor
39
+ if import_file.name != expected_filename
40
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
43
41
  end
44
42
  end
43
+ warn "Each proto file must use a consistent fully-qualified name."
44
+ warn "This will become an error in the next major version."
45
45
  end
46
46
 
47
47
  module Google
@@ -1,21 +1,34 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/recommendationengine/v1beta1/common.proto
3
4
 
4
5
  require 'google/protobuf'
5
6
 
6
- Google::Protobuf::DescriptorPool.generated_pool.build do
7
- add_file("google/cloud/recommendationengine/v1beta1/common.proto", :syntax => :proto3) do
8
- add_message "google.cloud.recommendationengine.v1beta1.FeatureMap" do
9
- map :categorical_features, :string, :message, 1, "google.cloud.recommendationengine.v1beta1.FeatureMap.StringList"
10
- map :numerical_features, :string, :message, 2, "google.cloud.recommendationengine.v1beta1.FeatureMap.FloatList"
11
- end
12
- add_message "google.cloud.recommendationengine.v1beta1.FeatureMap.StringList" do
13
- repeated :value, :string, 1
14
- end
15
- add_message "google.cloud.recommendationengine.v1beta1.FeatureMap.FloatList" do
16
- repeated :value, :float, 1
7
+
8
+ descriptor_data = "\n6google/cloud/recommendationengine/v1beta1/common.proto\x12)google.cloud.recommendationengine.v1beta1\"\x96\x04\n\nFeatureMap\x12l\n\x14\x63\x61tegorical_features\x18\x01 \x03(\x0b\x32N.google.cloud.recommendationengine.v1beta1.FeatureMap.CategoricalFeaturesEntry\x12h\n\x12numerical_features\x18\x02 \x03(\x0b\x32L.google.cloud.recommendationengine.v1beta1.FeatureMap.NumericalFeaturesEntry\x1a\x1b\n\nStringList\x12\r\n\x05value\x18\x01 \x03(\t\x1a\x1a\n\tFloatList\x12\r\n\x05value\x18\x01 \x03(\x02\x1a|\n\x18\x43\x61tegoricalFeaturesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12O\n\x05value\x18\x02 \x01(\x0b\x32@.google.cloud.recommendationengine.v1beta1.FeatureMap.StringList:\x02\x38\x01\x1ay\n\x16NumericalFeaturesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12N\n\x05value\x18\x02 \x01(\x0b\x32?.google.cloud.recommendationengine.v1beta1.FeatureMap.FloatList:\x02\x38\x01\x42\xa3\x02\n-com.google.cloud.recommendationengine.v1beta1P\x01Zacloud.google.com/go/recommendationengine/apiv1beta1/recommendationenginepb;recommendationenginepb\xa2\x02\x05RECAI\xaa\x02)Google.Cloud.RecommendationEngine.V1Beta1\xca\x02)Google\\Cloud\\RecommendationEngine\\V1beta1\xea\x02,Google::Cloud::RecommendationEngine::V1beta1b\x06proto3"
9
+
10
+ pool = Google::Protobuf::DescriptorPool.generated_pool
11
+
12
+ begin
13
+ pool.add_serialized_file(descriptor_data)
14
+ rescue TypeError => e
15
+ # Compatibility code: will be removed in the next major version.
16
+ require 'google/protobuf/descriptor_pb'
17
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
18
+ parsed.clear_dependency
19
+ serialized = parsed.class.encode(parsed)
20
+ file = pool.add_serialized_file(serialized)
21
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
22
+ imports = [
23
+ ]
24
+ imports.each do |type_name, expected_filename|
25
+ import_file = pool.lookup(type_name).file_descriptor
26
+ if import_file.name != expected_filename
27
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
17
28
  end
18
29
  end
30
+ warn "Each proto file must use a consistent fully-qualified name."
31
+ warn "This will become an error in the next major version."
19
32
  end
20
33
 
21
34
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/recommendationengine/v1beta1/import.proto
3
4
 
@@ -11,63 +12,35 @@ require 'google/cloud/recommendationengine/v1beta1/recommendationengine_resource
11
12
  require 'google/protobuf/timestamp_pb'
12
13
  require 'google/rpc/status_pb'
13
14
 
14
- Google::Protobuf::DescriptorPool.generated_pool.build do
15
- add_file("google/cloud/recommendationengine/v1beta1/import.proto", :syntax => :proto3) do
16
- add_message "google.cloud.recommendationengine.v1beta1.GcsSource" do
17
- repeated :input_uris, :string, 1
18
- end
19
- add_message "google.cloud.recommendationengine.v1beta1.CatalogInlineSource" do
20
- repeated :catalog_items, :message, 1, "google.cloud.recommendationengine.v1beta1.CatalogItem"
21
- end
22
- add_message "google.cloud.recommendationengine.v1beta1.UserEventInlineSource" do
23
- repeated :user_events, :message, 1, "google.cloud.recommendationengine.v1beta1.UserEvent"
24
- end
25
- add_message "google.cloud.recommendationengine.v1beta1.ImportErrorsConfig" do
26
- oneof :destination do
27
- optional :gcs_prefix, :string, 1
28
- end
29
- end
30
- add_message "google.cloud.recommendationengine.v1beta1.ImportCatalogItemsRequest" do
31
- optional :parent, :string, 1
32
- optional :request_id, :string, 2
33
- optional :input_config, :message, 3, "google.cloud.recommendationengine.v1beta1.InputConfig"
34
- optional :errors_config, :message, 4, "google.cloud.recommendationengine.v1beta1.ImportErrorsConfig"
35
- end
36
- add_message "google.cloud.recommendationengine.v1beta1.ImportUserEventsRequest" do
37
- optional :parent, :string, 1
38
- optional :request_id, :string, 2
39
- optional :input_config, :message, 3, "google.cloud.recommendationengine.v1beta1.InputConfig"
40
- optional :errors_config, :message, 4, "google.cloud.recommendationengine.v1beta1.ImportErrorsConfig"
41
- end
42
- add_message "google.cloud.recommendationengine.v1beta1.InputConfig" do
43
- oneof :source do
44
- optional :catalog_inline_source, :message, 1, "google.cloud.recommendationengine.v1beta1.CatalogInlineSource"
45
- optional :gcs_source, :message, 2, "google.cloud.recommendationengine.v1beta1.GcsSource"
46
- optional :user_event_inline_source, :message, 3, "google.cloud.recommendationengine.v1beta1.UserEventInlineSource"
47
- end
48
- end
49
- add_message "google.cloud.recommendationengine.v1beta1.ImportMetadata" do
50
- optional :operation_name, :string, 5
51
- optional :request_id, :string, 3
52
- optional :create_time, :message, 4, "google.protobuf.Timestamp"
53
- optional :success_count, :int64, 1
54
- optional :failure_count, :int64, 2
55
- optional :update_time, :message, 6, "google.protobuf.Timestamp"
56
- end
57
- add_message "google.cloud.recommendationengine.v1beta1.ImportCatalogItemsResponse" do
58
- repeated :error_samples, :message, 1, "google.rpc.Status"
59
- optional :errors_config, :message, 2, "google.cloud.recommendationengine.v1beta1.ImportErrorsConfig"
60
- end
61
- add_message "google.cloud.recommendationengine.v1beta1.ImportUserEventsResponse" do
62
- repeated :error_samples, :message, 1, "google.rpc.Status"
63
- optional :errors_config, :message, 2, "google.cloud.recommendationengine.v1beta1.ImportErrorsConfig"
64
- optional :import_summary, :message, 3, "google.cloud.recommendationengine.v1beta1.UserEventImportSummary"
65
- end
66
- add_message "google.cloud.recommendationengine.v1beta1.UserEventImportSummary" do
67
- optional :joined_events_count, :int64, 1
68
- optional :unjoined_events_count, :int64, 2
15
+
16
+ descriptor_data = "\n6google/cloud/recommendationengine/v1beta1/import.proto\x12)google.cloud.recommendationengine.v1beta1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x37google/cloud/recommendationengine/v1beta1/catalog.proto\x1a:google/cloud/recommendationengine/v1beta1/user_event.proto\x1aNgoogle/cloud/recommendationengine/v1beta1/recommendationengine_resources.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"$\n\tGcsSource\x12\x17\n\ninput_uris\x18\x01 \x03(\tB\x03\xe0\x41\x02\"i\n\x13\x43\x61talogInlineSource\x12R\n\rcatalog_items\x18\x01 \x03(\x0b\x32\x36.google.cloud.recommendationengine.v1beta1.CatalogItemB\x03\xe0\x41\x01\"g\n\x15UserEventInlineSource\x12N\n\x0buser_events\x18\x01 \x03(\x0b\x32\x34.google.cloud.recommendationengine.v1beta1.UserEventB\x03\xe0\x41\x01\"9\n\x12ImportErrorsConfig\x12\x14\n\ngcs_prefix\x18\x01 \x01(\tH\x00\x42\r\n\x0b\x64\x65stination\"\xa7\x02\n\x19ImportCatalogItemsRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+recommendationengine.googleapis.com/Catalog\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12Q\n\x0cinput_config\x18\x03 \x01(\x0b\x32\x36.google.cloud.recommendationengine.v1beta1.InputConfigB\x03\xe0\x41\x02\x12Y\n\rerrors_config\x18\x04 \x01(\x0b\x32=.google.cloud.recommendationengine.v1beta1.ImportErrorsConfigB\x03\xe0\x41\x01\"\xa8\x02\n\x17ImportUserEventsRequest\x12\x46\n\x06parent\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.recommendationengine.googleapis.com/EventStore\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12Q\n\x0cinput_config\x18\x03 \x01(\x0b\x32\x36.google.cloud.recommendationengine.v1beta1.InputConfigB\x03\xe0\x41\x02\x12Y\n\rerrors_config\x18\x04 \x01(\x0b\x32=.google.cloud.recommendationengine.v1beta1.ImportErrorsConfigB\x03\xe0\x41\x01\"\xaa\x02\n\x0bInputConfig\x12_\n\x15\x63\x61talog_inline_source\x18\x01 \x01(\x0b\x32>.google.cloud.recommendationengine.v1beta1.CatalogInlineSourceH\x00\x12J\n\ngcs_source\x18\x02 \x01(\x0b\x32\x34.google.cloud.recommendationengine.v1beta1.GcsSourceH\x00\x12\x64\n\x18user_event_inline_source\x18\x03 \x01(\x0b\x32@.google.cloud.recommendationengine.v1beta1.UserEventInlineSourceH\x00\x42\x08\n\x06source\"\xcc\x01\n\x0eImportMetadata\x12\x16\n\x0eoperation_name\x18\x05 \x01(\t\x12\x12\n\nrequest_id\x18\x03 \x01(\t\x12/\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x15\n\rsuccess_count\x18\x01 \x01(\x03\x12\x15\n\rfailure_count\x18\x02 \x01(\x03\x12/\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x9d\x01\n\x1aImportCatalogItemsResponse\x12)\n\rerror_samples\x18\x01 \x03(\x0b\x32\x12.google.rpc.Status\x12T\n\rerrors_config\x18\x02 \x01(\x0b\x32=.google.cloud.recommendationengine.v1beta1.ImportErrorsConfig\"\xf6\x01\n\x18ImportUserEventsResponse\x12)\n\rerror_samples\x18\x01 \x03(\x0b\x32\x12.google.rpc.Status\x12T\n\rerrors_config\x18\x02 \x01(\x0b\x32=.google.cloud.recommendationengine.v1beta1.ImportErrorsConfig\x12Y\n\x0eimport_summary\x18\x03 \x01(\x0b\x32\x41.google.cloud.recommendationengine.v1beta1.UserEventImportSummary\"T\n\x16UserEventImportSummary\x12\x1b\n\x13joined_events_count\x18\x01 \x01(\x03\x12\x1d\n\x15unjoined_events_count\x18\x02 \x01(\x03\x42\xa3\x02\n-com.google.cloud.recommendationengine.v1beta1P\x01Zacloud.google.com/go/recommendationengine/apiv1beta1/recommendationenginepb;recommendationenginepb\xa2\x02\x05RECAI\xaa\x02)Google.Cloud.RecommendationEngine.V1Beta1\xca\x02)Google\\Cloud\\RecommendationEngine\\V1beta1\xea\x02,Google::Cloud::RecommendationEngine::V1beta1b\x06proto3"
17
+
18
+ pool = Google::Protobuf::DescriptorPool.generated_pool
19
+
20
+ begin
21
+ pool.add_serialized_file(descriptor_data)
22
+ rescue TypeError => e
23
+ # Compatibility code: will be removed in the next major version.
24
+ require 'google/protobuf/descriptor_pb'
25
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
26
+ parsed.clear_dependency
27
+ serialized = parsed.class.encode(parsed)
28
+ file = pool.add_serialized_file(serialized)
29
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
30
+ imports = [
31
+ ["google.cloud.recommendationengine.v1beta1.CatalogItem", "google/cloud/recommendationengine/v1beta1/catalog.proto"],
32
+ ["google.cloud.recommendationengine.v1beta1.UserEvent", "google/cloud/recommendationengine/v1beta1/user_event.proto"],
33
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
34
+ ["google.rpc.Status", "google/rpc/status.proto"],
35
+ ]
36
+ imports.each do |type_name, expected_filename|
37
+ import_file = pool.lookup(type_name).file_descriptor
38
+ if import_file.name != expected_filename
39
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
69
40
  end
70
41
  end
42
+ warn "Each proto file must use a consistent fully-qualified name."
43
+ warn "This will become an error in the next major version."
71
44
  end
72
45
 
73
46
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/recommendationengine/v1beta1/prediction_apikey_registry_service.proto
3
4
 
@@ -10,28 +11,31 @@ require 'google/protobuf/empty_pb'
10
11
  require 'google/api/client_pb'
11
12
  require 'google/cloud/recommendationengine/v1beta1/recommendationengine_resources_pb'
12
13
 
13
- Google::Protobuf::DescriptorPool.generated_pool.build do
14
- add_file("google/cloud/recommendationengine/v1beta1/prediction_apikey_registry_service.proto", :syntax => :proto3) do
15
- add_message "google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration" do
16
- optional :api_key, :string, 1
17
- end
18
- add_message "google.cloud.recommendationengine.v1beta1.CreatePredictionApiKeyRegistrationRequest" do
19
- optional :parent, :string, 1
20
- optional :prediction_api_key_registration, :message, 2, "google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration"
21
- end
22
- add_message "google.cloud.recommendationengine.v1beta1.ListPredictionApiKeyRegistrationsRequest" do
23
- optional :parent, :string, 1
24
- optional :page_size, :int32, 2
25
- optional :page_token, :string, 3
26
- end
27
- add_message "google.cloud.recommendationengine.v1beta1.ListPredictionApiKeyRegistrationsResponse" do
28
- repeated :prediction_api_key_registrations, :message, 1, "google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration"
29
- optional :next_page_token, :string, 2
30
- end
31
- add_message "google.cloud.recommendationengine.v1beta1.DeletePredictionApiKeyRegistrationRequest" do
32
- optional :name, :string, 1
14
+
15
+ descriptor_data = "\nRgoogle/cloud/recommendationengine/v1beta1/prediction_apikey_registry_service.proto\x12)google.cloud.recommendationengine.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x17google/api/client.proto\x1aNgoogle/cloud/recommendationengine/v1beta1/recommendationengine_resources.proto\"/\n\x1cPredictionApiKeyRegistration\x12\x0f\n\x07\x61pi_key\x18\x01 \x01(\t\"\xea\x01\n)CreatePredictionApiKeyRegistrationRequest\x12\x46\n\x06parent\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.recommendationengine.googleapis.com/EventStore\x12u\n\x1fprediction_api_key_registration\x18\x02 \x01(\x0b\x32G.google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistrationB\x03\xe0\x41\x02\"\xa3\x01\n(ListPredictionApiKeyRegistrationsRequest\x12\x46\n\x06parent\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.recommendationengine.googleapis.com/EventStore\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\xb7\x01\n)ListPredictionApiKeyRegistrationsResponse\x12q\n prediction_api_key_registrations\x18\x01 \x03(\x0b\x32G.google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x83\x01\n)DeletePredictionApiKeyRegistrationRequest\x12V\n\x04name\x18\x01 \x01(\tBH\xe0\x41\x02\xfa\x41\x42\n@recommendationengine.googleapis.com/PredictionApiKeyRegistration2\x97\x08\n\x18PredictionApiKeyRegistry\x12\xd9\x02\n\"CreatePredictionApiKeyRegistration\x12T.google.cloud.recommendationengine.v1beta1.CreatePredictionApiKeyRegistrationRequest\x1aG.google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration\"\x93\x01\x82\xd3\xe4\x93\x02\x64\"_/v1beta1/{parent=projects/*/locations/*/catalogs/*/eventStores/*}/predictionApiKeyRegistrations:\x01*\xda\x41&parent,prediction_api_key_registration\x12\xc0\x02\n!ListPredictionApiKeyRegistrations\x12S.google.cloud.recommendationengine.v1beta1.ListPredictionApiKeyRegistrationsRequest\x1aT.google.cloud.recommendationengine.v1beta1.ListPredictionApiKeyRegistrationsResponse\"p\x82\xd3\xe4\x93\x02\x61\x12_/v1beta1/{parent=projects/*/locations/*/catalogs/*/eventStores/*}/predictionApiKeyRegistrations\xda\x41\x06parent\x12\x82\x02\n\"DeletePredictionApiKeyRegistration\x12T.google.cloud.recommendationengine.v1beta1.DeletePredictionApiKeyRegistrationRequest\x1a\x16.google.protobuf.Empty\"n\x82\xd3\xe4\x93\x02\x61*_/v1beta1/{name=projects/*/locations/*/catalogs/*/eventStores/*/predictionApiKeyRegistrations/*}\xda\x41\x04name\x1aW\xca\x41#recommendationengine.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xa3\x02\n-com.google.cloud.recommendationengine.v1beta1P\x01Zacloud.google.com/go/recommendationengine/apiv1beta1/recommendationenginepb;recommendationenginepb\xa2\x02\x05RECAI\xaa\x02)Google.Cloud.RecommendationEngine.V1Beta1\xca\x02)Google\\Cloud\\RecommendationEngine\\V1beta1\xea\x02,Google::Cloud::RecommendationEngine::V1beta1b\x06proto3"
16
+
17
+ pool = Google::Protobuf::DescriptorPool.generated_pool
18
+
19
+ begin
20
+ pool.add_serialized_file(descriptor_data)
21
+ rescue TypeError => e
22
+ # Compatibility code: will be removed in the next major version.
23
+ require 'google/protobuf/descriptor_pb'
24
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
25
+ parsed.clear_dependency
26
+ serialized = parsed.class.encode(parsed)
27
+ file = pool.add_serialized_file(serialized)
28
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
29
+ imports = [
30
+ ]
31
+ imports.each do |type_name, expected_filename|
32
+ import_file = pool.lookup(type_name).file_descriptor
33
+ if import_file.name != expected_filename
34
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
33
35
  end
34
36
  end
37
+ warn "Each proto file must use a consistent fully-qualified name."
38
+ warn "This will become an error in the next major version."
35
39
  end
36
40
 
37
41
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/recommendationengine/v1beta1/prediction_service.proto
3
4
 
@@ -10,31 +11,33 @@ require 'google/cloud/recommendationengine/v1beta1/user_event_pb'
10
11
  require 'google/protobuf/struct_pb'
11
12
  require 'google/api/client_pb'
12
13
 
13
- Google::Protobuf::DescriptorPool.generated_pool.build do
14
- add_file("google/cloud/recommendationengine/v1beta1/prediction_service.proto", :syntax => :proto3) do
15
- add_message "google.cloud.recommendationengine.v1beta1.PredictRequest" do
16
- optional :name, :string, 1
17
- optional :user_event, :message, 2, "google.cloud.recommendationengine.v1beta1.UserEvent"
18
- optional :page_size, :int32, 7
19
- optional :page_token, :string, 8
20
- optional :filter, :string, 3
21
- optional :dry_run, :bool, 4
22
- map :params, :string, :message, 6, "google.protobuf.Value"
23
- map :labels, :string, :string, 9
24
- end
25
- add_message "google.cloud.recommendationengine.v1beta1.PredictResponse" do
26
- repeated :results, :message, 1, "google.cloud.recommendationengine.v1beta1.PredictResponse.PredictionResult"
27
- optional :recommendation_token, :string, 2
28
- repeated :items_missing_in_catalog, :string, 3
29
- optional :dry_run, :bool, 4
30
- map :metadata, :string, :message, 5, "google.protobuf.Value"
31
- optional :next_page_token, :string, 6
32
- end
33
- add_message "google.cloud.recommendationengine.v1beta1.PredictResponse.PredictionResult" do
34
- optional :id, :string, 1
35
- map :item_metadata, :string, :message, 2, "google.protobuf.Value"
14
+
15
+ descriptor_data = "\nBgoogle/cloud/recommendationengine/v1beta1/prediction_service.proto\x12)google.cloud.recommendationengine.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a:google/cloud/recommendationengine/v1beta1/user_event.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x17google/api/client.proto\"\xae\x04\n\x0ePredictRequest\x12\x43\n\x04name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-recommendationengine.googleapis.com/Placement\x12M\n\nuser_event\x18\x02 \x01(\x0b\x32\x34.google.cloud.recommendationengine.v1beta1.UserEventB\x03\xe0\x41\x02\x12\x16\n\tpage_size\x18\x07 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x14\n\x07\x64ry_run\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12Z\n\x06params\x18\x06 \x03(\x0b\x32\x45.google.cloud.recommendationengine.v1beta1.PredictRequest.ParamsEntryB\x03\xe0\x41\x01\x12Z\n\x06labels\x18\t \x03(\x0b\x32\x45.google.cloud.recommendationengine.v1beta1.PredictRequest.LabelsEntryB\x03\xe0\x41\x01\x1a\x45\n\x0bParamsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xe2\x04\n\x0fPredictResponse\x12\\\n\x07results\x18\x01 \x03(\x0b\x32K.google.cloud.recommendationengine.v1beta1.PredictResponse.PredictionResult\x12\x1c\n\x14recommendation_token\x18\x02 \x01(\t\x12 \n\x18items_missing_in_catalog\x18\x03 \x03(\t\x12\x0f\n\x07\x64ry_run\x18\x04 \x01(\x08\x12Z\n\x08metadata\x18\x05 \x03(\x0b\x32H.google.cloud.recommendationengine.v1beta1.PredictResponse.MetadataEntry\x12\x17\n\x0fnext_page_token\x18\x06 \x01(\t\x1a\xe1\x01\n\x10PredictionResult\x12\n\n\x02id\x18\x01 \x01(\t\x12t\n\ritem_metadata\x18\x02 \x03(\x0b\x32].google.cloud.recommendationengine.v1beta1.PredictResponse.PredictionResult.ItemMetadataEntry\x1aK\n\x11ItemMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01\x1aG\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01\x32\xe2\x02\n\x11PredictionService\x12\xf3\x01\n\x07Predict\x12\x39.google.cloud.recommendationengine.v1beta1.PredictRequest\x1a:.google.cloud.recommendationengine.v1beta1.PredictResponse\"q\x82\xd3\xe4\x93\x02Y\"T/v1beta1/{name=projects/*/locations/*/catalogs/*/eventStores/*/placements/*}:predict:\x01*\xda\x41\x0fname,user_event\x1aW\xca\x41#recommendationengine.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xa3\x02\n-com.google.cloud.recommendationengine.v1beta1P\x01Zacloud.google.com/go/recommendationengine/apiv1beta1/recommendationenginepb;recommendationenginepb\xa2\x02\x05RECAI\xaa\x02)Google.Cloud.RecommendationEngine.V1Beta1\xca\x02)Google\\Cloud\\RecommendationEngine\\V1beta1\xea\x02,Google::Cloud::RecommendationEngine::V1beta1b\x06proto3"
16
+
17
+ pool = Google::Protobuf::DescriptorPool.generated_pool
18
+
19
+ begin
20
+ pool.add_serialized_file(descriptor_data)
21
+ rescue TypeError => e
22
+ # Compatibility code: will be removed in the next major version.
23
+ require 'google/protobuf/descriptor_pb'
24
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
25
+ parsed.clear_dependency
26
+ serialized = parsed.class.encode(parsed)
27
+ file = pool.add_serialized_file(serialized)
28
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
29
+ imports = [
30
+ ["google.cloud.recommendationengine.v1beta1.UserEvent", "google/cloud/recommendationengine/v1beta1/user_event.proto"],
31
+ ["google.protobuf.Value", "google/protobuf/struct.proto"],
32
+ ]
33
+ imports.each do |type_name, expected_filename|
34
+ import_file = pool.lookup(type_name).file_descriptor
35
+ if import_file.name != expected_filename
36
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
36
37
  end
37
38
  end
39
+ warn "Each proto file must use a consistent fully-qualified name."
40
+ warn "This will become an error in the next major version."
38
41
  end
39
42
 
40
43
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/recommendationengine/v1beta1/recommendationengine_resources.proto
3
4
 
@@ -5,9 +6,31 @@ require 'google/protobuf'
5
6
 
6
7
  require 'google/api/resource_pb'
7
8
 
8
- Google::Protobuf::DescriptorPool.generated_pool.build do
9
- add_file("google/cloud/recommendationengine/v1beta1/recommendationengine_resources.proto", :syntax => :proto3) do
9
+
10
+ descriptor_data = "\nNgoogle/cloud/recommendationengine/v1beta1/recommendationengine_resources.proto\x12)google.cloud.recommendationengine.v1beta1\x1a\x19google/api/resource.protoB\xac\x08\n-com.google.cloud.recommendationengine.v1beta1P\x01Zacloud.google.com/go/recommendationengine/apiv1beta1/recommendationenginepb;recommendationenginepb\xa2\x02\x05RECAI\xaa\x02)Google.Cloud.RecommendationEngine.V1Beta1\xca\x02)Google\\Cloud\\RecommendationEngine\\V1beta1\xea\x02,Google::Cloud::RecommendationEngine::V1beta1\xea\x41i\n+recommendationengine.googleapis.com/Catalog\x12:projects/{project}/locations/{location}/catalogs/{catalog}\xea\x41\x92\x01\n3recommendationengine.googleapis.com/CatalogItemPath\x12[projects/{project}/locations/{location}/catalogs/{catalog}/catalogItems/{catalog_item_path}\xea\x41\x86\x01\n.recommendationengine.googleapis.com/EventStore\x12Tprojects/{project}/locations/{location}/catalogs/{catalog}/eventStores/{event_store}\xea\x41\xd9\x01\n@recommendationengine.googleapis.com/PredictionApiKeyRegistration\x12\x94\x01projects/{project}/locations/{location}/catalogs/{catalog}/eventStores/{event_store}/predictionApiKeyRegistrations/{prediction_api_key_registration}\xea\x41\x9c\x01\n-recommendationengine.googleapis.com/Placement\x12kprojects/{project}/locations/{location}/catalogs/{catalog}/eventStores/{event_store}/placements/{placement}b\x06proto3"
11
+
12
+ pool = Google::Protobuf::DescriptorPool.generated_pool
13
+
14
+ begin
15
+ pool.add_serialized_file(descriptor_data)
16
+ rescue TypeError => e
17
+ # Compatibility code: will be removed in the next major version.
18
+ require 'google/protobuf/descriptor_pb'
19
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
20
+ parsed.clear_dependency
21
+ serialized = parsed.class.encode(parsed)
22
+ file = pool.add_serialized_file(serialized)
23
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
24
+ imports = [
25
+ ]
26
+ imports.each do |type_name, expected_filename|
27
+ import_file = pool.lookup(type_name).file_descriptor
28
+ if import_file.name != expected_filename
29
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
30
+ end
10
31
  end
32
+ warn "Each proto file must use a consistent fully-qualified name."
33
+ warn "This will become an error in the next major version."
11
34
  end
12
35
 
13
36
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/recommendationengine/v1beta1/user_event.proto
3
4
 
@@ -8,63 +9,34 @@ require 'google/cloud/recommendationengine/v1beta1/catalog_pb'
8
9
  require 'google/cloud/recommendationengine/v1beta1/common_pb'
9
10
  require 'google/protobuf/timestamp_pb'
10
11
 
11
- Google::Protobuf::DescriptorPool.generated_pool.build do
12
- add_file("google/cloud/recommendationengine/v1beta1/user_event.proto", :syntax => :proto3) do
13
- add_message "google.cloud.recommendationengine.v1beta1.UserEvent" do
14
- optional :event_type, :string, 1
15
- optional :user_info, :message, 2, "google.cloud.recommendationengine.v1beta1.UserInfo"
16
- optional :event_detail, :message, 3, "google.cloud.recommendationengine.v1beta1.EventDetail"
17
- optional :product_event_detail, :message, 4, "google.cloud.recommendationengine.v1beta1.ProductEventDetail"
18
- optional :event_time, :message, 5, "google.protobuf.Timestamp"
19
- optional :event_source, :enum, 6, "google.cloud.recommendationengine.v1beta1.UserEvent.EventSource"
20
- end
21
- add_enum "google.cloud.recommendationengine.v1beta1.UserEvent.EventSource" do
22
- value :EVENT_SOURCE_UNSPECIFIED, 0
23
- value :AUTOML, 1
24
- value :ECOMMERCE, 2
25
- value :BATCH_UPLOAD, 3
26
- end
27
- add_message "google.cloud.recommendationengine.v1beta1.UserInfo" do
28
- optional :visitor_id, :string, 1
29
- optional :user_id, :string, 2
30
- optional :ip_address, :string, 3
31
- optional :user_agent, :string, 4
32
- optional :direct_user_request, :bool, 5
33
- end
34
- add_message "google.cloud.recommendationengine.v1beta1.EventDetail" do
35
- optional :uri, :string, 1
36
- optional :referrer_uri, :string, 6
37
- optional :page_view_id, :string, 2
38
- repeated :experiment_ids, :string, 3
39
- optional :recommendation_token, :string, 4
40
- optional :event_attributes, :message, 5, "google.cloud.recommendationengine.v1beta1.FeatureMap"
41
- end
42
- add_message "google.cloud.recommendationengine.v1beta1.ProductEventDetail" do
43
- optional :search_query, :string, 1
44
- repeated :page_categories, :message, 2, "google.cloud.recommendationengine.v1beta1.CatalogItem.CategoryHierarchy"
45
- repeated :product_details, :message, 3, "google.cloud.recommendationengine.v1beta1.ProductDetail"
46
- optional :list_id, :string, 4
47
- optional :cart_id, :string, 5
48
- optional :purchase_transaction, :message, 6, "google.cloud.recommendationengine.v1beta1.PurchaseTransaction"
49
- end
50
- add_message "google.cloud.recommendationengine.v1beta1.PurchaseTransaction" do
51
- optional :id, :string, 1
52
- optional :revenue, :float, 2
53
- map :taxes, :string, :float, 3
54
- map :costs, :string, :float, 4
55
- optional :currency_code, :string, 6
56
- end
57
- add_message "google.cloud.recommendationengine.v1beta1.ProductDetail" do
58
- optional :id, :string, 1
59
- optional :currency_code, :string, 2
60
- optional :original_price, :float, 3
61
- optional :display_price, :float, 4
62
- optional :stock_state, :enum, 5, "google.cloud.recommendationengine.v1beta1.ProductCatalogItem.StockState"
63
- optional :quantity, :int32, 6
64
- optional :available_quantity, :int32, 7
65
- optional :item_attributes, :message, 8, "google.cloud.recommendationengine.v1beta1.FeatureMap"
12
+
13
+ descriptor_data = "\n:google/cloud/recommendationengine/v1beta1/user_event.proto\x12)google.cloud.recommendationengine.v1beta1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x37google/cloud/recommendationengine/v1beta1/catalog.proto\x1a\x36google/cloud/recommendationengine/v1beta1/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x92\x04\n\tUserEvent\x12\x17\n\nevent_type\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12K\n\tuser_info\x18\x02 \x01(\x0b\x32\x33.google.cloud.recommendationengine.v1beta1.UserInfoB\x03\xe0\x41\x02\x12Q\n\x0c\x65vent_detail\x18\x03 \x01(\x0b\x32\x36.google.cloud.recommendationengine.v1beta1.EventDetailB\x03\xe0\x41\x01\x12`\n\x14product_event_detail\x18\x04 \x01(\x0b\x32=.google.cloud.recommendationengine.v1beta1.ProductEventDetailB\x03\xe0\x41\x01\x12\x33\n\nevent_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01\x12[\n\x0c\x65vent_source\x18\x06 \x01(\x0e\x32@.google.cloud.recommendationengine.v1beta1.UserEvent.EventSourceB\x03\xe0\x41\x01\"X\n\x0b\x45ventSource\x12\x1c\n\x18\x45VENT_SOURCE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41UTOML\x10\x01\x12\r\n\tECOMMERCE\x10\x02\x12\x10\n\x0c\x42\x41TCH_UPLOAD\x10\x03\"\x8d\x01\n\x08UserInfo\x12\x17\n\nvisitor_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x07user_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x17\n\nip_address\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x17\n\nuser_agent\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12 \n\x13\x64irect_user_request\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\xeb\x01\n\x0b\x45ventDetail\x12\x10\n\x03uri\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0creferrer_uri\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0cpage_view_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1b\n\x0e\x65xperiment_ids\x18\x03 \x03(\tB\x03\xe0\x41\x01\x12!\n\x14recommendation_token\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12T\n\x10\x65vent_attributes\x18\x05 \x01(\x0b\x32\x35.google.cloud.recommendationengine.v1beta1.FeatureMapB\x03\xe0\x41\x01\"\xea\x02\n\x12ProductEventDetail\x12\x14\n\x0csearch_query\x18\x01 \x01(\t\x12\x61\n\x0fpage_categories\x18\x02 \x03(\x0b\x32H.google.cloud.recommendationengine.v1beta1.CatalogItem.CategoryHierarchy\x12Q\n\x0fproduct_details\x18\x03 \x03(\x0b\x32\x38.google.cloud.recommendationengine.v1beta1.ProductDetail\x12\x0f\n\x07list_id\x18\x04 \x01(\t\x12\x14\n\x07\x63\x61rt_id\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x61\n\x14purchase_transaction\x18\x06 \x01(\x0b\x32>.google.cloud.recommendationengine.v1beta1.PurchaseTransactionB\x03\xe0\x41\x01\"\xf2\x02\n\x13PurchaseTransaction\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x14\n\x07revenue\x18\x02 \x01(\x02\x42\x03\xe0\x41\x02\x12]\n\x05taxes\x18\x03 \x03(\x0b\x32I.google.cloud.recommendationengine.v1beta1.PurchaseTransaction.TaxesEntryB\x03\xe0\x41\x01\x12]\n\x05\x63osts\x18\x04 \x03(\x0b\x32I.google.cloud.recommendationengine.v1beta1.PurchaseTransaction.CostsEntryB\x03\xe0\x41\x01\x12\x1a\n\rcurrency_code\x18\x06 \x01(\tB\x03\xe0\x41\x02\x1a,\n\nTaxesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1a,\n\nCostsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\"\xe6\x02\n\rProductDetail\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1a\n\rcurrency_code\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1b\n\x0eoriginal_price\x18\x03 \x01(\x02\x42\x03\xe0\x41\x01\x12\x1a\n\rdisplay_price\x18\x04 \x01(\x02\x42\x03\xe0\x41\x01\x12\x62\n\x0bstock_state\x18\x05 \x01(\x0e\x32H.google.cloud.recommendationengine.v1beta1.ProductCatalogItem.StockStateB\x03\xe0\x41\x01\x12\x15\n\x08quantity\x18\x06 \x01(\x05\x42\x03\xe0\x41\x01\x12\x1f\n\x12\x61vailable_quantity\x18\x07 \x01(\x05\x42\x03\xe0\x41\x01\x12S\n\x0fitem_attributes\x18\x08 \x01(\x0b\x32\x35.google.cloud.recommendationengine.v1beta1.FeatureMapB\x03\xe0\x41\x01\x42\xa3\x02\n-com.google.cloud.recommendationengine.v1beta1P\x01Zacloud.google.com/go/recommendationengine/apiv1beta1/recommendationenginepb;recommendationenginepb\xa2\x02\x05RECAI\xaa\x02)Google.Cloud.RecommendationEngine.V1Beta1\xca\x02)Google\\Cloud\\RecommendationEngine\\V1beta1\xea\x02,Google::Cloud::RecommendationEngine::V1beta1b\x06proto3"
14
+
15
+ pool = Google::Protobuf::DescriptorPool.generated_pool
16
+
17
+ begin
18
+ pool.add_serialized_file(descriptor_data)
19
+ rescue TypeError => e
20
+ # Compatibility code: will be removed in the next major version.
21
+ require 'google/protobuf/descriptor_pb'
22
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
23
+ parsed.clear_dependency
24
+ serialized = parsed.class.encode(parsed)
25
+ file = pool.add_serialized_file(serialized)
26
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
27
+ imports = [
28
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
29
+ ["google.cloud.recommendationengine.v1beta1.FeatureMap", "google/cloud/recommendationengine/v1beta1/common.proto"],
30
+ ["google.cloud.recommendationengine.v1beta1.CatalogItem.CategoryHierarchy", "google/cloud/recommendationengine/v1beta1/catalog.proto"],
31
+ ]
32
+ imports.each do |type_name, expected_filename|
33
+ import_file = pool.lookup(type_name).file_descriptor
34
+ if import_file.name != expected_filename
35
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
66
36
  end
67
37
  end
38
+ warn "Each proto file must use a consistent fully-qualified name."
39
+ warn "This will become an error in the next major version."
68
40
  end
69
41
 
70
42
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/recommendationengine/v1beta1/user_event_service.proto
3
4
 
@@ -13,42 +14,33 @@ require 'google/longrunning/operations_pb'
13
14
  require 'google/protobuf/timestamp_pb'
14
15
  require 'google/api/client_pb'
15
16
 
16
- Google::Protobuf::DescriptorPool.generated_pool.build do
17
- add_file("google/cloud/recommendationengine/v1beta1/user_event_service.proto", :syntax => :proto3) do
18
- add_message "google.cloud.recommendationengine.v1beta1.PurgeUserEventsRequest" do
19
- optional :parent, :string, 1
20
- optional :filter, :string, 2
21
- optional :force, :bool, 3
22
- end
23
- add_message "google.cloud.recommendationengine.v1beta1.PurgeUserEventsMetadata" do
24
- optional :operation_name, :string, 1
25
- optional :create_time, :message, 2, "google.protobuf.Timestamp"
26
- end
27
- add_message "google.cloud.recommendationengine.v1beta1.PurgeUserEventsResponse" do
28
- optional :purged_events_count, :int64, 1
29
- repeated :user_events_sample, :message, 2, "google.cloud.recommendationengine.v1beta1.UserEvent"
30
- end
31
- add_message "google.cloud.recommendationengine.v1beta1.WriteUserEventRequest" do
32
- optional :parent, :string, 1
33
- optional :user_event, :message, 2, "google.cloud.recommendationengine.v1beta1.UserEvent"
34
- end
35
- add_message "google.cloud.recommendationengine.v1beta1.CollectUserEventRequest" do
36
- optional :parent, :string, 1
37
- optional :user_event, :string, 2
38
- optional :uri, :string, 3
39
- optional :ets, :int64, 4
40
- end
41
- add_message "google.cloud.recommendationengine.v1beta1.ListUserEventsRequest" do
42
- optional :parent, :string, 1
43
- optional :page_size, :int32, 2
44
- optional :page_token, :string, 3
45
- optional :filter, :string, 4
46
- end
47
- add_message "google.cloud.recommendationengine.v1beta1.ListUserEventsResponse" do
48
- repeated :user_events, :message, 1, "google.cloud.recommendationengine.v1beta1.UserEvent"
49
- optional :next_page_token, :string, 2
17
+
18
+ descriptor_data = "\nBgoogle/cloud/recommendationengine/v1beta1/user_event_service.proto\x12)google.cloud.recommendationengine.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/httpbody.proto\x1a\x19google/api/resource.proto\x1a\x36google/cloud/recommendationengine/v1beta1/import.proto\x1a:google/cloud/recommendationengine/v1beta1/user_event.proto\x1a#google/longrunning/operations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/api/client.proto\"\x89\x01\n\x16PurgeUserEventsRequest\x12\x46\n\x06parent\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.recommendationengine.googleapis.com/EventStore\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\x05\x66orce\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"b\n\x17PurgeUserEventsMetadata\x12\x16\n\x0eoperation_name\x18\x01 \x01(\t\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x88\x01\n\x17PurgeUserEventsResponse\x12\x1b\n\x13purged_events_count\x18\x01 \x01(\x03\x12P\n\x12user_events_sample\x18\x02 \x03(\x0b\x32\x34.google.cloud.recommendationengine.v1beta1.UserEvent\"\xae\x01\n\x15WriteUserEventRequest\x12\x46\n\x06parent\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.recommendationengine.googleapis.com/EventStore\x12M\n\nuser_event\x18\x02 \x01(\x0b\x32\x34.google.cloud.recommendationengine.v1beta1.UserEventB\x03\xe0\x41\x02\"\x9e\x01\n\x17\x43ollectUserEventRequest\x12\x46\n\x06parent\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.recommendationengine.googleapis.com/EventStore\x12\x17\n\nuser_event\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x10\n\x03uri\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x10\n\x03\x65ts\x18\x04 \x01(\x03\x42\x03\xe0\x41\x01\"\xa5\x01\n\x15ListUserEventsRequest\x12\x46\n\x06parent\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.recommendationengine.googleapis.com/EventStore\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\"|\n\x16ListUserEventsResponse\x12I\n\x0buser_events\x18\x01 \x03(\x0b\x32\x34.google.cloud.recommendationengine.v1beta1.UserEvent\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xd8\x0c\n\x10UserEventService\x12\x84\x02\n\x0eWriteUserEvent\x12@.google.cloud.recommendationengine.v1beta1.WriteUserEventRequest\x1a\x34.google.cloud.recommendationengine.v1beta1.UserEvent\"z\x82\xd3\xe4\x93\x02`\"R/v1beta1/{parent=projects/*/locations/*/catalogs/*/eventStores/*}/userEvents:write:\nuser_event\xda\x41\x11parent,user_event\x12\xe6\x01\n\x10\x43ollectUserEvent\x12\x42.google.cloud.recommendationengine.v1beta1.CollectUserEventRequest\x1a\x14.google.api.HttpBody\"x\x82\xd3\xe4\x93\x02V\x12T/v1beta1/{parent=projects/*/locations/*/catalogs/*/eventStores/*}/userEvents:collect\xda\x41\x19parent,user_event,uri,ets\x12\xfb\x01\n\x0eListUserEvents\x12@.google.cloud.recommendationengine.v1beta1.ListUserEventsRequest\x1a\x41.google.cloud.recommendationengine.v1beta1.ListUserEventsResponse\"d\x82\xd3\xe4\x93\x02N\x12L/v1beta1/{parent=projects/*/locations/*/catalogs/*/eventStores/*}/userEvents\xda\x41\rparent,filter\x12\xf3\x02\n\x0fPurgeUserEvents\x12\x41.google.cloud.recommendationengine.v1beta1.PurgeUserEventsRequest\x1a\x1d.google.longrunning.Operation\"\xfd\x01\x82\xd3\xe4\x93\x02W\"R/v1beta1/{parent=projects/*/locations/*/catalogs/*/eventStores/*}/userEvents:purge:\x01*\xca\x41\x86\x01\nAgoogle.cloud.recommendationengine.v1beta1.PurgeUserEventsResponse\x12\x41google.cloud.recommendationengine.v1beta1.PurgeUserEventsMetadata\xda\x41\x13parent,filter,force\x12\x86\x03\n\x10ImportUserEvents\x12\x42.google.cloud.recommendationengine.v1beta1.ImportUserEventsRequest\x1a\x1d.google.longrunning.Operation\"\x8e\x02\x82\xd3\xe4\x93\x02X\"S/v1beta1/{parent=projects/*/locations/*/catalogs/*/eventStores/*}/userEvents:import:\x01*\xca\x41~\nBgoogle.cloud.recommendationengine.v1beta1.ImportUserEventsResponse\x12\x38google.cloud.recommendationengine.v1beta1.ImportMetadata\xda\x41,parent,request_id,input_config,errors_config\x1aW\xca\x41#recommendationengine.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xa3\x02\n-com.google.cloud.recommendationengine.v1beta1P\x01Zacloud.google.com/go/recommendationengine/apiv1beta1/recommendationenginepb;recommendationenginepb\xa2\x02\x05RECAI\xaa\x02)Google.Cloud.RecommendationEngine.V1Beta1\xca\x02)Google\\Cloud\\RecommendationEngine\\V1beta1\xea\x02,Google::Cloud::RecommendationEngine::V1beta1b\x06proto3"
19
+
20
+ pool = Google::Protobuf::DescriptorPool.generated_pool
21
+
22
+ begin
23
+ pool.add_serialized_file(descriptor_data)
24
+ rescue TypeError => e
25
+ # Compatibility code: will be removed in the next major version.
26
+ require 'google/protobuf/descriptor_pb'
27
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
28
+ parsed.clear_dependency
29
+ serialized = parsed.class.encode(parsed)
30
+ file = pool.add_serialized_file(serialized)
31
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
32
+ imports = [
33
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
34
+ ["google.cloud.recommendationengine.v1beta1.UserEvent", "google/cloud/recommendationengine/v1beta1/user_event.proto"],
35
+ ]
36
+ imports.each do |type_name, expected_filename|
37
+ import_file = pool.lookup(type_name).file_descriptor
38
+ if import_file.name != expected_filename
39
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
50
40
  end
51
41
  end
42
+ warn "Each proto file must use a consistent fully-qualified name."
43
+ warn "This will become an error in the next major version."
52
44
  end
53
45
 
54
46
  module Google
@@ -35,7 +35,9 @@ module Google
35
35
  # Details about how and where to publish client libraries.
36
36
  # @!attribute [rw] version
37
37
  # @return [::String]
38
- # Version of the API to apply these settings to.
38
+ # Version of the API to apply these settings to. This is the full protobuf
39
+ # package for the API, ending in the version element.
40
+ # Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".
39
41
  # @!attribute [rw] launch_stage
40
42
  # @return [::Google::Api::LaunchStage]
41
43
  # Launch stage of this version of the API.
@@ -81,7 +83,7 @@ module Google
81
83
  # long-running operation pattern.
82
84
  # @!attribute [rw] new_issue_uri
83
85
  # @return [::String]
84
- # Link to a place that API users can report issues. Example:
86
+ # Link to a *public* URI where users can report issues. Example:
85
87
  # https://issuetracker.google.com/issues/new?component=190865&template=1161103
86
88
  # @!attribute [rw] documentation_uri
87
89
  # @return [::String]
@@ -111,6 +113,10 @@ module Google
111
113
  # Client library settings. If the same version string appears multiple
112
114
  # times in this list, then the last one wins. Settings from earlier
113
115
  # settings with the same version string are discarded.
116
+ # @!attribute [rw] proto_reference_documentation_uri
117
+ # @return [::String]
118
+ # Optional link to proto reference documentation. Example:
119
+ # https://cloud.google.com/pubsub/lite/docs/reference/rpc
114
120
  class Publishing
115
121
  include ::Google::Protobuf::MessageExts
116
122
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -203,9 +209,57 @@ module Google
203
209
  # @!attribute [rw] common
204
210
  # @return [::Google::Api::CommonLanguageSettings]
205
211
  # Some settings.
212
+ # @!attribute [rw] renamed_services
213
+ # @return [::Google::Protobuf::Map{::String => ::String}]
214
+ # Map from original service names to renamed versions.
215
+ # This is used when the default generated types
216
+ # would cause a naming conflict. (Neither name is
217
+ # fully-qualified.)
218
+ # Example: Subscriber to SubscriberServiceApi.
219
+ # @!attribute [rw] renamed_resources
220
+ # @return [::Google::Protobuf::Map{::String => ::String}]
221
+ # Map from full resource types to the effective short name
222
+ # for the resource. This is used when otherwise resource
223
+ # named from different services would cause naming collisions.
224
+ # Example entry:
225
+ # "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
226
+ # @!attribute [rw] ignored_resources
227
+ # @return [::Array<::String>]
228
+ # List of full resource types to ignore during generation.
229
+ # This is typically used for API-specific Location resources,
230
+ # which should be handled by the generator as if they were actually
231
+ # the common Location resources.
232
+ # Example entry: "documentai.googleapis.com/Location"
233
+ # @!attribute [rw] forced_namespace_aliases
234
+ # @return [::Array<::String>]
235
+ # Namespaces which must be aliased in snippets due to
236
+ # a known (but non-generator-predictable) naming collision
237
+ # @!attribute [rw] handwritten_signatures
238
+ # @return [::Array<::String>]
239
+ # Method signatures (in the form "service.method(signature)")
240
+ # which are provided separately, so shouldn't be generated.
241
+ # Snippets *calling* these methods are still generated, however.
206
242
  class DotnetSettings
207
243
  include ::Google::Protobuf::MessageExts
208
244
  extend ::Google::Protobuf::MessageExts::ClassMethods
245
+
246
+ # @!attribute [rw] key
247
+ # @return [::String]
248
+ # @!attribute [rw] value
249
+ # @return [::String]
250
+ class RenamedServicesEntry
251
+ include ::Google::Protobuf::MessageExts
252
+ extend ::Google::Protobuf::MessageExts::ClassMethods
253
+ end
254
+
255
+ # @!attribute [rw] key
256
+ # @return [::String]
257
+ # @!attribute [rw] value
258
+ # @return [::String]
259
+ class RenamedResourcesEntry
260
+ include ::Google::Protobuf::MessageExts
261
+ extend ::Google::Protobuf::MessageExts::ClassMethods
262
+ end
209
263
  end
210
264
 
211
265
  # Settings for Ruby client libraries.
@@ -240,8 +294,8 @@ module Google
240
294
  # Example of a YAML configuration::
241
295
  #
242
296
  # publishing:
243
- # method_behavior:
244
- # - selector: CreateAdDomain
297
+ # method_settings:
298
+ # - selector: google.cloud.speech.v2.Speech.BatchRecognize
245
299
  # long_running:
246
300
  # initial_poll_delay:
247
301
  # seconds: 60 # 1 minute
@@ -299,6 +353,15 @@ module Google
299
353
 
300
354
  # Street View Org.
301
355
  STREET_VIEW = 4
356
+
357
+ # Shopping Org.
358
+ SHOPPING = 5
359
+
360
+ # Geo Org.
361
+ GEO = 6
362
+
363
+ # Generative AI - https://developers.generativeai.google
364
+ GENERATIVE_AI = 7
302
365
  end
303
366
 
304
367
  # To where should client libraries be published?
@@ -43,8 +43,12 @@ module Google
43
43
  # if (any.is(Foo.class)) {
44
44
  # foo = any.unpack(Foo.class);
45
45
  # }
46
+ # // or ...
47
+ # if (any.isSameTypeAs(Foo.getDefaultInstance())) {
48
+ # foo = any.unpack(Foo.getDefaultInstance());
49
+ # }
46
50
  #
47
- # Example 3: Pack and unpack a message in Python.
51
+ # Example 3: Pack and unpack a message in Python.
48
52
  #
49
53
  # foo = Foo(...)
50
54
  # any = Any()
@@ -54,7 +58,7 @@ module Google
54
58
  # any.Unpack(foo)
55
59
  # ...
56
60
  #
57
- # Example 4: Pack and unpack a message in Go
61
+ # Example 4: Pack and unpack a message in Go
58
62
  #
59
63
  # foo := &pb.Foo{...}
60
64
  # any, err := anypb.New(foo)
@@ -73,9 +77,8 @@ module Google
73
77
  # in the type URL, for example "foo.bar.com/x/y.z" will yield type
74
78
  # name "y.z".
75
79
  #
76
- #
77
80
  # JSON
78
- #
81
+ # ====
79
82
  # The JSON representation of an `Any` value uses the regular
80
83
  # representation of the deserialized, embedded message, with an
81
84
  # additional field `@type` which contains the type URL. Example:
@@ -87,7 +87,7 @@ module Google
87
87
  # `NullValue` is a singleton enumeration to represent the null value for the
88
88
  # `Value` type union.
89
89
  #
90
- # The JSON representation for `NullValue` is JSON `null`.
90
+ # The JSON representation for `NullValue` is JSON `null`.
91
91
  module NullValue
92
92
  # Null value.
93
93
  NULL_VALUE = 0
@@ -69,7 +69,6 @@ module Google
69
69
  # Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
70
70
  # .setNanos((int) ((millis % 1000) * 1000000)).build();
71
71
  #
72
- #
73
72
  # Example 5: Compute Timestamp from Java `Instant.now()`.
74
73
  #
75
74
  # Instant now = Instant.now();
@@ -78,7 +77,6 @@ module Google
78
77
  # Timestamp.newBuilder().setSeconds(now.getEpochSecond())
79
78
  # .setNanos(now.getNano()).build();
80
79
  #
81
- #
82
80
  # Example 6: Compute Timestamp from current time in Python.
83
81
  #
84
82
  # timestamp = Timestamp()
@@ -108,7 +106,7 @@ module Google
108
106
  # [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
109
107
  # the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
110
108
  # the Joda Time's [`ISODateTimeFormat.dateTime()`](
111
- # http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D
109
+ # http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
112
110
  # ) to obtain a formatter capable of generating timestamps in this format.
113
111
  # @!attribute [rw] seconds
114
112
  # @return [::Integer]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-recommendation_engine-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.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: 2023-03-08 00:00:00.000000000 Z
11
+ date: 2023-06-01 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.18.0
19
+ version: 0.19.0
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.18.0
29
+ version: 0.19.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a