google-apis-merchantapi_products_v1beta 0.20.0 → 0.22.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/merchantapi_products_v1beta/classes.rb +19 -0
- data/lib/google/apis/merchantapi_products_v1beta/gem_version.rb +2 -2
- data/lib/google/apis/merchantapi_products_v1beta/representations.rb +2 -0
- data/lib/google/apis/merchantapi_products_v1beta/service.rb +36 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7c88e68f1b6a930336902a1edb5c5d61e668c106ef5075e02c29cf8b0f5acb2b
|
|
4
|
+
data.tar.gz: 0c4be4d9bb5b22db11fd9768c75c9c7702b4fecbeea12c24dd73b42697ce30bd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 554fd86214115acbca8b5bc400477eeb7d9f3e5fec7cebe3f50a0603f43b3b63c9e5ab51d43d73e2bd5b03d7aa634484f2079e73ae7f516de186469eecf7de7a
|
|
7
|
+
data.tar.gz: dbbfe1f5bcedd7807308b76bf45e9fdc060a9c32a5bddf4e048201e995166872f965739aeefd0d34ce119aab75f8a180ba40c7082968943e1255f818d089197e
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-merchantapi_products_v1beta
|
|
2
2
|
|
|
3
|
+
### v0.22.0 (2025-11-16)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20251109
|
|
6
|
+
|
|
7
|
+
### v0.21.0 (2025-10-12)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20251007
|
|
10
|
+
|
|
3
11
|
### v0.20.0 (2025-08-17)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20250811
|
|
@@ -1812,6 +1812,23 @@ module Google
|
|
|
1812
1812
|
# @return [String]
|
|
1813
1813
|
attr_accessor :country
|
|
1814
1814
|
|
|
1815
|
+
# The handling cutoff time until which an order has to be placed to be processed
|
|
1816
|
+
# in the same day. This is a string in format of HHMM (e.g. `1530`) for 3:30 PM.
|
|
1817
|
+
# If not configured, the cutoff time will be defaulted to 8AM PST and `
|
|
1818
|
+
# handling_cutoff_timezone` will be ignored.
|
|
1819
|
+
# Corresponds to the JSON property `handlingCutoffTime`
|
|
1820
|
+
# @return [String]
|
|
1821
|
+
attr_accessor :handling_cutoff_time
|
|
1822
|
+
|
|
1823
|
+
# [Timezone identifier](https://developers.google.com/adwords/api/docs/appendix/
|
|
1824
|
+
# codes-formats#timezone-ids) For example `Europe/Zurich`. This field only
|
|
1825
|
+
# applies if `handling_cutoff_time` is set. If `handling_cutoff_time` is set but
|
|
1826
|
+
# this field is not set, the shipping destination timezone will be used. If both
|
|
1827
|
+
# fields are not set, the handling cutoff time will default to 8AM PST.
|
|
1828
|
+
# Corresponds to the JSON property `handlingCutoffTimezone`
|
|
1829
|
+
# @return [String]
|
|
1830
|
+
attr_accessor :handling_cutoff_timezone
|
|
1831
|
+
|
|
1815
1832
|
# The location where the shipping is applicable, represented by a location group
|
|
1816
1833
|
# name.
|
|
1817
1834
|
# Corresponds to the JSON property `locationGroupName`
|
|
@@ -1890,6 +1907,8 @@ module Google
|
|
|
1890
1907
|
# Update properties of this object
|
|
1891
1908
|
def update!(**args)
|
|
1892
1909
|
@country = args[:country] if args.key?(:country)
|
|
1910
|
+
@handling_cutoff_time = args[:handling_cutoff_time] if args.key?(:handling_cutoff_time)
|
|
1911
|
+
@handling_cutoff_timezone = args[:handling_cutoff_timezone] if args.key?(:handling_cutoff_timezone)
|
|
1893
1912
|
@location_group_name = args[:location_group_name] if args.key?(:location_group_name)
|
|
1894
1913
|
@location_id = args[:location_id] if args.key?(:location_id)
|
|
1895
1914
|
@max_handling_time = args[:max_handling_time] if args.key?(:max_handling_time)
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module MerchantapiProductsV1beta
|
|
18
18
|
# Version of the google-apis-merchantapi_products_v1beta gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.22.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20251109"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -630,6 +630,8 @@ module Google
|
|
|
630
630
|
# @private
|
|
631
631
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
632
632
|
property :country, as: 'country'
|
|
633
|
+
property :handling_cutoff_time, as: 'handlingCutoffTime'
|
|
634
|
+
property :handling_cutoff_timezone, as: 'handlingCutoffTimezone'
|
|
633
635
|
property :location_group_name, as: 'locationGroupName'
|
|
634
636
|
property :location_id, :numeric_string => true, as: 'locationId'
|
|
635
637
|
property :max_handling_time, :numeric_string => true, as: 'maxHandlingTime'
|
|
@@ -63,6 +63,16 @@ module Google
|
|
|
63
63
|
# Required. The primary or supplemental data source from which the product input
|
|
64
64
|
# should be deleted. Format: `accounts/`account`/dataSources/`datasource``. For
|
|
65
65
|
# example, `accounts/123456/dataSources/104628`.
|
|
66
|
+
# @param [Boolean] product_id_base64_url_encoded
|
|
67
|
+
# Optional. If true, the ``productInput`` in the `name` field of the request
|
|
68
|
+
# will be interpreted as unpadded base64url-encoded and decoded during request
|
|
69
|
+
# processing to match the decoded value. Default value is `false`. Use this if
|
|
70
|
+
# your ``productInput`` contains special characters, such as forward slash `/`
|
|
71
|
+
# or other characters that are unpadded base64url-encoded (as per RFC 7515:
|
|
72
|
+
# https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future
|
|
73
|
+
# versions of the API will only accept unpadded base64url-encoded product ids,
|
|
74
|
+
# so we strongly recommend proactively setting this to `true` and encoding the
|
|
75
|
+
# product ids.
|
|
66
76
|
# @param [String] fields
|
|
67
77
|
# Selector specifying which fields to include in a partial response.
|
|
68
78
|
# @param [String] quota_user
|
|
@@ -80,12 +90,13 @@ module Google
|
|
|
80
90
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
81
91
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
82
92
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
83
|
-
def delete_account_product_input(name, data_source: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
93
|
+
def delete_account_product_input(name, data_source: nil, product_id_base64_url_encoded: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
84
94
|
command = make_simple_command(:delete, 'products/v1beta/{+name}', options)
|
|
85
95
|
command.response_representation = Google::Apis::MerchantapiProductsV1beta::Empty::Representation
|
|
86
96
|
command.response_class = Google::Apis::MerchantapiProductsV1beta::Empty
|
|
87
97
|
command.params['name'] = name unless name.nil?
|
|
88
98
|
command.query['dataSource'] = data_source unless data_source.nil?
|
|
99
|
+
command.query['productIdBase64UrlEncoded'] = product_id_base64_url_encoded unless product_id_base64_url_encoded.nil?
|
|
89
100
|
command.query['fields'] = fields unless fields.nil?
|
|
90
101
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
91
102
|
execute_or_queue_command(command, &block)
|
|
@@ -159,6 +170,16 @@ module Google
|
|
|
159
170
|
# name identifies the product input to be updated. Only API data sources are
|
|
160
171
|
# supported. Format: `accounts/`account`/dataSources/`datasource``. For example,
|
|
161
172
|
# `accounts/123456/dataSources/104628`.
|
|
173
|
+
# @param [Boolean] product_id_base64_url_encoded
|
|
174
|
+
# Optional. If true, the ``productInput`` in the `name` field of the request
|
|
175
|
+
# will be interpreted as unpadded base64url-encoded and decoded during request
|
|
176
|
+
# processing to match the decoded value. Default value is `false`. Use this if
|
|
177
|
+
# your ``productInput`` contains special characters, such as forward slash `/`
|
|
178
|
+
# or other characters that are unpadded base64url-encoded (as per RFC 7515:
|
|
179
|
+
# https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future
|
|
180
|
+
# versions of the API will only accept unpadded base64url-encoded product ids,
|
|
181
|
+
# so we strongly recommend proactively setting this to `true` and encoding the
|
|
182
|
+
# product ids.
|
|
162
183
|
# @param [String] update_mask
|
|
163
184
|
# Optional. The list of product attributes to be updated. If the update mask is
|
|
164
185
|
# omitted, then it is treated as implied field mask equivalent to all fields
|
|
@@ -185,7 +206,7 @@ module Google
|
|
|
185
206
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
186
207
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
187
208
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
188
|
-
def patch_account_product_input(name, product_input_object = nil, data_source: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
209
|
+
def patch_account_product_input(name, product_input_object = nil, data_source: nil, product_id_base64_url_encoded: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
189
210
|
command = make_simple_command(:patch, 'products/v1beta/{+name}', options)
|
|
190
211
|
command.request_representation = Google::Apis::MerchantapiProductsV1beta::ProductInput::Representation
|
|
191
212
|
command.request_object = product_input_object
|
|
@@ -193,6 +214,7 @@ module Google
|
|
|
193
214
|
command.response_class = Google::Apis::MerchantapiProductsV1beta::ProductInput
|
|
194
215
|
command.params['name'] = name unless name.nil?
|
|
195
216
|
command.query['dataSource'] = data_source unless data_source.nil?
|
|
217
|
+
command.query['productIdBase64UrlEncoded'] = product_id_base64_url_encoded unless product_id_base64_url_encoded.nil?
|
|
196
218
|
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
197
219
|
command.query['fields'] = fields unless fields.nil?
|
|
198
220
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
@@ -210,6 +232,16 @@ module Google
|
|
|
210
232
|
# products/local~en~US~sku123`. Note: For calls to the v1beta version, the `
|
|
211
233
|
# product` section consists of: `channel~content_language~feed_label~offer_id`,
|
|
212
234
|
# for example: `accounts/123/products/online~en~US~sku123`.
|
|
235
|
+
# @param [Boolean] product_id_base64_url_encoded
|
|
236
|
+
# Optional. If true, the ``product`` in the `name` field of the request will be
|
|
237
|
+
# interpreted as unpadded base64url-encoded and decoded during request
|
|
238
|
+
# processing to match the decoded value. Default value is `false`. Use this if
|
|
239
|
+
# your ``product`` contains special characters, such as forward slash `/` or
|
|
240
|
+
# other characters that are unpadded base64url-encoded (as per RFC 7515: https://
|
|
241
|
+
# datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of
|
|
242
|
+
# the API will only accept unpadded base64url-encoded product ids, so we
|
|
243
|
+
# strongly recommend proactively setting this to `true` and encoding the product
|
|
244
|
+
# ids.
|
|
213
245
|
# @param [String] fields
|
|
214
246
|
# Selector specifying which fields to include in a partial response.
|
|
215
247
|
# @param [String] quota_user
|
|
@@ -227,11 +259,12 @@ module Google
|
|
|
227
259
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
228
260
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
229
261
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
230
|
-
def get_account_product(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
262
|
+
def get_account_product(name, product_id_base64_url_encoded: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
231
263
|
command = make_simple_command(:get, 'products/v1beta/{+name}', options)
|
|
232
264
|
command.response_representation = Google::Apis::MerchantapiProductsV1beta::Product::Representation
|
|
233
265
|
command.response_class = Google::Apis::MerchantapiProductsV1beta::Product
|
|
234
266
|
command.params['name'] = name unless name.nil?
|
|
267
|
+
command.query['productIdBase64UrlEncoded'] = product_id_base64_url_encoded unless product_id_base64_url_encoded.nil?
|
|
235
268
|
command.query['fields'] = fields unless fields.nil?
|
|
236
269
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
237
270
|
execute_or_queue_command(command, &block)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-merchantapi_products_v1beta
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.22.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-merchantapi_products_v1beta/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-merchantapi_products_v1beta/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-merchantapi_products_v1beta/v0.22.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-merchantapi_products_v1beta
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|