google-apis-retail_v2 0.86.0 → 0.87.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f955a2116199d0020d8d7fa1a31d9f3a9530a3345077b13a1a14512d564d8ef2
|
4
|
+
data.tar.gz: 0b47e9ce274392ad9339ef2ed95b69f1508bd756a1bdfae2f9f85ae821771f0d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 47cf0ae95d3738f20a7050d5bef1598aec06e598de1d30d03363bfb0077ba2dffb40a3086b8609accedb3fadecc9f5f147410e9da3751a1884ebf9bd6a506cb4
|
7
|
+
data.tar.gz: e61cee1be25b125ee7060b440555490bddf9cd03bbc22197c0bda4dfc74ec0cdb2dc34ecaded290d8fd5102477f3cc43dce1067b8b63b44dd6a4a98ae32c0fd1
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-retail_v2
|
2
2
|
|
3
|
+
### v0.87.0 (2024-01-23)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240118
|
6
|
+
* Regenerated using generator version 0.13.0
|
7
|
+
|
3
8
|
### v0.86.0 (2023-12-10)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20231130
|
@@ -806,6 +806,18 @@ module Google
|
|
806
806
|
# @return [Array<Google::Apis::RetailV2::GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacetValue>]
|
807
807
|
attr_accessor :merged_facet_values
|
808
808
|
|
809
|
+
# Options to rerank based on facet values engaged by the user for the current
|
810
|
+
# key. That key needs to be a custom textual key and facetable. To use this
|
811
|
+
# control, you also need to pass all the facet keys engaged by the user in the
|
812
|
+
# request using the field [SearchRequest.FacetSpec]. In particular, if you don't
|
813
|
+
# pass the facet keys engaged that you want to rerank on, this control won't be
|
814
|
+
# effective. Moreover, to obtain better results, the facet values that you want
|
815
|
+
# to rerank on should be close to English (ideally made of words, underscores,
|
816
|
+
# and spaces).
|
817
|
+
# Corresponds to the JSON property `rerankConfig`
|
818
|
+
# @return [Google::Apis::RetailV2::GoogleCloudRetailV2CatalogAttributeFacetConfigRerankConfig]
|
819
|
+
attr_accessor :rerank_config
|
820
|
+
|
809
821
|
def initialize(**args)
|
810
822
|
update!(**args)
|
811
823
|
end
|
@@ -815,6 +827,7 @@ module Google
|
|
815
827
|
@facet_intervals = args[:facet_intervals] if args.key?(:facet_intervals)
|
816
828
|
@ignored_facet_values = args[:ignored_facet_values] if args.key?(:ignored_facet_values)
|
817
829
|
@merged_facet_values = args[:merged_facet_values] if args.key?(:merged_facet_values)
|
830
|
+
@rerank_config = args[:rerank_config] if args.key?(:rerank_config)
|
818
831
|
end
|
819
832
|
end
|
820
833
|
|
@@ -887,6 +900,41 @@ module Google
|
|
887
900
|
end
|
888
901
|
end
|
889
902
|
|
903
|
+
# Options to rerank based on facet values engaged by the user for the current
|
904
|
+
# key. That key needs to be a custom textual key and facetable. To use this
|
905
|
+
# control, you also need to pass all the facet keys engaged by the user in the
|
906
|
+
# request using the field [SearchRequest.FacetSpec]. In particular, if you don't
|
907
|
+
# pass the facet keys engaged that you want to rerank on, this control won't be
|
908
|
+
# effective. Moreover, to obtain better results, the facet values that you want
|
909
|
+
# to rerank on should be close to English (ideally made of words, underscores,
|
910
|
+
# and spaces).
|
911
|
+
class GoogleCloudRetailV2CatalogAttributeFacetConfigRerankConfig
|
912
|
+
include Google::Apis::Core::Hashable
|
913
|
+
|
914
|
+
# If empty, rerank on all facet values for the current key. Otherwise, will
|
915
|
+
# rerank on the facet values from this list only.
|
916
|
+
# Corresponds to the JSON property `facetValues`
|
917
|
+
# @return [Array<String>]
|
918
|
+
attr_accessor :facet_values
|
919
|
+
|
920
|
+
# If set to true, then we also rerank the dynamic facets based on the facet
|
921
|
+
# values engaged by the user for the current attribute key during serving.
|
922
|
+
# Corresponds to the JSON property `rerankFacet`
|
923
|
+
# @return [Boolean]
|
924
|
+
attr_accessor :rerank_facet
|
925
|
+
alias_method :rerank_facet?, :rerank_facet
|
926
|
+
|
927
|
+
def initialize(**args)
|
928
|
+
update!(**args)
|
929
|
+
end
|
930
|
+
|
931
|
+
# Update properties of this object
|
932
|
+
def update!(**args)
|
933
|
+
@facet_values = args[:facet_values] if args.key?(:facet_values)
|
934
|
+
@rerank_facet = args[:rerank_facet] if args.key?(:rerank_facet)
|
935
|
+
end
|
936
|
+
end
|
937
|
+
|
890
938
|
# The color information of a Product.
|
891
939
|
class GoogleCloudRetailV2ColorInfo
|
892
940
|
include Google::Apis::Core::Hashable
|
@@ -7080,6 +7128,40 @@ module Google
|
|
7080
7128
|
end
|
7081
7129
|
end
|
7082
7130
|
|
7131
|
+
# Response of the ExportAnalyticsMetricsRequest. If the long running operation
|
7132
|
+
# was successful, then this message is returned by the google.longrunning.
|
7133
|
+
# Operations.response field if the operation was successful.
|
7134
|
+
class GoogleCloudRetailV2betaExportAnalyticsMetricsResponse
|
7135
|
+
include Google::Apis::Core::Hashable
|
7136
|
+
|
7137
|
+
# A sample of errors encountered while processing the request.
|
7138
|
+
# Corresponds to the JSON property `errorSamples`
|
7139
|
+
# @return [Array<Google::Apis::RetailV2::GoogleRpcStatus>]
|
7140
|
+
attr_accessor :error_samples
|
7141
|
+
|
7142
|
+
# Configuration of destination for Export related errors.
|
7143
|
+
# Corresponds to the JSON property `errorsConfig`
|
7144
|
+
# @return [Google::Apis::RetailV2::GoogleCloudRetailV2betaExportErrorsConfig]
|
7145
|
+
attr_accessor :errors_config
|
7146
|
+
|
7147
|
+
# Output result that stores the information about where the exported data is
|
7148
|
+
# stored.
|
7149
|
+
# Corresponds to the JSON property `outputResult`
|
7150
|
+
# @return [Google::Apis::RetailV2::GoogleCloudRetailV2betaOutputResult]
|
7151
|
+
attr_accessor :output_result
|
7152
|
+
|
7153
|
+
def initialize(**args)
|
7154
|
+
update!(**args)
|
7155
|
+
end
|
7156
|
+
|
7157
|
+
# Update properties of this object
|
7158
|
+
def update!(**args)
|
7159
|
+
@error_samples = args[:error_samples] if args.key?(:error_samples)
|
7160
|
+
@errors_config = args[:errors_config] if args.key?(:errors_config)
|
7161
|
+
@output_result = args[:output_result] if args.key?(:output_result)
|
7162
|
+
end
|
7163
|
+
end
|
7164
|
+
|
7083
7165
|
# Configuration of destination for Export related errors.
|
7084
7166
|
class GoogleCloudRetailV2betaExportErrorsConfig
|
7085
7167
|
include Google::Apis::Core::Hashable
|
@@ -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.87.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.13.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240118"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -160,6 +160,12 @@ module Google
|
|
160
160
|
include Google::Apis::Core::JsonObjectSupport
|
161
161
|
end
|
162
162
|
|
163
|
+
class GoogleCloudRetailV2CatalogAttributeFacetConfigRerankConfig
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
163
169
|
class GoogleCloudRetailV2ColorInfo
|
164
170
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
171
|
|
@@ -1138,6 +1144,12 @@ module Google
|
|
1138
1144
|
include Google::Apis::Core::JsonObjectSupport
|
1139
1145
|
end
|
1140
1146
|
|
1147
|
+
class GoogleCloudRetailV2betaExportAnalyticsMetricsResponse
|
1148
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1149
|
+
|
1150
|
+
include Google::Apis::Core::JsonObjectSupport
|
1151
|
+
end
|
1152
|
+
|
1141
1153
|
class GoogleCloudRetailV2betaExportErrorsConfig
|
1142
1154
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1143
1155
|
|
@@ -1555,6 +1567,8 @@ module Google
|
|
1555
1567
|
|
1556
1568
|
collection :merged_facet_values, as: 'mergedFacetValues', class: Google::Apis::RetailV2::GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacetValue, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacetValue::Representation
|
1557
1569
|
|
1570
|
+
property :rerank_config, as: 'rerankConfig', class: Google::Apis::RetailV2::GoogleCloudRetailV2CatalogAttributeFacetConfigRerankConfig, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2CatalogAttributeFacetConfigRerankConfig::Representation
|
1571
|
+
|
1558
1572
|
end
|
1559
1573
|
end
|
1560
1574
|
|
@@ -1575,6 +1589,14 @@ module Google
|
|
1575
1589
|
end
|
1576
1590
|
end
|
1577
1591
|
|
1592
|
+
class GoogleCloudRetailV2CatalogAttributeFacetConfigRerankConfig
|
1593
|
+
# @private
|
1594
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1595
|
+
collection :facet_values, as: 'facetValues'
|
1596
|
+
property :rerank_facet, as: 'rerankFacet'
|
1597
|
+
end
|
1598
|
+
end
|
1599
|
+
|
1578
1600
|
class GoogleCloudRetailV2ColorInfo
|
1579
1601
|
# @private
|
1580
1602
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3134,6 +3156,18 @@ module Google
|
|
3134
3156
|
end
|
3135
3157
|
end
|
3136
3158
|
|
3159
|
+
class GoogleCloudRetailV2betaExportAnalyticsMetricsResponse
|
3160
|
+
# @private
|
3161
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3162
|
+
collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2::GoogleRpcStatus, decorator: Google::Apis::RetailV2::GoogleRpcStatus::Representation
|
3163
|
+
|
3164
|
+
property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2::GoogleCloudRetailV2betaExportErrorsConfig, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2betaExportErrorsConfig::Representation
|
3165
|
+
|
3166
|
+
property :output_result, as: 'outputResult', class: Google::Apis::RetailV2::GoogleCloudRetailV2betaOutputResult, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2betaOutputResult::Representation
|
3167
|
+
|
3168
|
+
end
|
3169
|
+
end
|
3170
|
+
|
3137
3171
|
class GoogleCloudRetailV2betaExportErrorsConfig
|
3138
3172
|
# @private
|
3139
3173
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -34,6 +34,8 @@ module Google
|
|
34
34
|
#
|
35
35
|
# @see https://cloud.google.com/recommendations
|
36
36
|
class CloudRetailService < Google::Apis::Core::BaseService
|
37
|
+
DEFAULT_ENDPOINT_TEMPLATE = "https://retail.$UNIVERSE_DOMAIN$/"
|
38
|
+
|
37
39
|
# @return [String]
|
38
40
|
# API key. Your API key identifies your project and provides you with API access,
|
39
41
|
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
@@ -45,7 +47,7 @@ module Google
|
|
45
47
|
attr_accessor :quota_user
|
46
48
|
|
47
49
|
def initialize
|
48
|
-
super(
|
50
|
+
super(DEFAULT_ENDPOINT_TEMPLATE, '',
|
49
51
|
client_name: 'google-apis-retail_v2',
|
50
52
|
client_version: Google::Apis::RetailV2::GEM_VERSION)
|
51
53
|
@batch_path = 'batch'
|
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.87.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:
|
11
|
+
date: 2024-01-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.12.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.
|
29
|
+
version: 0.12.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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.87.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: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.5.3
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Retail API V2
|