Skip to content

Commit 892d74b

Browse files
feat: Add AutomaticImprovements service (googleapis#29347)
1 parent 58bb9a8 commit 892d74b

20 files changed

Lines changed: 2539 additions & 0 deletions

File tree

google-shopping-merchant-accounts-v1beta/.owlbot-manifest.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,15 @@
5353
"lib/google/shopping/merchant/accounts/v1beta/autofeed_settings_service/rest/service_stub.rb",
5454
"lib/google/shopping/merchant/accounts/v1beta/autofeedsettings_pb.rb",
5555
"lib/google/shopping/merchant/accounts/v1beta/autofeedsettings_services_pb.rb",
56+
"lib/google/shopping/merchant/accounts/v1beta/automatic_improvements_service.rb",
57+
"lib/google/shopping/merchant/accounts/v1beta/automatic_improvements_service/client.rb",
58+
"lib/google/shopping/merchant/accounts/v1beta/automatic_improvements_service/credentials.rb",
59+
"lib/google/shopping/merchant/accounts/v1beta/automatic_improvements_service/paths.rb",
60+
"lib/google/shopping/merchant/accounts/v1beta/automatic_improvements_service/rest.rb",
61+
"lib/google/shopping/merchant/accounts/v1beta/automatic_improvements_service/rest/client.rb",
62+
"lib/google/shopping/merchant/accounts/v1beta/automatic_improvements_service/rest/service_stub.rb",
63+
"lib/google/shopping/merchant/accounts/v1beta/automaticimprovements_pb.rb",
64+
"lib/google/shopping/merchant/accounts/v1beta/automaticimprovements_services_pb.rb",
5665
"lib/google/shopping/merchant/accounts/v1beta/business_identity_service.rb",
5766
"lib/google/shopping/merchant/accounts/v1beta/business_identity_service/client.rb",
5867
"lib/google/shopping/merchant/accounts/v1beta/business_identity_service/credentials.rb",
@@ -174,6 +183,7 @@
174183
"proto_docs/google/shopping/merchant/accounts/v1beta/accounts.rb",
175184
"proto_docs/google/shopping/merchant/accounts/v1beta/accountservices.rb",
176185
"proto_docs/google/shopping/merchant/accounts/v1beta/autofeedsettings.rb",
186+
"proto_docs/google/shopping/merchant/accounts/v1beta/automaticimprovements.rb",
177187
"proto_docs/google/shopping/merchant/accounts/v1beta/businessidentity.rb",
178188
"proto_docs/google/shopping/merchant/accounts/v1beta/businessinfo.rb",
179189
"proto_docs/google/shopping/merchant/accounts/v1beta/customerservice.rb",
@@ -208,6 +218,8 @@
208218
"snippets/accounts_service/update_account.rb",
209219
"snippets/autofeed_settings_service/get_autofeed_settings.rb",
210220
"snippets/autofeed_settings_service/update_autofeed_settings.rb",
221+
"snippets/automatic_improvements_service/get_automatic_improvements.rb",
222+
"snippets/automatic_improvements_service/update_automatic_improvements.rb",
211223
"snippets/business_identity_service/get_business_identity.rb",
212224
"snippets/business_identity_service/update_business_identity.rb",
213225
"snippets/business_info_service/get_business_info.rb",
@@ -254,6 +266,9 @@
254266
"test/google/shopping/merchant/accounts/v1beta/autofeed_settings_service_paths_test.rb",
255267
"test/google/shopping/merchant/accounts/v1beta/autofeed_settings_service_rest_test.rb",
256268
"test/google/shopping/merchant/accounts/v1beta/autofeed_settings_service_test.rb",
269+
"test/google/shopping/merchant/accounts/v1beta/automatic_improvements_service_paths_test.rb",
270+
"test/google/shopping/merchant/accounts/v1beta/automatic_improvements_service_rest_test.rb",
271+
"test/google/shopping/merchant/accounts/v1beta/automatic_improvements_service_test.rb",
257272
"test/google/shopping/merchant/accounts/v1beta/business_identity_service_paths_test.rb",
258273
"test/google/shopping/merchant/accounts/v1beta/business_identity_service_rest_test.rb",
259274
"test/google/shopping/merchant/accounts/v1beta/business_identity_service_test.rb",

google-shopping-merchant-accounts-v1beta/gapic_metadata.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,25 @@
135135
}
136136
}
137137
},
138+
"AutomaticImprovementsService": {
139+
"clients": {
140+
"grpc": {
141+
"libraryClient": "::Google::Shopping::Merchant::Accounts::V1beta::AutomaticImprovementsService::Client",
142+
"rpcs": {
143+
"GetAutomaticImprovements": {
144+
"methods": [
145+
"get_automatic_improvements"
146+
]
147+
},
148+
"UpdateAutomaticImprovements": {
149+
"methods": [
150+
"update_automatic_improvements"
151+
]
152+
}
153+
}
154+
}
155+
}
156+
},
138157
"BusinessIdentityService": {
139158
"clients": {
140159
"grpc": {

google-shopping-merchant-accounts-v1beta/lib/google/shopping/merchant/accounts/v1beta.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
require "google/shopping/merchant/accounts/v1beta/user_service"
2222
require "google/shopping/merchant/accounts/v1beta/accounts_service"
2323
require "google/shopping/merchant/accounts/v1beta/autofeed_settings_service"
24+
require "google/shopping/merchant/accounts/v1beta/automatic_improvements_service"
2425
require "google/shopping/merchant/accounts/v1beta/business_identity_service"
2526
require "google/shopping/merchant/accounts/v1beta/business_info_service"
2627
require "google/shopping/merchant/accounts/v1beta/email_preferences_service"
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
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+
require "gapic/common"
20+
require "gapic/config"
21+
require "gapic/config/method"
22+
23+
require "google/shopping/merchant/accounts/v1beta/version"
24+
25+
require "google/shopping/merchant/accounts/v1beta/automatic_improvements_service/credentials"
26+
require "google/shopping/merchant/accounts/v1beta/automatic_improvements_service/paths"
27+
require "google/shopping/merchant/accounts/v1beta/automatic_improvements_service/client"
28+
require "google/shopping/merchant/accounts/v1beta/automatic_improvements_service/rest"
29+
30+
module Google
31+
module Shopping
32+
module Merchant
33+
module Accounts
34+
module V1beta
35+
##
36+
# Service to manage the automatic improvements of an account. The automatic
37+
# improvements of the account can be used to automatically update products,
38+
# improve images and shipping.
39+
#
40+
# @example Load this service and instantiate a gRPC client
41+
#
42+
# require "google/shopping/merchant/accounts/v1beta/automatic_improvements_service"
43+
# client = ::Google::Shopping::Merchant::Accounts::V1beta::AutomaticImprovementsService::Client.new
44+
#
45+
# @example Load this service and instantiate a REST client
46+
#
47+
# require "google/shopping/merchant/accounts/v1beta/automatic_improvements_service/rest"
48+
# client = ::Google::Shopping::Merchant::Accounts::V1beta::AutomaticImprovementsService::Rest::Client.new
49+
#
50+
module AutomaticImprovementsService
51+
end
52+
end
53+
end
54+
end
55+
end
56+
end
57+
58+
helper_path = ::File.join __dir__, "automatic_improvements_service", "helpers.rb"
59+
require "google/shopping/merchant/accounts/v1beta/automatic_improvements_service/helpers" if ::File.file? helper_path

0 commit comments

Comments
 (0)