google-shopping-merchant-accounts-v1beta 0.6.0 → 0.7.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/lib/google/shopping/merchant/accounts/v1beta/automatic_improvements_service/client.rb +570 -0
- data/lib/google/shopping/merchant/accounts/v1beta/automatic_improvements_service/credentials.rb +49 -0
- data/lib/google/shopping/merchant/accounts/v1beta/automatic_improvements_service/paths.rb +49 -0
- data/lib/google/shopping/merchant/accounts/v1beta/automatic_improvements_service/rest/client.rb +530 -0
- data/lib/google/shopping/merchant/accounts/v1beta/automatic_improvements_service/rest/service_stub.rb +206 -0
- data/lib/google/shopping/merchant/accounts/v1beta/automatic_improvements_service/rest.rb +56 -0
- data/lib/google/shopping/merchant/accounts/v1beta/automatic_improvements_service.rb +59 -0
- data/lib/google/shopping/merchant/accounts/v1beta/automaticimprovements_pb.rb +58 -0
- data/lib/google/shopping/merchant/accounts/v1beta/automaticimprovements_services_pb.rb +51 -0
- data/lib/google/shopping/merchant/accounts/v1beta/rest.rb +1 -0
- data/lib/google/shopping/merchant/accounts/v1beta/version.rb +1 -1
- data/lib/google/shopping/merchant/accounts/v1beta.rb +1 -0
- data/proto_docs/google/shopping/merchant/accounts/v1beta/automaticimprovements.rb +235 -0
- metadata +12 -2
@@ -0,0 +1,235 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2025 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Shopping
|
22
|
+
module Merchant
|
23
|
+
module Accounts
|
24
|
+
module V1beta
|
25
|
+
# Collection of information related to the [automatic
|
26
|
+
# improvements](https://developers.google.com/shopping-content/guides/automatic-improvements)
|
27
|
+
# of an account.
|
28
|
+
# @!attribute [rw] name
|
29
|
+
# @return [::String]
|
30
|
+
# Identifier. The resource name of the automatic improvements.
|
31
|
+
# Format: `accounts/{account}/automaticImprovements`.
|
32
|
+
# @!attribute [rw] item_updates
|
33
|
+
# @return [::Google::Shopping::Merchant::Accounts::V1beta::AutomaticItemUpdates]
|
34
|
+
# Turning on [item
|
35
|
+
# updates](https://support.google.com/merchants/answer/3246284) allows
|
36
|
+
# Google to automatically update items for you. When item updates are on,
|
37
|
+
# Google uses the structured data markup on the website and advanced data
|
38
|
+
# extractors to update the price and availability of the items. When the item
|
39
|
+
# updates are off, items with mismatched data aren't shown.
|
40
|
+
# This field is only updated (cleared) if provided in the update mask.
|
41
|
+
# @!attribute [rw] image_improvements
|
42
|
+
# @return [::Google::Shopping::Merchant::Accounts::V1beta::AutomaticImageImprovements]
|
43
|
+
# This improvement will attempt to automatically correct submitted images if
|
44
|
+
# they don't meet the [image
|
45
|
+
# requirements](https://support.google.com/merchants/answer/6324350), for
|
46
|
+
# example, removing overlays. If successful, the image will be replaced and
|
47
|
+
# approved. This improvement is only applied to images of disapproved offers.
|
48
|
+
# For more information see: [Automatic image
|
49
|
+
# improvements](https://support.google.com/merchants/answer/9242973)
|
50
|
+
# This field is only updated (cleared) if provided in the update mask.
|
51
|
+
# @!attribute [rw] shipping_improvements
|
52
|
+
# @return [::Google::Shopping::Merchant::Accounts::V1beta::AutomaticShippingImprovements]
|
53
|
+
# Not available for MCAs
|
54
|
+
# [accounts](https://support.google.com/merchants/answer/188487). By turning
|
55
|
+
# on [automatic shipping
|
56
|
+
# improvements](https://support.google.com/merchants/answer/10027038),
|
57
|
+
# you are allowing Google to improve the accuracy of your delivery times
|
58
|
+
# shown to shoppers using Google. More accurate delivery times, especially
|
59
|
+
# when faster, typically lead to better conversion rates. Google will improve
|
60
|
+
# your estimated delivery times based on various factors:
|
61
|
+
# * Delivery address of an order
|
62
|
+
# * Current handling time and shipping time settings
|
63
|
+
# * Estimated weekdays or business days
|
64
|
+
# * Parcel tracking data
|
65
|
+
# This field is only updated (cleared) if provided in the update mask.
|
66
|
+
class AutomaticImprovements
|
67
|
+
include ::Google::Protobuf::MessageExts
|
68
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
69
|
+
end
|
70
|
+
|
71
|
+
# Turning on [item
|
72
|
+
# updates](https://support.google.com/merchants/answer/3246284) allows
|
73
|
+
# Google to automatically update items for you. When item updates are on,
|
74
|
+
# Google uses the structured data markup on the website and advanced data
|
75
|
+
# extractors to update the price and availability of the items. When the item
|
76
|
+
# updates are off, items with mismatched data aren't shown.
|
77
|
+
# @!attribute [rw] account_item_updates_settings
|
78
|
+
# @return [::Google::Shopping::Merchant::Accounts::V1beta::AutomaticItemUpdates::ItemUpdatesAccountLevelSettings]
|
79
|
+
# Optional. Determines which attributes of the items should be automatically
|
80
|
+
# updated. If this field is not present and provided in the update mask, then
|
81
|
+
# the settings will be deleted. If there are no settings for subaccount, they
|
82
|
+
# are inherited from aggregator.
|
83
|
+
# @!attribute [r] effective_allow_price_updates
|
84
|
+
# @return [::Boolean]
|
85
|
+
# Output only. The effective value of allow_price_updates.
|
86
|
+
# If account_item_updates_settings is present, then this value is the same.
|
87
|
+
# Otherwise, it represents the inherited value of the parent account.
|
88
|
+
# The default value is true if no settings are present.
|
89
|
+
# Read-only.
|
90
|
+
# @!attribute [r] effective_allow_availability_updates
|
91
|
+
# @return [::Boolean]
|
92
|
+
# Output only. The effective value of allow_availability_updates.
|
93
|
+
# If account_item_updates_settings is present, then this value is the same.
|
94
|
+
# Otherwise, it represents the inherited value of the parent account.
|
95
|
+
# The default value is true if no settings are present.
|
96
|
+
# Read-only.
|
97
|
+
# @!attribute [r] effective_allow_strict_availability_updates
|
98
|
+
# @return [::Boolean]
|
99
|
+
# Output only. The effective value of
|
100
|
+
# allow_strict_availability_updates.
|
101
|
+
# If account_item_updates_settings is present, then this value is the same.
|
102
|
+
# Otherwise, it represents the inherited value of the parent account.
|
103
|
+
# The default value is true if no settings are present.
|
104
|
+
# Read-only.
|
105
|
+
# @!attribute [r] effective_allow_condition_updates
|
106
|
+
# @return [::Boolean]
|
107
|
+
# Output only. The effective value of allow_condition_updates.
|
108
|
+
# If account_item_updates_settings is present, then this value is the same.
|
109
|
+
# Otherwise, it represents the inherited value of the parent account.
|
110
|
+
# The default value is true if no settings are present.
|
111
|
+
# Read-only.
|
112
|
+
class AutomaticItemUpdates
|
113
|
+
include ::Google::Protobuf::MessageExts
|
114
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
115
|
+
|
116
|
+
# Settings for the Automatic Item Updates.
|
117
|
+
# @!attribute [rw] allow_price_updates
|
118
|
+
# @return [::Boolean]
|
119
|
+
# If price updates are enabled, Google always updates the active price with
|
120
|
+
# the crawled information.
|
121
|
+
# @!attribute [rw] allow_availability_updates
|
122
|
+
# @return [::Boolean]
|
123
|
+
# If availability updates are enabled, any previous availability values
|
124
|
+
# get overwritten if Google finds an out-of-stock annotation on the offer's
|
125
|
+
# page.
|
126
|
+
# If additionally `allow_strict_availability_updates` field is set to
|
127
|
+
# true, values get overwritten if Google finds an in-stock annotation on
|
128
|
+
# the offer’s page.
|
129
|
+
# @!attribute [rw] allow_strict_availability_updates
|
130
|
+
# @return [::Boolean]
|
131
|
+
# If `allow_availability_updates` is enabled, items are automatically
|
132
|
+
# updated in all your Shopping target countries. By default, availability
|
133
|
+
# updates will only be applied to items that are 'out of stock' on your
|
134
|
+
# website but 'in stock' on Shopping. Set this to true to also update items
|
135
|
+
# that are 'in stock' on your website, but 'out of stock' on Google
|
136
|
+
# Shopping. In order for this field to have an effect, you must also set
|
137
|
+
# `allow_availability_updates`.
|
138
|
+
# @!attribute [rw] allow_condition_updates
|
139
|
+
# @return [::Boolean]
|
140
|
+
# If condition updates are enabled, Google always updates item condition
|
141
|
+
# with the condition detected from the details of your product.
|
142
|
+
class ItemUpdatesAccountLevelSettings
|
143
|
+
include ::Google::Protobuf::MessageExts
|
144
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
145
|
+
end
|
146
|
+
end
|
147
|
+
|
148
|
+
# This improvement will attempt to automatically correct submitted images if
|
149
|
+
# they don't meet the [image
|
150
|
+
# requirements](https://support.google.com/merchants/answer/6324350), for
|
151
|
+
# example, removing overlays. If successful, the image will be replaced and
|
152
|
+
# approved. This improvement is only applied to images of disapproved offers.
|
153
|
+
# For more information see: [Automatic image
|
154
|
+
# improvements](https://support.google.com/merchants/answer/9242973)
|
155
|
+
# @!attribute [rw] account_image_improvements_settings
|
156
|
+
# @return [::Google::Shopping::Merchant::Accounts::V1beta::AutomaticImageImprovements::ImageImprovementsAccountLevelSettings]
|
157
|
+
# Optional. Determines how the images should be automatically updated.
|
158
|
+
# If this field is not present and provided in the update mask, then the
|
159
|
+
# settings will be deleted. If there are no settings for subaccount, they are
|
160
|
+
# inherited from aggregator.
|
161
|
+
# @!attribute [r] effective_allow_automatic_image_improvements
|
162
|
+
# @return [::Boolean]
|
163
|
+
# Output only. The effective value of allow_automatic_image_improvements.
|
164
|
+
# If account_image_improvements_settings is present, then this value is the
|
165
|
+
# same. Otherwise, it represents the inherited value of the parent account.
|
166
|
+
# Read-only.
|
167
|
+
class AutomaticImageImprovements
|
168
|
+
include ::Google::Protobuf::MessageExts
|
169
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
170
|
+
|
171
|
+
# Settings for the Automatic Image Improvements.
|
172
|
+
# @!attribute [rw] allow_automatic_image_improvements
|
173
|
+
# @return [::Boolean]
|
174
|
+
# Enables automatic image improvements.
|
175
|
+
class ImageImprovementsAccountLevelSettings
|
176
|
+
include ::Google::Protobuf::MessageExts
|
177
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
178
|
+
end
|
179
|
+
end
|
180
|
+
|
181
|
+
# Not available for MCAs
|
182
|
+
# [accounts](https://support.google.com/merchants/answer/188487). By turning on
|
183
|
+
# [automatic shipping
|
184
|
+
# improvements](https://support.google.com/merchants/answer/10027038),
|
185
|
+
# you are allowing Google to improve the accuracy of your delivery times shown
|
186
|
+
# to shoppers using Google. More accurate delivery times, especially when
|
187
|
+
# faster, typically lead to better conversion rates. Google will improve your
|
188
|
+
# estimated delivery times based on various factors:
|
189
|
+
# * Delivery address of an order
|
190
|
+
# * Current handling time and shipping time settings
|
191
|
+
# * Estimated weekdays or business days
|
192
|
+
# * Parcel tracking data
|
193
|
+
# @!attribute [rw] allow_shipping_improvements
|
194
|
+
# @return [::Boolean]
|
195
|
+
# Enables automatic shipping improvements.
|
196
|
+
class AutomaticShippingImprovements
|
197
|
+
include ::Google::Protobuf::MessageExts
|
198
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
199
|
+
end
|
200
|
+
|
201
|
+
# Request message for the `GetAutomaticImprovements` method.
|
202
|
+
# @!attribute [rw] name
|
203
|
+
# @return [::String]
|
204
|
+
# Required. The resource name of the automatic improvements.
|
205
|
+
# Format: `accounts/{account}/automaticImprovements`
|
206
|
+
class GetAutomaticImprovementsRequest
|
207
|
+
include ::Google::Protobuf::MessageExts
|
208
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
209
|
+
end
|
210
|
+
|
211
|
+
# Request message for the `UpdateAutomaticImprovements` method.
|
212
|
+
# @!attribute [rw] automatic_improvements
|
213
|
+
# @return [::Google::Shopping::Merchant::Accounts::V1beta::AutomaticImprovements]
|
214
|
+
# Required. The new version of the automatic imrovements.
|
215
|
+
# @!attribute [rw] update_mask
|
216
|
+
# @return [::Google::Protobuf::FieldMask]
|
217
|
+
# Required. List of fields being updated.
|
218
|
+
# The following fields are supported (in both `snake_case` and
|
219
|
+
# `lowerCamelCase`):
|
220
|
+
#
|
221
|
+
# - `item_updates`
|
222
|
+
# - `item_updates.account_level_settings`
|
223
|
+
# - `image_improvements`
|
224
|
+
# - `image_improvements.account_level_settings`
|
225
|
+
# - `shipping_improvements`
|
226
|
+
# - `shipping_improvements.allow_shipping_improvements`
|
227
|
+
class UpdateAutomaticImprovementsRequest
|
228
|
+
include ::Google::Protobuf::MessageExts
|
229
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
230
|
+
end
|
231
|
+
end
|
232
|
+
end
|
233
|
+
end
|
234
|
+
end
|
235
|
+
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-shopping-merchant-accounts-v1beta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-03-
|
10
|
+
date: 2025-03-18 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: gapic-common
|
@@ -128,6 +128,15 @@ files:
|
|
128
128
|
- lib/google/shopping/merchant/accounts/v1beta/autofeed_settings_service/rest/service_stub.rb
|
129
129
|
- lib/google/shopping/merchant/accounts/v1beta/autofeedsettings_pb.rb
|
130
130
|
- lib/google/shopping/merchant/accounts/v1beta/autofeedsettings_services_pb.rb
|
131
|
+
- lib/google/shopping/merchant/accounts/v1beta/automatic_improvements_service.rb
|
132
|
+
- lib/google/shopping/merchant/accounts/v1beta/automatic_improvements_service/client.rb
|
133
|
+
- lib/google/shopping/merchant/accounts/v1beta/automatic_improvements_service/credentials.rb
|
134
|
+
- lib/google/shopping/merchant/accounts/v1beta/automatic_improvements_service/paths.rb
|
135
|
+
- lib/google/shopping/merchant/accounts/v1beta/automatic_improvements_service/rest.rb
|
136
|
+
- lib/google/shopping/merchant/accounts/v1beta/automatic_improvements_service/rest/client.rb
|
137
|
+
- lib/google/shopping/merchant/accounts/v1beta/automatic_improvements_service/rest/service_stub.rb
|
138
|
+
- lib/google/shopping/merchant/accounts/v1beta/automaticimprovements_pb.rb
|
139
|
+
- lib/google/shopping/merchant/accounts/v1beta/automaticimprovements_services_pb.rb
|
131
140
|
- lib/google/shopping/merchant/accounts/v1beta/business_identity_service.rb
|
132
141
|
- lib/google/shopping/merchant/accounts/v1beta/business_identity_service/client.rb
|
133
142
|
- lib/google/shopping/merchant/accounts/v1beta/business_identity_service/credentials.rb
|
@@ -249,6 +258,7 @@ files:
|
|
249
258
|
- proto_docs/google/shopping/merchant/accounts/v1beta/accounts.rb
|
250
259
|
- proto_docs/google/shopping/merchant/accounts/v1beta/accountservices.rb
|
251
260
|
- proto_docs/google/shopping/merchant/accounts/v1beta/autofeedsettings.rb
|
261
|
+
- proto_docs/google/shopping/merchant/accounts/v1beta/automaticimprovements.rb
|
252
262
|
- proto_docs/google/shopping/merchant/accounts/v1beta/businessidentity.rb
|
253
263
|
- proto_docs/google/shopping/merchant/accounts/v1beta/businessinfo.rb
|
254
264
|
- proto_docs/google/shopping/merchant/accounts/v1beta/customerservice.rb
|