google-apis-retail_v2alpha 0.81.0 → 0.83.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: 39b3b322f04a7d2377bb6d208e8dccd34f1eadbc963c6c1e2e4c7fb7cb0d4131
|
4
|
+
data.tar.gz: 370f9aa7687a5447d345c472df696bef902bbc70e849e9d23bf1458d6e377ba0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12172529dc029e0f592864b6ab5954139fc01af35d1493dee9e0fc5ee991faf0ec371382581e9dbcef4c1b7f893a7b06cefd0c11aeea85607f18f8896857eea2
|
7
|
+
data.tar.gz: 610f65ed7301f77d18e83c5320e84458a7bc0ab09d6c21d2d924fdf41b6541c3add701cd0cd18f74b5dfc7285eaf55029ff118f3b6d6c29395e92b6155b53032
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-retail_v2alpha
|
2
2
|
|
3
|
+
### v0.83.0 (2023-08-03)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230720
|
6
|
+
|
7
|
+
### v0.82.0 (2023-07-23)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230713
|
10
|
+
|
3
11
|
### v0.81.0 (2023-07-09)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230629
|
@@ -2197,13 +2197,6 @@ module Google
|
|
2197
2197
|
class GoogleCloudRetailV2alphaEnrollSolutionRequest
|
2198
2198
|
include Google::Apis::Core::Hashable
|
2199
2199
|
|
2200
|
-
# Solution use case to enroll. Currently settable for Browse to enroll. It
|
2201
|
-
# should be only set when [solution] is set as SolutionType.SOLUTION_TYPE_SEARCH
|
2202
|
-
# or an INVALID_ARGUMENT error is thrown.
|
2203
|
-
# Corresponds to the JSON property `searchSolutionUseCase`
|
2204
|
-
# @return [String]
|
2205
|
-
attr_accessor :search_solution_use_case
|
2206
|
-
|
2207
2200
|
# Required. Solution to enroll.
|
2208
2201
|
# Corresponds to the JSON property `solution`
|
2209
2202
|
# @return [String]
|
@@ -2215,7 +2208,6 @@ module Google
|
|
2215
2208
|
|
2216
2209
|
# Update properties of this object
|
2217
2210
|
def update!(**args)
|
2218
|
-
@search_solution_use_case = args[:search_solution_use_case] if args.key?(:search_solution_use_case)
|
2219
2211
|
@solution = args[:solution] if args.key?(:solution)
|
2220
2212
|
end
|
2221
2213
|
end
|
@@ -2229,11 +2221,6 @@ module Google
|
|
2229
2221
|
# @return [String]
|
2230
2222
|
attr_accessor :enrolled_solution
|
2231
2223
|
|
2232
|
-
# Search solution use case that the project has enrolled.
|
2233
|
-
# Corresponds to the JSON property `searchSolutionUseCase`
|
2234
|
-
# @return [String]
|
2235
|
-
attr_accessor :search_solution_use_case
|
2236
|
-
|
2237
2224
|
def initialize(**args)
|
2238
2225
|
update!(**args)
|
2239
2226
|
end
|
@@ -2241,7 +2228,6 @@ module Google
|
|
2241
2228
|
# Update properties of this object
|
2242
2229
|
def update!(**args)
|
2243
2230
|
@enrolled_solution = args[:enrolled_solution] if args.key?(:enrolled_solution)
|
2244
|
-
@search_solution_use_case = args[:search_solution_use_case] if args.key?(:search_solution_use_case)
|
2245
2231
|
end
|
2246
2232
|
end
|
2247
2233
|
|
@@ -4055,11 +4041,11 @@ module Google
|
|
4055
4041
|
attr_accessor :available_time
|
4056
4042
|
|
4057
4043
|
# The brands of the product. A maximum of 30 brands are allowed unless
|
4058
|
-
# overridden
|
4059
|
-
# length limit of 1,000 characters. Otherwise, an
|
4060
|
-
# returned. Corresponding properties: Google Merchant
|
4061
|
-
# https://support.google.com/merchants/answer/6324351).
|
4062
|
-
# Product.brand](https://schema.org/brand).
|
4044
|
+
# overridden through the Google Cloud console. Each brand must be a UTF-8
|
4045
|
+
# encoded string with a length limit of 1,000 characters. Otherwise, an
|
4046
|
+
# INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant
|
4047
|
+
# Center property [brand](https://support.google.com/merchants/answer/6324351).
|
4048
|
+
# Schema.org property [Product.brand](https://schema.org/brand).
|
4063
4049
|
# Corresponds to the JSON property `brands`
|
4064
4050
|
# @return [Array<String>]
|
4065
4051
|
attr_accessor :brands
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module RetailV2alpha
|
18
18
|
# Version of the google-apis-retail_v2alpha gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.83.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230720"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1985,7 +1985,6 @@ module Google
|
|
1985
1985
|
class GoogleCloudRetailV2alphaEnrollSolutionRequest
|
1986
1986
|
# @private
|
1987
1987
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1988
|
-
property :search_solution_use_case, as: 'searchSolutionUseCase'
|
1989
1988
|
property :solution, as: 'solution'
|
1990
1989
|
end
|
1991
1990
|
end
|
@@ -1994,7 +1993,6 @@ module Google
|
|
1994
1993
|
# @private
|
1995
1994
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1996
1995
|
property :enrolled_solution, as: 'enrolledSolution'
|
1997
|
-
property :search_solution_use_case, as: 'searchSolutionUseCase'
|
1998
1996
|
end
|
1999
1997
|
end
|
2000
1998
|
|
@@ -51,9 +51,10 @@ module Google
|
|
51
51
|
@batch_path = 'batch'
|
52
52
|
end
|
53
53
|
|
54
|
-
#
|
55
|
-
# enrolled by default when your project
|
56
|
-
#
|
54
|
+
# The method enrolls a solution of type Retail Search into a project. The
|
55
|
+
# Recommendations AI solution type is enrolled by default when your project
|
56
|
+
# enables Retail API, so you don't need to call the enrollSolution method for
|
57
|
+
# recommendations.
|
57
58
|
# @param [String] project
|
58
59
|
# Required. Full resource name of parent. Format: `projects/`
|
59
60
|
# project_number_or_id``
|
@@ -87,8 +88,8 @@ module Google
|
|
87
88
|
execute_or_queue_command(command, &block)
|
88
89
|
end
|
89
90
|
|
90
|
-
# Gets the project. Throws NOT_FOUND if the project wasn't initialized for
|
91
|
-
# Retail API
|
91
|
+
# Gets the project. Throws `NOT_FOUND` if the project wasn't initialized for the
|
92
|
+
# Retail API service.
|
92
93
|
# @param [String] name
|
93
94
|
# Required. Full resource name of the project. Format: `projects/`
|
94
95
|
# project_number_or_id`/retailProject`
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-retail_v2alpha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.83.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-
|
11
|
+
date: 2023-08-06 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_v2alpha/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2alpha/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2alpha/v0.83.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2alpha
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|