google-apis-retail_v2 0.104.0 → 0.105.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cfcad764df0053152b60928717076cb104a1b8a00a91e9a5a9d04a95882b9d97
|
4
|
+
data.tar.gz: dbd755005c9c634c96345c4ad30f620b98083cd618c85b4eb31035b2bc0639ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2197164ecb8f51972029bab2550503cbcc72d0bb08d44db95407f216f283d829b431a439f38e584328da046c6100e78e709c05700c623d2243fe24ec0a742554
|
7
|
+
data.tar.gz: 07c301879e5369152e6fe21cf29e9f830ec8476255ae646c8655f8be0e8096302bdf6c694b1cdfae33f2b2fdc18d36d73da63986a03e025e4f834032d97b064a
|
data/CHANGELOG.md
CHANGED
@@ -2840,6 +2840,52 @@ module Google
|
|
2840
2840
|
end
|
2841
2841
|
end
|
2842
2842
|
|
2843
|
+
# Metadata for pinning to be returned in the response. This is used for
|
2844
|
+
# distinguishing between applied vs dropped pins.
|
2845
|
+
class GoogleCloudRetailV2PinControlMetadata
|
2846
|
+
include Google::Apis::Core::Hashable
|
2847
|
+
|
2848
|
+
# Map of all matched pins, keyed by pin position.
|
2849
|
+
# Corresponds to the JSON property `allMatchedPins`
|
2850
|
+
# @return [Hash<String,Google::Apis::RetailV2::GoogleCloudRetailV2PinControlMetadataProductPins>]
|
2851
|
+
attr_accessor :all_matched_pins
|
2852
|
+
|
2853
|
+
# Map of pins that were dropped due to overlap with other matching pins, keyed
|
2854
|
+
# by pin position.
|
2855
|
+
# Corresponds to the JSON property `droppedPins`
|
2856
|
+
# @return [Hash<String,Google::Apis::RetailV2::GoogleCloudRetailV2PinControlMetadataProductPins>]
|
2857
|
+
attr_accessor :dropped_pins
|
2858
|
+
|
2859
|
+
def initialize(**args)
|
2860
|
+
update!(**args)
|
2861
|
+
end
|
2862
|
+
|
2863
|
+
# Update properties of this object
|
2864
|
+
def update!(**args)
|
2865
|
+
@all_matched_pins = args[:all_matched_pins] if args.key?(:all_matched_pins)
|
2866
|
+
@dropped_pins = args[:dropped_pins] if args.key?(:dropped_pins)
|
2867
|
+
end
|
2868
|
+
end
|
2869
|
+
|
2870
|
+
# List of product ids which have associated pins.
|
2871
|
+
class GoogleCloudRetailV2PinControlMetadataProductPins
|
2872
|
+
include Google::Apis::Core::Hashable
|
2873
|
+
|
2874
|
+
# List of product ids which have associated pins.
|
2875
|
+
# Corresponds to the JSON property `productId`
|
2876
|
+
# @return [Array<String>]
|
2877
|
+
attr_accessor :product_id
|
2878
|
+
|
2879
|
+
def initialize(**args)
|
2880
|
+
update!(**args)
|
2881
|
+
end
|
2882
|
+
|
2883
|
+
# Update properties of this object
|
2884
|
+
def update!(**args)
|
2885
|
+
@product_id = args[:product_id] if args.key?(:product_id)
|
2886
|
+
end
|
2887
|
+
end
|
2888
|
+
|
2843
2889
|
# Request message for Predict method.
|
2844
2890
|
class GoogleCloudRetailV2PredictRequest
|
2845
2891
|
include Google::Apis::Core::Hashable
|
@@ -5468,6 +5514,12 @@ module Google
|
|
5468
5514
|
# @return [String]
|
5469
5515
|
attr_accessor :next_page_token
|
5470
5516
|
|
5517
|
+
# Metadata for pinning to be returned in the response. This is used for
|
5518
|
+
# distinguishing between applied vs dropped pins.
|
5519
|
+
# Corresponds to the JSON property `pinControlMetadata`
|
5520
|
+
# @return [Google::Apis::RetailV2::GoogleCloudRetailV2PinControlMetadata]
|
5521
|
+
attr_accessor :pin_control_metadata
|
5522
|
+
|
5471
5523
|
# Information describing query expansion including whether expansion has
|
5472
5524
|
# occurred.
|
5473
5525
|
# Corresponds to the JSON property `queryExpansionInfo`
|
@@ -5513,6 +5565,7 @@ module Google
|
|
5513
5565
|
@facets = args[:facets] if args.key?(:facets)
|
5514
5566
|
@invalid_condition_boost_specs = args[:invalid_condition_boost_specs] if args.key?(:invalid_condition_boost_specs)
|
5515
5567
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
5568
|
+
@pin_control_metadata = args[:pin_control_metadata] if args.key?(:pin_control_metadata)
|
5516
5569
|
@query_expansion_info = args[:query_expansion_info] if args.key?(:query_expansion_info)
|
5517
5570
|
@redirect_uri = args[:redirect_uri] if args.key?(:redirect_uri)
|
5518
5571
|
@results = args[:results] if args.key?(:results)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module RetailV2
|
18
18
|
# Version of the google-apis-retail_v2 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.105.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20241024"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -502,6 +502,18 @@ module Google
|
|
502
502
|
include Google::Apis::Core::JsonObjectSupport
|
503
503
|
end
|
504
504
|
|
505
|
+
class GoogleCloudRetailV2PinControlMetadata
|
506
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
507
|
+
|
508
|
+
include Google::Apis::Core::JsonObjectSupport
|
509
|
+
end
|
510
|
+
|
511
|
+
class GoogleCloudRetailV2PinControlMetadataProductPins
|
512
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
513
|
+
|
514
|
+
include Google::Apis::Core::JsonObjectSupport
|
515
|
+
end
|
516
|
+
|
505
517
|
class GoogleCloudRetailV2PredictRequest
|
506
518
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
507
519
|
|
@@ -2284,6 +2296,23 @@ module Google
|
|
2284
2296
|
end
|
2285
2297
|
end
|
2286
2298
|
|
2299
|
+
class GoogleCloudRetailV2PinControlMetadata
|
2300
|
+
# @private
|
2301
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2302
|
+
hash :all_matched_pins, as: 'allMatchedPins', class: Google::Apis::RetailV2::GoogleCloudRetailV2PinControlMetadataProductPins, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2PinControlMetadataProductPins::Representation
|
2303
|
+
|
2304
|
+
hash :dropped_pins, as: 'droppedPins', class: Google::Apis::RetailV2::GoogleCloudRetailV2PinControlMetadataProductPins, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2PinControlMetadataProductPins::Representation
|
2305
|
+
|
2306
|
+
end
|
2307
|
+
end
|
2308
|
+
|
2309
|
+
class GoogleCloudRetailV2PinControlMetadataProductPins
|
2310
|
+
# @private
|
2311
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2312
|
+
collection :product_id, as: 'productId'
|
2313
|
+
end
|
2314
|
+
end
|
2315
|
+
|
2287
2316
|
class GoogleCloudRetailV2PredictRequest
|
2288
2317
|
# @private
|
2289
2318
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2889,6 +2918,8 @@ module Google
|
|
2889
2918
|
collection :invalid_condition_boost_specs, as: 'invalidConditionBoostSpecs', class: Google::Apis::RetailV2::GoogleCloudRetailV2SearchRequestBoostSpecConditionBoostSpec, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2SearchRequestBoostSpecConditionBoostSpec::Representation
|
2890
2919
|
|
2891
2920
|
property :next_page_token, as: 'nextPageToken'
|
2921
|
+
property :pin_control_metadata, as: 'pinControlMetadata', class: Google::Apis::RetailV2::GoogleCloudRetailV2PinControlMetadata, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2PinControlMetadata::Representation
|
2922
|
+
|
2892
2923
|
property :query_expansion_info, as: 'queryExpansionInfo', class: Google::Apis::RetailV2::GoogleCloudRetailV2SearchResponseQueryExpansionInfo, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2SearchResponseQueryExpansionInfo::Representation
|
2893
2924
|
|
2894
2925
|
property :redirect_uri, as: 'redirectUri'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-retail_v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.105.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: 2024-
|
11
|
+
date: 2024-11-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2/v0.105.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|