google-apis-retail_v2 0.40.0 → 0.41.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: 83d2c045ab19d04df43a0ee265228dd33d2d4ca7dfc6cbb4ab109e71742015fe
|
|
4
|
+
data.tar.gz: 31d8ba46b3a1300393c57fc8026686f0c25c2e79c386a670fdc65578583f9cd7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b368fa9f287a5611ce171ffe07ea6a81af8cf961af793bdbcae7aced693fdff59289cb64a572b45f0b3e4447cb1556218ee317600bcd148ce2dcadf1dcdadeca
|
|
7
|
+
data.tar.gz: 87cbc040524e40b349981f88d6bb36c6c9445b576d41c8c12a5be1e66e6104f8ae102d05311ffeb27c6f45d30a867eda2d67c9bce520d6fe6302a65ae0b8fbde
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Release history for google-apis-retail_v2
|
|
2
2
|
|
|
3
|
+
### v0.41.0 (2022-06-07)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20220602
|
|
6
|
+
* Regenerated using generator version 0.5.0
|
|
7
|
+
|
|
3
8
|
### v0.40.0 (2022-05-26)
|
|
4
9
|
|
|
5
10
|
* Regenerated from discovery document revision 20220519
|
|
@@ -2158,15 +2158,17 @@ module Google
|
|
|
2158
2158
|
end
|
|
2159
2159
|
end
|
|
2160
2160
|
|
|
2161
|
-
# Promotion
|
|
2161
|
+
# Promotion specification.
|
|
2162
2162
|
class GoogleCloudRetailV2Promotion
|
|
2163
2163
|
include Google::Apis::Core::Hashable
|
|
2164
2164
|
|
|
2165
|
-
#
|
|
2166
|
-
#
|
|
2167
|
-
#
|
|
2168
|
-
#
|
|
2169
|
-
#
|
|
2165
|
+
# Promotion identifier, which is the final component of name. For example, this
|
|
2166
|
+
# field is "free_gift", if name is `projects/*/locations/global/catalogs/
|
|
2167
|
+
# default_catalog/promotions/free_gift`. The value must be a UTF-8 encoded
|
|
2168
|
+
# string with a length limit of 128 characters, and match the pattern: `a-zA-Z*`.
|
|
2169
|
+
# For example, id0LikeThis or ID_1_LIKE_THIS. Otherwise, an INVALID_ARGUMENT
|
|
2170
|
+
# error is returned. Corresponds to Google Merchant Center property [
|
|
2171
|
+
# promotion_id](https://support.google.com/merchants/answer/7050148).
|
|
2170
2172
|
# Corresponds to the JSON property `promotionId`
|
|
2171
2173
|
# @return [String]
|
|
2172
2174
|
attr_accessor :promotion_id
|
|
@@ -2916,6 +2918,13 @@ module Google
|
|
|
2916
2918
|
class GoogleCloudRetailV2SearchRequestFacetSpecFacetKey
|
|
2917
2919
|
include Google::Apis::Core::Hashable
|
|
2918
2920
|
|
|
2921
|
+
# Whether to make facet keys case insensitive when getting faceting values with
|
|
2922
|
+
# prefixes or contains.
|
|
2923
|
+
# Corresponds to the JSON property `caseInsensitive`
|
|
2924
|
+
# @return [Boolean]
|
|
2925
|
+
attr_accessor :case_insensitive
|
|
2926
|
+
alias_method :case_insensitive?, :case_insensitive
|
|
2927
|
+
|
|
2919
2928
|
# Only get facet values that contains the given strings. For example, suppose "
|
|
2920
2929
|
# categories" has three values "Women > Shoe", "Women > Dress" and "Men > Shoe".
|
|
2921
2930
|
# If set "contains" to "Shoe", the "categories" facet will give only "Women >
|
|
@@ -2998,6 +3007,7 @@ module Google
|
|
|
2998
3007
|
|
|
2999
3008
|
# Update properties of this object
|
|
3000
3009
|
def update!(**args)
|
|
3010
|
+
@case_insensitive = args[:case_insensitive] if args.key?(:case_insensitive)
|
|
3001
3011
|
@contains = args[:contains] if args.key?(:contains)
|
|
3002
3012
|
@intervals = args[:intervals] if args.key?(:intervals)
|
|
3003
3013
|
@key = args[:key] if args.key?(:key)
|
|
@@ -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.41.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
|
-
GENERATOR_VERSION = "0.
|
|
22
|
+
GENERATOR_VERSION = "0.5.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20220602"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -1561,6 +1561,7 @@ module Google
|
|
|
1561
1561
|
class GoogleCloudRetailV2SearchRequestFacetSpecFacetKey
|
|
1562
1562
|
# @private
|
|
1563
1563
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1564
|
+
property :case_insensitive, as: 'caseInsensitive'
|
|
1564
1565
|
collection :contains, as: 'contains'
|
|
1565
1566
|
collection :intervals, as: 'intervals', class: Google::Apis::RetailV2::GoogleCloudRetailV2Interval, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2Interval::Representation
|
|
1566
1567
|
|
|
@@ -929,8 +929,8 @@ module Google
|
|
|
929
929
|
|
|
930
930
|
# Makes a recommendation prediction.
|
|
931
931
|
# @param [String] placement
|
|
932
|
-
# Required. Full resource name of the format:
|
|
933
|
-
# catalogs/default_catalog/placements
|
|
932
|
+
# Required. Full resource name of the format: ``name=projects/*/locations/global/
|
|
933
|
+
# catalogs/default_catalog/placements/*`` The ID of the Recommendations AI
|
|
934
934
|
# placement. Before you can request predictions from your model, you must create
|
|
935
935
|
# at least one placement for it. For more information, see [Managing placements](
|
|
936
936
|
# https://cloud.google.com/retail/recommendations-ai/docs/manage-placements).
|
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.41.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: 2022-
|
|
11
|
+
date: 2022-06-13 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.5'
|
|
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.5'
|
|
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.41.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: []
|