google-apis-merchantapi_lfp_v1beta 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,178 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module MerchantapiLfpV1beta
24
+
25
+ class Empty
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class LfpInventory
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class LfpSale
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class LfpStore
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class ListLfpStoresResponse
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class Price
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class ProductChange
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class ProductStatusChangeMessage
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class Empty
74
+ # @private
75
+ class Representation < Google::Apis::Core::JsonRepresentation
76
+ end
77
+ end
78
+
79
+ class LfpInventory
80
+ # @private
81
+ class Representation < Google::Apis::Core::JsonRepresentation
82
+ property :availability, as: 'availability'
83
+ property :collection_time, as: 'collectionTime'
84
+ property :content_language, as: 'contentLanguage'
85
+ property :feed_label, as: 'feedLabel'
86
+ property :gtin, as: 'gtin'
87
+ property :name, as: 'name'
88
+ property :offer_id, as: 'offerId'
89
+ property :pickup_method, as: 'pickupMethod'
90
+ property :pickup_sla, as: 'pickupSla'
91
+ property :price, as: 'price', class: Google::Apis::MerchantapiLfpV1beta::Price, decorator: Google::Apis::MerchantapiLfpV1beta::Price::Representation
92
+
93
+ property :quantity, :numeric_string => true, as: 'quantity'
94
+ property :region_code, as: 'regionCode'
95
+ property :store_code, as: 'storeCode'
96
+ property :target_account, :numeric_string => true, as: 'targetAccount'
97
+ end
98
+ end
99
+
100
+ class LfpSale
101
+ # @private
102
+ class Representation < Google::Apis::Core::JsonRepresentation
103
+ property :content_language, as: 'contentLanguage'
104
+ property :feed_label, as: 'feedLabel'
105
+ property :gtin, as: 'gtin'
106
+ property :name, as: 'name'
107
+ property :offer_id, as: 'offerId'
108
+ property :price, as: 'price', class: Google::Apis::MerchantapiLfpV1beta::Price, decorator: Google::Apis::MerchantapiLfpV1beta::Price::Representation
109
+
110
+ property :quantity, :numeric_string => true, as: 'quantity'
111
+ property :region_code, as: 'regionCode'
112
+ property :sale_time, as: 'saleTime'
113
+ property :store_code, as: 'storeCode'
114
+ property :target_account, :numeric_string => true, as: 'targetAccount'
115
+ property :uid, as: 'uid'
116
+ end
117
+ end
118
+
119
+ class LfpStore
120
+ # @private
121
+ class Representation < Google::Apis::Core::JsonRepresentation
122
+ collection :gcid_category, as: 'gcidCategory'
123
+ property :matching_state, as: 'matchingState'
124
+ property :matching_state_hint, as: 'matchingStateHint'
125
+ property :name, as: 'name'
126
+ property :phone_number, as: 'phoneNumber'
127
+ property :place_id, as: 'placeId'
128
+ property :store_address, as: 'storeAddress'
129
+ property :store_code, as: 'storeCode'
130
+ property :store_name, as: 'storeName'
131
+ property :target_account, :numeric_string => true, as: 'targetAccount'
132
+ property :website_uri, as: 'websiteUri'
133
+ end
134
+ end
135
+
136
+ class ListLfpStoresResponse
137
+ # @private
138
+ class Representation < Google::Apis::Core::JsonRepresentation
139
+ collection :lfp_stores, as: 'lfpStores', class: Google::Apis::MerchantapiLfpV1beta::LfpStore, decorator: Google::Apis::MerchantapiLfpV1beta::LfpStore::Representation
140
+
141
+ property :next_page_token, as: 'nextPageToken'
142
+ end
143
+ end
144
+
145
+ class Price
146
+ # @private
147
+ class Representation < Google::Apis::Core::JsonRepresentation
148
+ property :amount_micros, :numeric_string => true, as: 'amountMicros'
149
+ property :currency_code, as: 'currencyCode'
150
+ end
151
+ end
152
+
153
+ class ProductChange
154
+ # @private
155
+ class Representation < Google::Apis::Core::JsonRepresentation
156
+ property :new_value, as: 'newValue'
157
+ property :old_value, as: 'oldValue'
158
+ property :region_code, as: 'regionCode'
159
+ property :reporting_context, as: 'reportingContext'
160
+ end
161
+ end
162
+
163
+ class ProductStatusChangeMessage
164
+ # @private
165
+ class Representation < Google::Apis::Core::JsonRepresentation
166
+ property :account, as: 'account'
167
+ property :attribute, as: 'attribute'
168
+ collection :changes, as: 'changes', class: Google::Apis::MerchantapiLfpV1beta::ProductChange, decorator: Google::Apis::MerchantapiLfpV1beta::ProductChange::Representation
169
+
170
+ property :managing_account, as: 'managingAccount'
171
+ property :resource, as: 'resource'
172
+ property :resource_id, as: 'resourceId'
173
+ property :resource_type, as: 'resourceType'
174
+ end
175
+ end
176
+ end
177
+ end
178
+ end
@@ -0,0 +1,275 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'google/apis/core/base_service'
16
+ require 'google/apis/core/json_representation'
17
+ require 'google/apis/core/hashable'
18
+ require 'google/apis/errors'
19
+
20
+ module Google
21
+ module Apis
22
+ module MerchantapiLfpV1beta
23
+ # Merchant API
24
+ #
25
+ # Programmatically manage your Merchant Center Accounts.
26
+ #
27
+ # @example
28
+ # require 'google/apis/merchantapi_lfp_v1beta'
29
+ #
30
+ # Merchantapi = Google::Apis::MerchantapiLfpV1beta # Alias the module
31
+ # service = Merchantapi::MerchantService.new
32
+ #
33
+ # @see https://developers.devsite.corp.google.com/merchant/api
34
+ class MerchantService < Google::Apis::Core::BaseService
35
+ DEFAULT_ENDPOINT_TEMPLATE = "https://merchantapi.$UNIVERSE_DOMAIN$/"
36
+
37
+ # @return [String]
38
+ # API key. Your API key identifies your project and provides you with API access,
39
+ # quota, and reports. Required unless you provide an OAuth 2.0 token.
40
+ attr_accessor :key
41
+
42
+ # @return [String]
43
+ # Available to use for quota purposes for server-side applications. Can be any
44
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
45
+ attr_accessor :quota_user
46
+
47
+ def initialize
48
+ super(DEFAULT_ENDPOINT_TEMPLATE, '',
49
+ client_name: 'google-apis-merchantapi_lfp_v1beta',
50
+ client_version: Google::Apis::MerchantapiLfpV1beta::GEM_VERSION)
51
+ @batch_path = 'batch'
52
+ end
53
+
54
+ # Inserts a `LfpInventory` resource for the given target merchant account. If
55
+ # the resource already exists, it will be replaced. The inventory automatically
56
+ # expires after 30 days.
57
+ # @param [String] parent
58
+ # Required. The LFP provider account. Format: `accounts/`account``
59
+ # @param [Google::Apis::MerchantapiLfpV1beta::LfpInventory] lfp_inventory_object
60
+ # @param [String] fields
61
+ # Selector specifying which fields to include in a partial response.
62
+ # @param [String] quota_user
63
+ # Available to use for quota purposes for server-side applications. Can be any
64
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
65
+ # @param [Google::Apis::RequestOptions] options
66
+ # Request-specific options
67
+ #
68
+ # @yield [result, err] Result & error if block supplied
69
+ # @yieldparam result [Google::Apis::MerchantapiLfpV1beta::LfpInventory] parsed result object
70
+ # @yieldparam err [StandardError] error object if request failed
71
+ #
72
+ # @return [Google::Apis::MerchantapiLfpV1beta::LfpInventory]
73
+ #
74
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
75
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
76
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
77
+ def insert_account_lfp_inventory(parent, lfp_inventory_object = nil, fields: nil, quota_user: nil, options: nil, &block)
78
+ command = make_simple_command(:post, 'lfp/v1beta/{+parent}/lfpInventories:insert', options)
79
+ command.request_representation = Google::Apis::MerchantapiLfpV1beta::LfpInventory::Representation
80
+ command.request_object = lfp_inventory_object
81
+ command.response_representation = Google::Apis::MerchantapiLfpV1beta::LfpInventory::Representation
82
+ command.response_class = Google::Apis::MerchantapiLfpV1beta::LfpInventory
83
+ command.params['parent'] = parent unless parent.nil?
84
+ command.query['fields'] = fields unless fields.nil?
85
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
86
+ execute_or_queue_command(command, &block)
87
+ end
88
+
89
+ # Inserts a `LfpSale` for the given merchant.
90
+ # @param [String] parent
91
+ # Required. The LFP provider account. Format: `accounts/`lfp_partner``
92
+ # @param [Google::Apis::MerchantapiLfpV1beta::LfpSale] lfp_sale_object
93
+ # @param [String] fields
94
+ # Selector specifying which fields to include in a partial response.
95
+ # @param [String] quota_user
96
+ # Available to use for quota purposes for server-side applications. Can be any
97
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
98
+ # @param [Google::Apis::RequestOptions] options
99
+ # Request-specific options
100
+ #
101
+ # @yield [result, err] Result & error if block supplied
102
+ # @yieldparam result [Google::Apis::MerchantapiLfpV1beta::LfpSale] parsed result object
103
+ # @yieldparam err [StandardError] error object if request failed
104
+ #
105
+ # @return [Google::Apis::MerchantapiLfpV1beta::LfpSale]
106
+ #
107
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
108
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
109
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
110
+ def insert_account_lfp_sale(parent, lfp_sale_object = nil, fields: nil, quota_user: nil, options: nil, &block)
111
+ command = make_simple_command(:post, 'lfp/v1beta/{+parent}/lfpSales:insert', options)
112
+ command.request_representation = Google::Apis::MerchantapiLfpV1beta::LfpSale::Representation
113
+ command.request_object = lfp_sale_object
114
+ command.response_representation = Google::Apis::MerchantapiLfpV1beta::LfpSale::Representation
115
+ command.response_class = Google::Apis::MerchantapiLfpV1beta::LfpSale
116
+ command.params['parent'] = parent unless parent.nil?
117
+ command.query['fields'] = fields unless fields.nil?
118
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
119
+ execute_or_queue_command(command, &block)
120
+ end
121
+
122
+ # Deletes a store for a target merchant.
123
+ # @param [String] name
124
+ # Required. The name of the store to delete for the target merchant account.
125
+ # Format: `accounts/`account`/lfpStores/`target_merchant`~`store_code``
126
+ # @param [String] fields
127
+ # Selector specifying which fields to include in a partial response.
128
+ # @param [String] quota_user
129
+ # Available to use for quota purposes for server-side applications. Can be any
130
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
131
+ # @param [Google::Apis::RequestOptions] options
132
+ # Request-specific options
133
+ #
134
+ # @yield [result, err] Result & error if block supplied
135
+ # @yieldparam result [Google::Apis::MerchantapiLfpV1beta::Empty] parsed result object
136
+ # @yieldparam err [StandardError] error object if request failed
137
+ #
138
+ # @return [Google::Apis::MerchantapiLfpV1beta::Empty]
139
+ #
140
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
141
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
142
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
143
+ def delete_account_lfp_store(name, fields: nil, quota_user: nil, options: nil, &block)
144
+ command = make_simple_command(:delete, 'lfp/v1beta/{+name}', options)
145
+ command.response_representation = Google::Apis::MerchantapiLfpV1beta::Empty::Representation
146
+ command.response_class = Google::Apis::MerchantapiLfpV1beta::Empty
147
+ command.params['name'] = name unless name.nil?
148
+ command.query['fields'] = fields unless fields.nil?
149
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
150
+ execute_or_queue_command(command, &block)
151
+ end
152
+
153
+ # Retrieves information about a store.
154
+ # @param [String] name
155
+ # Required. The name of the store to retrieve. Format: `accounts/`account`/
156
+ # lfpStores/`target_merchant`~`store_code``
157
+ # @param [String] fields
158
+ # Selector specifying which fields to include in a partial response.
159
+ # @param [String] quota_user
160
+ # Available to use for quota purposes for server-side applications. Can be any
161
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
162
+ # @param [Google::Apis::RequestOptions] options
163
+ # Request-specific options
164
+ #
165
+ # @yield [result, err] Result & error if block supplied
166
+ # @yieldparam result [Google::Apis::MerchantapiLfpV1beta::LfpStore] parsed result object
167
+ # @yieldparam err [StandardError] error object if request failed
168
+ #
169
+ # @return [Google::Apis::MerchantapiLfpV1beta::LfpStore]
170
+ #
171
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
172
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
173
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
174
+ def get_account_lfp_store(name, fields: nil, quota_user: nil, options: nil, &block)
175
+ command = make_simple_command(:get, 'lfp/v1beta/{+name}', options)
176
+ command.response_representation = Google::Apis::MerchantapiLfpV1beta::LfpStore::Representation
177
+ command.response_class = Google::Apis::MerchantapiLfpV1beta::LfpStore
178
+ command.params['name'] = name unless name.nil?
179
+ command.query['fields'] = fields unless fields.nil?
180
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
181
+ execute_or_queue_command(command, &block)
182
+ end
183
+
184
+ # Inserts a store for the target merchant. If the store with the same store code
185
+ # already exists, it will be replaced.
186
+ # @param [String] parent
187
+ # Required. The LFP provider account Format: `accounts/`account``
188
+ # @param [Google::Apis::MerchantapiLfpV1beta::LfpStore] lfp_store_object
189
+ # @param [String] fields
190
+ # Selector specifying which fields to include in a partial response.
191
+ # @param [String] quota_user
192
+ # Available to use for quota purposes for server-side applications. Can be any
193
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
194
+ # @param [Google::Apis::RequestOptions] options
195
+ # Request-specific options
196
+ #
197
+ # @yield [result, err] Result & error if block supplied
198
+ # @yieldparam result [Google::Apis::MerchantapiLfpV1beta::LfpStore] parsed result object
199
+ # @yieldparam err [StandardError] error object if request failed
200
+ #
201
+ # @return [Google::Apis::MerchantapiLfpV1beta::LfpStore]
202
+ #
203
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
204
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
205
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
206
+ def insert_account_lfp_store(parent, lfp_store_object = nil, fields: nil, quota_user: nil, options: nil, &block)
207
+ command = make_simple_command(:post, 'lfp/v1beta/{+parent}/lfpStores:insert', options)
208
+ command.request_representation = Google::Apis::MerchantapiLfpV1beta::LfpStore::Representation
209
+ command.request_object = lfp_store_object
210
+ command.response_representation = Google::Apis::MerchantapiLfpV1beta::LfpStore::Representation
211
+ command.response_class = Google::Apis::MerchantapiLfpV1beta::LfpStore
212
+ command.params['parent'] = parent unless parent.nil?
213
+ command.query['fields'] = fields unless fields.nil?
214
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
215
+ execute_or_queue_command(command, &block)
216
+ end
217
+
218
+ # Lists the stores of the target merchant, specified by the filter in `
219
+ # ListLfpStoresRequest`.
220
+ # @param [String] parent
221
+ # Required. The LFP partner. Format: `accounts/`account``
222
+ # @param [Fixnum] page_size
223
+ # Optional. The maximum number of `LfpStore` resources for the given account to
224
+ # return. The service returns fewer than this value if the number of stores for
225
+ # the given account is less than the `pageSize`. The default value is 250. The
226
+ # maximum value is 1000; If a value higher than the maximum is specified, then
227
+ # the `pageSize` will default to the maximum.
228
+ # @param [String] page_token
229
+ # Optional. A page token, received from a previous `ListLfpStoresRequest` call.
230
+ # Provide the page token to retrieve the subsequent page. When paginating, all
231
+ # other parameters provided to `ListLfpStoresRequest` must match the call that
232
+ # provided the page token. The token returned as nextPageToken in the response
233
+ # to the previous request.
234
+ # @param [Fixnum] target_account
235
+ # Required. The Merchant Center id of the merchant to list stores for.
236
+ # @param [String] fields
237
+ # Selector specifying which fields to include in a partial response.
238
+ # @param [String] quota_user
239
+ # Available to use for quota purposes for server-side applications. Can be any
240
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
241
+ # @param [Google::Apis::RequestOptions] options
242
+ # Request-specific options
243
+ #
244
+ # @yield [result, err] Result & error if block supplied
245
+ # @yieldparam result [Google::Apis::MerchantapiLfpV1beta::ListLfpStoresResponse] parsed result object
246
+ # @yieldparam err [StandardError] error object if request failed
247
+ #
248
+ # @return [Google::Apis::MerchantapiLfpV1beta::ListLfpStoresResponse]
249
+ #
250
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
251
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
252
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
253
+ def list_account_lfp_stores(parent, page_size: nil, page_token: nil, target_account: nil, fields: nil, quota_user: nil, options: nil, &block)
254
+ command = make_simple_command(:get, 'lfp/v1beta/{+parent}/lfpStores', options)
255
+ command.response_representation = Google::Apis::MerchantapiLfpV1beta::ListLfpStoresResponse::Representation
256
+ command.response_class = Google::Apis::MerchantapiLfpV1beta::ListLfpStoresResponse
257
+ command.params['parent'] = parent unless parent.nil?
258
+ command.query['pageSize'] = page_size unless page_size.nil?
259
+ command.query['pageToken'] = page_token unless page_token.nil?
260
+ command.query['targetAccount'] = target_account unless target_account.nil?
261
+ command.query['fields'] = fields unless fields.nil?
262
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
263
+ execute_or_queue_command(command, &block)
264
+ end
265
+
266
+ protected
267
+
268
+ def apply_command_defaults(command)
269
+ command.query['key'] = key unless key.nil?
270
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
271
+ end
272
+ end
273
+ end
274
+ end
275
+ end
@@ -0,0 +1,36 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'google/apis/merchantapi_lfp_v1beta/service.rb'
16
+ require 'google/apis/merchantapi_lfp_v1beta/classes.rb'
17
+ require 'google/apis/merchantapi_lfp_v1beta/representations.rb'
18
+ require 'google/apis/merchantapi_lfp_v1beta/gem_version.rb'
19
+
20
+ module Google
21
+ module Apis
22
+ # Merchant API
23
+ #
24
+ # Programmatically manage your Merchant Center Accounts.
25
+ #
26
+ # @see https://developers.devsite.corp.google.com/merchant/api
27
+ module MerchantapiLfpV1beta
28
+ # Version of the Merchant API this client connects to.
29
+ # This is NOT the gem version.
30
+ VERSION = 'LfpV1beta'
31
+
32
+ # Manage your product listings and accounts for Google Shopping
33
+ AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
34
+ end
35
+ end
36
+ end
@@ -0,0 +1,15 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require "google/apis/merchantapi_lfp_v1beta"
metadata ADDED
@@ -0,0 +1,82 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: google-apis-merchantapi_lfp_v1beta
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Google LLC
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2024-06-27 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: google-apis-core
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 0.15.0
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: 2.a
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: 0.15.0
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: 2.a
33
+ description: This is the simple REST client for Merchant API LfpV1beta. Simple REST
34
+ clients are Ruby client libraries that provide access to Google services via their
35
+ HTTP REST API endpoints. These libraries are generated and updated automatically
36
+ based on the discovery documents published by the service, and they handle most
37
+ concerns such as authentication, pagination, retry, timeouts, and logging. You can
38
+ use this client to access the Merchant API, but note that some services may provide
39
+ a separate modern client that is easier to use.
40
+ email: googleapis-packages@google.com
41
+ executables: []
42
+ extensions: []
43
+ extra_rdoc_files: []
44
+ files:
45
+ - ".yardopts"
46
+ - CHANGELOG.md
47
+ - LICENSE.md
48
+ - OVERVIEW.md
49
+ - lib/google-apis-merchantapi_lfp_v1beta.rb
50
+ - lib/google/apis/merchantapi_lfp_v1beta.rb
51
+ - lib/google/apis/merchantapi_lfp_v1beta/classes.rb
52
+ - lib/google/apis/merchantapi_lfp_v1beta/gem_version.rb
53
+ - lib/google/apis/merchantapi_lfp_v1beta/representations.rb
54
+ - lib/google/apis/merchantapi_lfp_v1beta/service.rb
55
+ homepage: https://github.com/google/google-api-ruby-client
56
+ licenses:
57
+ - Apache-2.0
58
+ metadata:
59
+ bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
+ changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-merchantapi_lfp_v1beta/CHANGELOG.md
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-merchantapi_lfp_v1beta/v0.1.0
62
+ source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-merchantapi_lfp_v1beta
63
+ post_install_message:
64
+ rdoc_options: []
65
+ require_paths:
66
+ - lib
67
+ required_ruby_version: !ruby/object:Gem::Requirement
68
+ requirements:
69
+ - - ">="
70
+ - !ruby/object:Gem::Version
71
+ version: '2.7'
72
+ required_rubygems_version: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - ">="
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
77
+ requirements: []
78
+ rubygems_version: 3.5.6
79
+ signing_key:
80
+ specification_version: 4
81
+ summary: Simple REST client for Merchant API LfpV1beta
82
+ test_files: []