google-cloud-retail-v2 2.2.0 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/retail/v2/catalog_service/client.rb +35 -35
  3. data/lib/google/cloud/retail/v2/catalog_service/rest/client.rb +35 -35
  4. data/lib/google/cloud/retail/v2/catalog_service_services_pb.rb +30 -30
  5. data/lib/google/cloud/retail/v2/common_pb.rb +3 -1
  6. data/lib/google/cloud/retail/v2/conversational_search_service/client.rb +557 -0
  7. data/lib/google/cloud/retail/v2/conversational_search_service/credentials.rb +51 -0
  8. data/lib/google/cloud/retail/v2/conversational_search_service/paths.rb +54 -0
  9. data/lib/google/cloud/retail/v2/conversational_search_service/rest/client.rb +526 -0
  10. data/lib/google/cloud/retail/v2/conversational_search_service/rest/service_stub.rb +145 -0
  11. data/lib/google/cloud/retail/v2/conversational_search_service/rest.rb +56 -0
  12. data/lib/google/cloud/retail/v2/conversational_search_service.rb +59 -0
  13. data/lib/google/cloud/retail/v2/conversational_search_service_pb.rb +65 -0
  14. data/lib/google/cloud/retail/v2/conversational_search_service_services_pb.rb +52 -0
  15. data/lib/google/cloud/retail/v2/rest.rb +2 -1
  16. data/lib/google/cloud/retail/v2/safety_pb.rb +47 -0
  17. data/lib/google/cloud/retail/v2/search_service/client.rb +22 -1
  18. data/lib/google/cloud/retail/v2/search_service/rest/client.rb +22 -1
  19. data/lib/google/cloud/retail/v2/search_service_pb.rb +1 -1
  20. data/lib/google/cloud/retail/v2/version.rb +1 -1
  21. data/lib/google/cloud/retail/v2.rb +2 -1
  22. data/proto_docs/google/cloud/retail/v2/common.rb +18 -0
  23. data/proto_docs/google/cloud/retail/v2/conversational_search_service.rb +358 -0
  24. data/proto_docs/google/cloud/retail/v2/safety.rb +96 -0
  25. data/proto_docs/google/cloud/retail/v2/search_service.rb +45 -1
  26. data/proto_docs/google/cloud/retail/v2/user_event.rb +1 -1
  27. metadata +16 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9f27fc5cee9767c4fc2e5c1839eada5541c822188a1fa9a57406df19060a15b9
4
- data.tar.gz: 6167cc72b97e16e568c47aec34dde830db5885a954f3464a455eef1306f044de
3
+ metadata.gz: 77da9c5db8965ec543ef31d3e06b80607d7f122aac1b635816b5397ec29d9a64
4
+ data.tar.gz: 76368c3a722f4bf954a58ce3791fee63954eebc510295ccbb8c9fbe12feb3660
5
5
  SHA512:
6
- metadata.gz: ebe3c0ecdb01b24cd3cdbd88929809b62ed70e6c28269bc5342c9d3b27562c9192bffe6691a5045e6aa219496feb27f4f64f8707c7a1782cf029ff54455799aa
7
- data.tar.gz: e7a0a5ac1b7d5ca20024a7f44aea897161727ccc630b95e5842e489f8c6684dabf58d50d0e4a48f7b2bf6694ac8f9abe36afd3889c890270d83cbafeeeedc36d
6
+ metadata.gz: f6c4aab54b1375d9e7399b196371702baad4f1f8b121d915c42aa3ed2ed862d4607bc8e79af0906bdceb9e2f8097bb20169a07ee494be13c31a9841d75802576
7
+ data.tar.gz: af4b393b4348b57f70a9dff8d0a3a406982d488cd4eac5782cbf35c8c8b9d802cbc37ee5337da35d5e3dc1ecc306654252d9cb0e0c7f60329966f97da3532308
@@ -418,39 +418,39 @@ module Google
418
418
 
419
419
  ##
420
420
  # Set a specified branch id as default branch. API methods such as
421
- # {::Google::Cloud::Retail::V2::SearchService::Client#search SearchService.Search},
422
- # {::Google::Cloud::Retail::V2::ProductService::Client#get_product ProductService.GetProduct},
423
- # {::Google::Cloud::Retail::V2::ProductService::Client#list_products ProductService.ListProducts}
424
- # will treat requests using "default_branch" to the actual branch id set as
425
- # default.
426
- #
427
- # For example, if `projects/*/locations/*/catalogs/*/branches/1` is set as
428
- # default, setting
429
- # {::Google::Cloud::Retail::V2::SearchRequest#branch SearchRequest.branch} to
430
- # `projects/*/locations/*/catalogs/*/branches/default_branch` is equivalent
431
- # to setting
432
- # {::Google::Cloud::Retail::V2::SearchRequest#branch SearchRequest.branch} to
433
- # `projects/*/locations/*/catalogs/*/branches/1`.
434
- #
435
- # Using multiple branches can be useful when developers would like
436
- # to have a staging branch to test and verify for future usage. When it
437
- # becomes ready, developers switch on the staging branch using this API
438
- # while keeping using
439
- # `projects/*/locations/*/catalogs/*/branches/default_branch` as
440
- # {::Google::Cloud::Retail::V2::SearchRequest#branch SearchRequest.branch} to
441
- # route the traffic to this staging branch.
442
- #
443
- # CAUTION: If you have live predict/search traffic, switching the default
444
- # branch could potentially cause outages if the ID space of the new branch
445
- # is very different from the old one.
446
- #
447
- # More specifically:
448
- #
449
- # * PredictionService will only return product IDs from branch \\{newBranch}.
450
- # * SearchService will only return product IDs from branch \\{newBranch}
451
- # (if branch is not explicitly set).
452
- # * UserEventService will only join events with products from branch
453
- # \\{newBranch}.
421
+ # {::Google::Cloud::Retail::V2::SearchService::Client#search SearchService.Search},
422
+ # {::Google::Cloud::Retail::V2::ProductService::Client#get_product ProductService.GetProduct},
423
+ # {::Google::Cloud::Retail::V2::ProductService::Client#list_products ProductService.ListProducts}
424
+ # will treat requests using "default_branch" to the actual branch id set as
425
+ # default.
426
+ #
427
+ # For example, if `projects/*/locations/*/catalogs/*/branches/1` is set as
428
+ # default, setting
429
+ # {::Google::Cloud::Retail::V2::SearchRequest#branch SearchRequest.branch} to
430
+ # `projects/*/locations/*/catalogs/*/branches/default_branch` is equivalent
431
+ # to setting
432
+ # {::Google::Cloud::Retail::V2::SearchRequest#branch SearchRequest.branch} to
433
+ # `projects/*/locations/*/catalogs/*/branches/1`.
434
+ #
435
+ # Using multiple branches can be useful when developers would like
436
+ # to have a staging branch to test and verify for future usage. When it
437
+ # becomes ready, developers switch on the staging branch using this API
438
+ # while keeping using
439
+ # `projects/*/locations/*/catalogs/*/branches/default_branch` as
440
+ # {::Google::Cloud::Retail::V2::SearchRequest#branch SearchRequest.branch} to
441
+ # route the traffic to this staging branch.
442
+ #
443
+ # CAUTION: If you have live predict/search traffic, switching the default
444
+ # branch could potentially cause outages if the ID space of the new branch
445
+ # is very different from the old one.
446
+ #
447
+ # More specifically:
448
+ #
449
+ # * PredictionService will only return product IDs from branch \\{newBranch}.
450
+ # * SearchService will only return product IDs from branch \\{newBranch}
451
+ # (if branch is not explicitly set).
452
+ # * UserEventService will only join events with products from branch
453
+ # \\{newBranch}.
454
454
  #
455
455
  # @overload set_default_branch(request, options = nil)
456
456
  # Pass arguments to `set_default_branch` via a request object, either of type
@@ -557,8 +557,8 @@ module Google
557
557
 
558
558
  ##
559
559
  # Get which branch is currently default branch set by
560
- # {::Google::Cloud::Retail::V2::CatalogService::Client#set_default_branch CatalogService.SetDefaultBranch}
561
- # method under a specified parent catalog.
560
+ # {::Google::Cloud::Retail::V2::CatalogService::Client#set_default_branch CatalogService.SetDefaultBranch}
561
+ # method under a specified parent catalog.
562
562
  #
563
563
  # @overload get_default_branch(request, options = nil)
564
564
  # Pass arguments to `get_default_branch` via a request object, either of type
@@ -397,39 +397,39 @@ module Google
397
397
 
398
398
  ##
399
399
  # Set a specified branch id as default branch. API methods such as
400
- # {::Google::Cloud::Retail::V2::SearchService::Rest::Client#search SearchService.Search},
401
- # {::Google::Cloud::Retail::V2::ProductService::Rest::Client#get_product ProductService.GetProduct},
402
- # {::Google::Cloud::Retail::V2::ProductService::Rest::Client#list_products ProductService.ListProducts}
403
- # will treat requests using "default_branch" to the actual branch id set as
404
- # default.
405
- #
406
- # For example, if `projects/*/locations/*/catalogs/*/branches/1` is set as
407
- # default, setting
408
- # {::Google::Cloud::Retail::V2::SearchRequest#branch SearchRequest.branch} to
409
- # `projects/*/locations/*/catalogs/*/branches/default_branch` is equivalent
410
- # to setting
411
- # {::Google::Cloud::Retail::V2::SearchRequest#branch SearchRequest.branch} to
412
- # `projects/*/locations/*/catalogs/*/branches/1`.
413
- #
414
- # Using multiple branches can be useful when developers would like
415
- # to have a staging branch to test and verify for future usage. When it
416
- # becomes ready, developers switch on the staging branch using this API
417
- # while keeping using
418
- # `projects/*/locations/*/catalogs/*/branches/default_branch` as
419
- # {::Google::Cloud::Retail::V2::SearchRequest#branch SearchRequest.branch} to
420
- # route the traffic to this staging branch.
421
- #
422
- # CAUTION: If you have live predict/search traffic, switching the default
423
- # branch could potentially cause outages if the ID space of the new branch
424
- # is very different from the old one.
425
- #
426
- # More specifically:
427
- #
428
- # * PredictionService will only return product IDs from branch \\{newBranch}.
429
- # * SearchService will only return product IDs from branch \\{newBranch}
430
- # (if branch is not explicitly set).
431
- # * UserEventService will only join events with products from branch
432
- # \\{newBranch}.
400
+ # {::Google::Cloud::Retail::V2::SearchService::Rest::Client#search SearchService.Search},
401
+ # {::Google::Cloud::Retail::V2::ProductService::Rest::Client#get_product ProductService.GetProduct},
402
+ # {::Google::Cloud::Retail::V2::ProductService::Rest::Client#list_products ProductService.ListProducts}
403
+ # will treat requests using "default_branch" to the actual branch id set as
404
+ # default.
405
+ #
406
+ # For example, if `projects/*/locations/*/catalogs/*/branches/1` is set as
407
+ # default, setting
408
+ # {::Google::Cloud::Retail::V2::SearchRequest#branch SearchRequest.branch} to
409
+ # `projects/*/locations/*/catalogs/*/branches/default_branch` is equivalent
410
+ # to setting
411
+ # {::Google::Cloud::Retail::V2::SearchRequest#branch SearchRequest.branch} to
412
+ # `projects/*/locations/*/catalogs/*/branches/1`.
413
+ #
414
+ # Using multiple branches can be useful when developers would like
415
+ # to have a staging branch to test and verify for future usage. When it
416
+ # becomes ready, developers switch on the staging branch using this API
417
+ # while keeping using
418
+ # `projects/*/locations/*/catalogs/*/branches/default_branch` as
419
+ # {::Google::Cloud::Retail::V2::SearchRequest#branch SearchRequest.branch} to
420
+ # route the traffic to this staging branch.
421
+ #
422
+ # CAUTION: If you have live predict/search traffic, switching the default
423
+ # branch could potentially cause outages if the ID space of the new branch
424
+ # is very different from the old one.
425
+ #
426
+ # More specifically:
427
+ #
428
+ # * PredictionService will only return product IDs from branch \\{newBranch}.
429
+ # * SearchService will only return product IDs from branch \\{newBranch}
430
+ # (if branch is not explicitly set).
431
+ # * UserEventService will only join events with products from branch
432
+ # \\{newBranch}.
433
433
  #
434
434
  # @overload set_default_branch(request, options = nil)
435
435
  # Pass arguments to `set_default_branch` via a request object, either of type
@@ -529,8 +529,8 @@ module Google
529
529
 
530
530
  ##
531
531
  # Get which branch is currently default branch set by
532
- # {::Google::Cloud::Retail::V2::CatalogService::Rest::Client#set_default_branch CatalogService.SetDefaultBranch}
533
- # method under a specified parent catalog.
532
+ # {::Google::Cloud::Retail::V2::CatalogService::Rest::Client#set_default_branch CatalogService.SetDefaultBranch}
533
+ # method under a specified parent catalog.
534
534
  #
535
535
  # @overload get_default_branch(request, options = nil)
536
536
  # Pass arguments to `get_default_branch` via a request object, either of type
@@ -39,43 +39,43 @@ module Google
39
39
  # Updates the [Catalog][google.cloud.retail.v2.Catalog]s.
40
40
  rpc :UpdateCatalog, ::Google::Cloud::Retail::V2::UpdateCatalogRequest, ::Google::Cloud::Retail::V2::Catalog
41
41
  # Set a specified branch id as default branch. API methods such as
42
- # [SearchService.Search][google.cloud.retail.v2.SearchService.Search],
43
- # [ProductService.GetProduct][google.cloud.retail.v2.ProductService.GetProduct],
44
- # [ProductService.ListProducts][google.cloud.retail.v2.ProductService.ListProducts]
45
- # will treat requests using "default_branch" to the actual branch id set as
46
- # default.
42
+ # [SearchService.Search][google.cloud.retail.v2.SearchService.Search],
43
+ # [ProductService.GetProduct][google.cloud.retail.v2.ProductService.GetProduct],
44
+ # [ProductService.ListProducts][google.cloud.retail.v2.ProductService.ListProducts]
45
+ # will treat requests using "default_branch" to the actual branch id set as
46
+ # default.
47
47
  #
48
- # For example, if `projects/*/locations/*/catalogs/*/branches/1` is set as
49
- # default, setting
50
- # [SearchRequest.branch][google.cloud.retail.v2.SearchRequest.branch] to
51
- # `projects/*/locations/*/catalogs/*/branches/default_branch` is equivalent
52
- # to setting
53
- # [SearchRequest.branch][google.cloud.retail.v2.SearchRequest.branch] to
54
- # `projects/*/locations/*/catalogs/*/branches/1`.
48
+ # For example, if `projects/*/locations/*/catalogs/*/branches/1` is set as
49
+ # default, setting
50
+ # [SearchRequest.branch][google.cloud.retail.v2.SearchRequest.branch] to
51
+ # `projects/*/locations/*/catalogs/*/branches/default_branch` is equivalent
52
+ # to setting
53
+ # [SearchRequest.branch][google.cloud.retail.v2.SearchRequest.branch] to
54
+ # `projects/*/locations/*/catalogs/*/branches/1`.
55
55
  #
56
- # Using multiple branches can be useful when developers would like
57
- # to have a staging branch to test and verify for future usage. When it
58
- # becomes ready, developers switch on the staging branch using this API
59
- # while keeping using
60
- # `projects/*/locations/*/catalogs/*/branches/default_branch` as
61
- # [SearchRequest.branch][google.cloud.retail.v2.SearchRequest.branch] to
62
- # route the traffic to this staging branch.
56
+ # Using multiple branches can be useful when developers would like
57
+ # to have a staging branch to test and verify for future usage. When it
58
+ # becomes ready, developers switch on the staging branch using this API
59
+ # while keeping using
60
+ # `projects/*/locations/*/catalogs/*/branches/default_branch` as
61
+ # [SearchRequest.branch][google.cloud.retail.v2.SearchRequest.branch] to
62
+ # route the traffic to this staging branch.
63
63
  #
64
- # CAUTION: If you have live predict/search traffic, switching the default
65
- # branch could potentially cause outages if the ID space of the new branch
66
- # is very different from the old one.
64
+ # CAUTION: If you have live predict/search traffic, switching the default
65
+ # branch could potentially cause outages if the ID space of the new branch
66
+ # is very different from the old one.
67
67
  #
68
- # More specifically:
68
+ # More specifically:
69
69
  #
70
- # * PredictionService will only return product IDs from branch {newBranch}.
71
- # * SearchService will only return product IDs from branch {newBranch}
72
- # (if branch is not explicitly set).
73
- # * UserEventService will only join events with products from branch
74
- # {newBranch}.
70
+ # * PredictionService will only return product IDs from branch {newBranch}.
71
+ # * SearchService will only return product IDs from branch {newBranch}
72
+ # (if branch is not explicitly set).
73
+ # * UserEventService will only join events with products from branch
74
+ # {newBranch}.
75
75
  rpc :SetDefaultBranch, ::Google::Cloud::Retail::V2::SetDefaultBranchRequest, ::Google::Protobuf::Empty
76
76
  # Get which branch is currently default branch set by
77
- # [CatalogService.SetDefaultBranch][google.cloud.retail.v2.CatalogService.SetDefaultBranch]
78
- # method under a specified parent catalog.
77
+ # [CatalogService.SetDefaultBranch][google.cloud.retail.v2.CatalogService.SetDefaultBranch]
78
+ # method under a specified parent catalog.
79
79
  rpc :GetDefaultBranch, ::Google::Cloud::Retail::V2::GetDefaultBranchRequest, ::Google::Cloud::Retail::V2::GetDefaultBranchResponse
80
80
  # Gets a [CompletionConfig][google.cloud.retail.v2.CompletionConfig].
81
81
  rpc :GetCompletionConfig, ::Google::Cloud::Retail::V2::GetCompletionConfigRequest, ::Google::Cloud::Retail::V2::CompletionConfig
@@ -8,7 +8,7 @@ require 'google/api/field_behavior_pb'
8
8
  require 'google/protobuf/timestamp_pb'
9
9
 
10
10
 
11
- descriptor_data = "\n#google/cloud/retail/v2/common.proto\x12\x16google.cloud.retail.v2\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xc9\x02\n\tCondition\x12@\n\x0bquery_terms\x18\x01 \x03(\x0b\x32+.google.cloud.retail.v2.Condition.QueryTerm\x12\x46\n\x11\x61\x63tive_time_range\x18\x03 \x03(\x0b\x32+.google.cloud.retail.v2.Condition.TimeRange\x12\x17\n\x0fpage_categories\x18\x04 \x03(\t\x1a.\n\tQueryTerm\x12\r\n\x05value\x18\x01 \x01(\t\x12\x12\n\nfull_match\x18\x02 \x01(\x08\x1ai\n\tTimeRange\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xea\r\n\x04Rule\x12@\n\x0c\x62oost_action\x18\x02 \x01(\x0b\x32(.google.cloud.retail.v2.Rule.BoostActionH\x00\x12\x46\n\x0fredirect_action\x18\x03 \x01(\x0b\x32+.google.cloud.retail.v2.Rule.RedirectActionH\x00\x12S\n\x16oneway_synonyms_action\x18\x06 \x01(\x0b\x32\x31.google.cloud.retail.v2.Rule.OnewaySynonymsActionH\x00\x12T\n\x17\x64o_not_associate_action\x18\x07 \x01(\x0b\x32\x31.google.cloud.retail.v2.Rule.DoNotAssociateActionH\x00\x12L\n\x12replacement_action\x18\x08 \x01(\x0b\x32..google.cloud.retail.v2.Rule.ReplacementActionH\x00\x12\x42\n\rignore_action\x18\t \x01(\x0b\x32).google.cloud.retail.v2.Rule.IgnoreActionH\x00\x12\x42\n\rfilter_action\x18\n \x01(\x0b\x32).google.cloud.retail.v2.Rule.FilterActionH\x00\x12S\n\x16twoway_synonyms_action\x18\x0b \x01(\x0b\x32\x31.google.cloud.retail.v2.Rule.TwowaySynonymsActionH\x00\x12X\n\x19\x66orce_return_facet_action\x18\x0c \x01(\x0b\x32\x33.google.cloud.retail.v2.Rule.ForceReturnFacetActionH\x00\x12M\n\x13remove_facet_action\x18\r \x01(\x0b\x32..google.cloud.retail.v2.Rule.RemoveFacetActionH\x00\x12<\n\npin_action\x18\x0e \x01(\x0b\x32&.google.cloud.retail.v2.Rule.PinActionH\x00\x12\x39\n\tcondition\x18\x01 \x01(\x0b\x32!.google.cloud.retail.v2.ConditionB\x03\xe0\x41\x02\x1a\x35\n\x0b\x42oostAction\x12\r\n\x05\x62oost\x18\x01 \x01(\x02\x12\x17\n\x0fproducts_filter\x18\x02 \x01(\t\x1a\x1e\n\x0c\x46ilterAction\x12\x0e\n\x06\x66ilter\x18\x01 \x01(\t\x1a&\n\x0eRedirectAction\x12\x14\n\x0credirect_uri\x18\x01 \x01(\t\x1a(\n\x14TwowaySynonymsAction\x12\x10\n\x08synonyms\x18\x01 \x03(\t\x1aS\n\x14OnewaySynonymsAction\x12\x13\n\x0bquery_terms\x18\x03 \x03(\t\x12\x10\n\x08synonyms\x18\x04 \x03(\t\x12\x14\n\x0coneway_terms\x18\x02 \x03(\t\x1aZ\n\x14\x44oNotAssociateAction\x12\x13\n\x0bquery_terms\x18\x02 \x03(\t\x12\x1e\n\x16\x64o_not_associate_terms\x18\x03 \x03(\t\x12\r\n\x05terms\x18\x01 \x03(\t\x1aP\n\x11ReplacementAction\x12\x13\n\x0bquery_terms\x18\x02 \x03(\t\x12\x18\n\x10replacement_term\x18\x03 \x01(\t\x12\x0c\n\x04term\x18\x01 \x01(\t\x1a$\n\x0cIgnoreAction\x12\x14\n\x0cignore_terms\x18\x01 \x03(\t\x1a\xce\x01\n\x16\x46orceReturnFacetAction\x12o\n\x1a\x66\x61\x63\x65t_position_adjustments\x18\x01 \x03(\x0b\x32K.google.cloud.retail.v2.Rule.ForceReturnFacetAction.FacetPositionAdjustment\x1a\x43\n\x17\x46\x61\x63\x65tPositionAdjustment\x12\x16\n\x0e\x61ttribute_name\x18\x01 \x01(\t\x12\x10\n\x08position\x18\x02 \x01(\x05\x1a,\n\x11RemoveFacetAction\x12\x17\n\x0f\x61ttribute_names\x18\x01 \x03(\t\x1a\x84\x01\n\tPinAction\x12H\n\x07pin_map\x18\x01 \x03(\x0b\x32\x32.google.cloud.retail.v2.Rule.PinAction.PinMapEntryB\x03\xe0\x41\x02\x1a-\n\x0bPinMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\x03\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x08\n\x06\x61\x63tion\"/\n\x08\x41udience\x12\x0f\n\x07genders\x18\x01 \x03(\t\x12\x12\n\nage_groups\x18\x02 \x03(\t\"3\n\tColorInfo\x12\x16\n\x0e\x63olor_families\x18\x01 \x03(\t\x12\x0e\n\x06\x63olors\x18\x02 \x03(\t\"\x86\x01\n\x0f\x43ustomAttribute\x12\x0c\n\x04text\x18\x01 \x03(\t\x12\x0f\n\x07numbers\x18\x02 \x03(\x01\x12\x1b\n\nsearchable\x18\x03 \x01(\x08\x42\x02\x18\x01H\x00\x88\x01\x01\x12\x1a\n\tindexable\x18\x04 \x01(\x08\x42\x02\x18\x01H\x01\x88\x01\x01\x42\r\n\x0b_searchableB\x0c\n\n_indexable\"2\n\x0f\x46ulfillmentInfo\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x11\n\tplace_ids\x18\x02 \x03(\t\"8\n\x05Image\x12\x10\n\x03uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x0e\n\x06height\x18\x02 \x01(\x05\x12\r\n\x05width\x18\x03 \x01(\x05\"x\n\x08Interval\x12\x11\n\x07minimum\x18\x01 \x01(\x01H\x00\x12\x1b\n\x11\x65xclusive_minimum\x18\x02 \x01(\x01H\x00\x12\x11\n\x07maximum\x18\x03 \x01(\x01H\x01\x12\x1b\n\x11\x65xclusive_maximum\x18\x04 \x01(\x01H\x01\x42\x05\n\x03minB\x05\n\x03max\"\x89\x03\n\tPriceInfo\x12\x15\n\rcurrency_code\x18\x01 \x01(\t\x12\r\n\x05price\x18\x02 \x01(\x02\x12\x16\n\x0eoriginal_price\x18\x03 \x01(\x02\x12\x0c\n\x04\x63ost\x18\x04 \x01(\x02\x12\x38\n\x14price_effective_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11price_expire_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x46\n\x0bprice_range\x18\x07 \x01(\x0b\x32,.google.cloud.retail.v2.PriceInfo.PriceRangeB\x03\xe0\x41\x03\x1aw\n\nPriceRange\x12/\n\x05price\x18\x01 \x01(\x0b\x32 .google.cloud.retail.v2.Interval\x12\x38\n\x0eoriginal_price\x18\x02 \x01(\x0b\x32 .google.cloud.retail.v2.Interval\"P\n\x06Rating\x12\x14\n\x0crating_count\x18\x01 \x01(\x05\x12\x16\n\x0e\x61verage_rating\x18\x02 \x01(\x02\x12\x18\n\x10rating_histogram\x18\x03 \x03(\x05\"`\n\x08UserInfo\x12\x0f\n\x07user_id\x18\x01 \x01(\t\x12\x12\n\nip_address\x18\x02 \x01(\t\x12\x12\n\nuser_agent\x18\x03 \x01(\t\x12\x1b\n\x13\x64irect_user_request\x18\x04 \x01(\x08\"\xb0\x02\n\x0eLocalInventory\x12\x15\n\x08place_id\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12:\n\nprice_info\x18\x02 \x01(\x0b\x32!.google.cloud.retail.v2.PriceInfoB\x03\xe0\x41\x01\x12O\n\nattributes\x18\x03 \x03(\x0b\x32\x36.google.cloud.retail.v2.LocalInventory.AttributesEntryB\x03\xe0\x41\x01\x12\x1e\n\x11\x66ulfillment_types\x18\x04 \x03(\tB\x03\xe0\x41\x01\x1aZ\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32\'.google.cloud.retail.v2.CustomAttribute:\x02\x38\x01\"\xbf\x03\n\x12PinControlMetadata\x12X\n\x10\x61ll_matched_pins\x18\x01 \x03(\x0b\x32>.google.cloud.retail.v2.PinControlMetadata.AllMatchedPinsEntry\x12Q\n\x0c\x64ropped_pins\x18\x02 \x03(\x0b\x32;.google.cloud.retail.v2.PinControlMetadata.DroppedPinsEntry\x1a!\n\x0bProductPins\x12\x12\n\nproduct_id\x18\x01 \x03(\t\x1am\n\x13\x41llMatchedPinsEntry\x12\x0b\n\x03key\x18\x01 \x01(\x03\x12\x45\n\x05value\x18\x02 \x01(\x0b\x32\x36.google.cloud.retail.v2.PinControlMetadata.ProductPins:\x02\x38\x01\x1aj\n\x10\x44roppedPinsEntry\x12\x0b\n\x03key\x18\x01 \x01(\x03\x12\x45\n\x05value\x18\x02 \x01(\x0b\x32\x36.google.cloud.retail.v2.PinControlMetadata.ProductPins:\x02\x38\x01*\x86\x01\n\x14\x41ttributeConfigLevel\x12&\n\"ATTRIBUTE_CONFIG_LEVEL_UNSPECIFIED\x10\x00\x12\"\n\x1ePRODUCT_LEVEL_ATTRIBUTE_CONFIG\x10\x01\x12\"\n\x1e\x43\x41TALOG_LEVEL_ATTRIBUTE_CONFIG\x10\x02*i\n\x0cSolutionType\x12\x1d\n\x19SOLUTION_TYPE_UNSPECIFIED\x10\x00\x12 \n\x1cSOLUTION_TYPE_RECOMMENDATION\x10\x01\x12\x18\n\x14SOLUTION_TYPE_SEARCH\x10\x02*\xa1\x01\n\x1eRecommendationsFilteringOption\x12\x30\n,RECOMMENDATIONS_FILTERING_OPTION_UNSPECIFIED\x10\x00\x12&\n\"RECOMMENDATIONS_FILTERING_DISABLED\x10\x01\x12%\n!RECOMMENDATIONS_FILTERING_ENABLED\x10\x03*\x8b\x01\n\x15SearchSolutionUseCase\x12(\n$SEARCH_SOLUTION_USE_CASE_UNSPECIFIED\x10\x00\x12#\n\x1fSEARCH_SOLUTION_USE_CASE_SEARCH\x10\x01\x12#\n\x1fSEARCH_SOLUTION_USE_CASE_BROWSE\x10\x02\x42\xb6\x01\n\x1a\x63om.google.cloud.retail.v2B\x0b\x43ommonProtoP\x01Z2cloud.google.com/go/retail/apiv2/retailpb;retailpb\xa2\x02\x06RETAIL\xaa\x02\x16Google.Cloud.Retail.V2\xca\x02\x16Google\\Cloud\\Retail\\V2\xea\x02\x19Google::Cloud::Retail::V2b\x06proto3"
11
+ descriptor_data = "\n#google/cloud/retail/v2/common.proto\x12\x16google.cloud.retail.v2\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xc9\x02\n\tCondition\x12@\n\x0bquery_terms\x18\x01 \x03(\x0b\x32+.google.cloud.retail.v2.Condition.QueryTerm\x12\x46\n\x11\x61\x63tive_time_range\x18\x03 \x03(\x0b\x32+.google.cloud.retail.v2.Condition.TimeRange\x12\x17\n\x0fpage_categories\x18\x04 \x03(\t\x1a.\n\tQueryTerm\x12\r\n\x05value\x18\x01 \x01(\t\x12\x12\n\nfull_match\x18\x02 \x01(\x08\x1ai\n\tTimeRange\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xea\r\n\x04Rule\x12@\n\x0c\x62oost_action\x18\x02 \x01(\x0b\x32(.google.cloud.retail.v2.Rule.BoostActionH\x00\x12\x46\n\x0fredirect_action\x18\x03 \x01(\x0b\x32+.google.cloud.retail.v2.Rule.RedirectActionH\x00\x12S\n\x16oneway_synonyms_action\x18\x06 \x01(\x0b\x32\x31.google.cloud.retail.v2.Rule.OnewaySynonymsActionH\x00\x12T\n\x17\x64o_not_associate_action\x18\x07 \x01(\x0b\x32\x31.google.cloud.retail.v2.Rule.DoNotAssociateActionH\x00\x12L\n\x12replacement_action\x18\x08 \x01(\x0b\x32..google.cloud.retail.v2.Rule.ReplacementActionH\x00\x12\x42\n\rignore_action\x18\t \x01(\x0b\x32).google.cloud.retail.v2.Rule.IgnoreActionH\x00\x12\x42\n\rfilter_action\x18\n \x01(\x0b\x32).google.cloud.retail.v2.Rule.FilterActionH\x00\x12S\n\x16twoway_synonyms_action\x18\x0b \x01(\x0b\x32\x31.google.cloud.retail.v2.Rule.TwowaySynonymsActionH\x00\x12X\n\x19\x66orce_return_facet_action\x18\x0c \x01(\x0b\x32\x33.google.cloud.retail.v2.Rule.ForceReturnFacetActionH\x00\x12M\n\x13remove_facet_action\x18\r \x01(\x0b\x32..google.cloud.retail.v2.Rule.RemoveFacetActionH\x00\x12<\n\npin_action\x18\x0e \x01(\x0b\x32&.google.cloud.retail.v2.Rule.PinActionH\x00\x12\x39\n\tcondition\x18\x01 \x01(\x0b\x32!.google.cloud.retail.v2.ConditionB\x03\xe0\x41\x02\x1a\x35\n\x0b\x42oostAction\x12\r\n\x05\x62oost\x18\x01 \x01(\x02\x12\x17\n\x0fproducts_filter\x18\x02 \x01(\t\x1a\x1e\n\x0c\x46ilterAction\x12\x0e\n\x06\x66ilter\x18\x01 \x01(\t\x1a&\n\x0eRedirectAction\x12\x14\n\x0credirect_uri\x18\x01 \x01(\t\x1a(\n\x14TwowaySynonymsAction\x12\x10\n\x08synonyms\x18\x01 \x03(\t\x1aS\n\x14OnewaySynonymsAction\x12\x13\n\x0bquery_terms\x18\x03 \x03(\t\x12\x10\n\x08synonyms\x18\x04 \x03(\t\x12\x14\n\x0coneway_terms\x18\x02 \x03(\t\x1aZ\n\x14\x44oNotAssociateAction\x12\x13\n\x0bquery_terms\x18\x02 \x03(\t\x12\x1e\n\x16\x64o_not_associate_terms\x18\x03 \x03(\t\x12\r\n\x05terms\x18\x01 \x03(\t\x1aP\n\x11ReplacementAction\x12\x13\n\x0bquery_terms\x18\x02 \x03(\t\x12\x18\n\x10replacement_term\x18\x03 \x01(\t\x12\x0c\n\x04term\x18\x01 \x01(\t\x1a$\n\x0cIgnoreAction\x12\x14\n\x0cignore_terms\x18\x01 \x03(\t\x1a\xce\x01\n\x16\x46orceReturnFacetAction\x12o\n\x1a\x66\x61\x63\x65t_position_adjustments\x18\x01 \x03(\x0b\x32K.google.cloud.retail.v2.Rule.ForceReturnFacetAction.FacetPositionAdjustment\x1a\x43\n\x17\x46\x61\x63\x65tPositionAdjustment\x12\x16\n\x0e\x61ttribute_name\x18\x01 \x01(\t\x12\x10\n\x08position\x18\x02 \x01(\x05\x1a,\n\x11RemoveFacetAction\x12\x17\n\x0f\x61ttribute_names\x18\x01 \x03(\t\x1a\x84\x01\n\tPinAction\x12H\n\x07pin_map\x18\x01 \x03(\x0b\x32\x32.google.cloud.retail.v2.Rule.PinAction.PinMapEntryB\x03\xe0\x41\x02\x1a-\n\x0bPinMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\x03\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x08\n\x06\x61\x63tion\"/\n\x08\x41udience\x12\x0f\n\x07genders\x18\x01 \x03(\t\x12\x12\n\nage_groups\x18\x02 \x03(\t\"3\n\tColorInfo\x12\x16\n\x0e\x63olor_families\x18\x01 \x03(\t\x12\x0e\n\x06\x63olors\x18\x02 \x03(\t\"\x86\x01\n\x0f\x43ustomAttribute\x12\x0c\n\x04text\x18\x01 \x03(\t\x12\x0f\n\x07numbers\x18\x02 \x03(\x01\x12\x1b\n\nsearchable\x18\x03 \x01(\x08\x42\x02\x18\x01H\x00\x88\x01\x01\x12\x1a\n\tindexable\x18\x04 \x01(\x08\x42\x02\x18\x01H\x01\x88\x01\x01\x42\r\n\x0b_searchableB\x0c\n\n_indexable\"2\n\x0f\x46ulfillmentInfo\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x11\n\tplace_ids\x18\x02 \x03(\t\"8\n\x05Image\x12\x10\n\x03uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x0e\n\x06height\x18\x02 \x01(\x05\x12\r\n\x05width\x18\x03 \x01(\x05\"x\n\x08Interval\x12\x11\n\x07minimum\x18\x01 \x01(\x01H\x00\x12\x1b\n\x11\x65xclusive_minimum\x18\x02 \x01(\x01H\x00\x12\x11\n\x07maximum\x18\x03 \x01(\x01H\x01\x12\x1b\n\x11\x65xclusive_maximum\x18\x04 \x01(\x01H\x01\x42\x05\n\x03minB\x05\n\x03max\"\x89\x03\n\tPriceInfo\x12\x15\n\rcurrency_code\x18\x01 \x01(\t\x12\r\n\x05price\x18\x02 \x01(\x02\x12\x16\n\x0eoriginal_price\x18\x03 \x01(\x02\x12\x0c\n\x04\x63ost\x18\x04 \x01(\x02\x12\x38\n\x14price_effective_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11price_expire_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x46\n\x0bprice_range\x18\x07 \x01(\x0b\x32,.google.cloud.retail.v2.PriceInfo.PriceRangeB\x03\xe0\x41\x03\x1aw\n\nPriceRange\x12/\n\x05price\x18\x01 \x01(\x0b\x32 .google.cloud.retail.v2.Interval\x12\x38\n\x0eoriginal_price\x18\x02 \x01(\x0b\x32 .google.cloud.retail.v2.Interval\"P\n\x06Rating\x12\x14\n\x0crating_count\x18\x01 \x01(\x05\x12\x16\n\x0e\x61verage_rating\x18\x02 \x01(\x02\x12\x18\n\x10rating_histogram\x18\x03 \x03(\x05\"`\n\x08UserInfo\x12\x0f\n\x07user_id\x18\x01 \x01(\t\x12\x12\n\nip_address\x18\x02 \x01(\t\x12\x12\n\nuser_agent\x18\x03 \x01(\t\x12\x1b\n\x13\x64irect_user_request\x18\x04 \x01(\x08\"\xb0\x02\n\x0eLocalInventory\x12\x15\n\x08place_id\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12:\n\nprice_info\x18\x02 \x01(\x0b\x32!.google.cloud.retail.v2.PriceInfoB\x03\xe0\x41\x01\x12O\n\nattributes\x18\x03 \x03(\x0b\x32\x36.google.cloud.retail.v2.LocalInventory.AttributesEntryB\x03\xe0\x41\x01\x12\x1e\n\x11\x66ulfillment_types\x18\x04 \x03(\tB\x03\xe0\x41\x01\x1aZ\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32\'.google.cloud.retail.v2.CustomAttribute:\x02\x38\x01\"\xbf\x03\n\x12PinControlMetadata\x12X\n\x10\x61ll_matched_pins\x18\x01 \x03(\x0b\x32>.google.cloud.retail.v2.PinControlMetadata.AllMatchedPinsEntry\x12Q\n\x0c\x64ropped_pins\x18\x02 \x03(\x0b\x32;.google.cloud.retail.v2.PinControlMetadata.DroppedPinsEntry\x1a!\n\x0bProductPins\x12\x12\n\nproduct_id\x18\x01 \x03(\t\x1am\n\x13\x41llMatchedPinsEntry\x12\x0b\n\x03key\x18\x01 \x01(\x03\x12\x45\n\x05value\x18\x02 \x01(\x0b\x32\x36.google.cloud.retail.v2.PinControlMetadata.ProductPins:\x02\x38\x01\x1aj\n\x10\x44roppedPinsEntry\x12\x0b\n\x03key\x18\x01 \x01(\x03\x12\x45\n\x05value\x18\x02 \x01(\x0b\x32\x36.google.cloud.retail.v2.PinControlMetadata.ProductPins:\x02\x38\x01\"\x1c\n\nStringList\x12\x0e\n\x06values\x18\x01 \x03(\t\"\x1c\n\nDoubleList\x12\x0e\n\x06values\x18\x01 \x03(\x01*\x86\x01\n\x14\x41ttributeConfigLevel\x12&\n\"ATTRIBUTE_CONFIG_LEVEL_UNSPECIFIED\x10\x00\x12\"\n\x1ePRODUCT_LEVEL_ATTRIBUTE_CONFIG\x10\x01\x12\"\n\x1e\x43\x41TALOG_LEVEL_ATTRIBUTE_CONFIG\x10\x02*i\n\x0cSolutionType\x12\x1d\n\x19SOLUTION_TYPE_UNSPECIFIED\x10\x00\x12 \n\x1cSOLUTION_TYPE_RECOMMENDATION\x10\x01\x12\x18\n\x14SOLUTION_TYPE_SEARCH\x10\x02*\xa1\x01\n\x1eRecommendationsFilteringOption\x12\x30\n,RECOMMENDATIONS_FILTERING_OPTION_UNSPECIFIED\x10\x00\x12&\n\"RECOMMENDATIONS_FILTERING_DISABLED\x10\x01\x12%\n!RECOMMENDATIONS_FILTERING_ENABLED\x10\x03*\x8b\x01\n\x15SearchSolutionUseCase\x12(\n$SEARCH_SOLUTION_USE_CASE_UNSPECIFIED\x10\x00\x12#\n\x1fSEARCH_SOLUTION_USE_CASE_SEARCH\x10\x01\x12#\n\x1fSEARCH_SOLUTION_USE_CASE_BROWSE\x10\x02\x42\xb6\x01\n\x1a\x63om.google.cloud.retail.v2B\x0b\x43ommonProtoP\x01Z2cloud.google.com/go/retail/apiv2/retailpb;retailpb\xa2\x02\x06RETAIL\xaa\x02\x16Google.Cloud.Retail.V2\xca\x02\x16Google\\Cloud\\Retail\\V2\xea\x02\x19Google::Cloud::Retail::V2b\x06proto3"
12
12
 
13
13
  pool = Google::Protobuf::DescriptorPool.generated_pool
14
14
 
@@ -68,6 +68,8 @@ module Google
68
68
  LocalInventory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.LocalInventory").msgclass
69
69
  PinControlMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.PinControlMetadata").msgclass
70
70
  PinControlMetadata::ProductPins = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.PinControlMetadata.ProductPins").msgclass
71
+ StringList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.StringList").msgclass
72
+ DoubleList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.DoubleList").msgclass
71
73
  AttributeConfigLevel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.AttributeConfigLevel").enummodule
72
74
  SolutionType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.SolutionType").enummodule
73
75
  RecommendationsFilteringOption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.RecommendationsFilteringOption").enummodule