google-apis-css_v1 0.1.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 +7 -0
- data/.yardopts +13 -0
- data/CHANGELOG.md +7 -0
- data/LICENSE.md +202 -0
- data/OVERVIEW.md +96 -0
- data/lib/google/apis/css_v1/classes.rb +1067 -0
- data/lib/google/apis/css_v1/gem_version.rb +28 -0
- data/lib/google/apis/css_v1/representations.rb +393 -0
- data/lib/google/apis/css_v1/service.rb +477 -0
- data/lib/google/apis/css_v1.rb +37 -0
- data/lib/google-apis-css_v1.rb +15 -0
- metadata +82 -0
@@ -0,0 +1,28 @@
|
|
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
|
+
module Google
|
16
|
+
module Apis
|
17
|
+
module CssV1
|
18
|
+
# Version of the google-apis-css_v1 gem
|
19
|
+
GEM_VERSION = "0.1.0"
|
20
|
+
|
21
|
+
# Version of the code generator used to generate this client
|
22
|
+
GENERATOR_VERSION = "0.15.0"
|
23
|
+
|
24
|
+
# Revision of the discovery document this client was generated from
|
25
|
+
REVISION = "20240719"
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,393 @@
|
|
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 CssV1
|
24
|
+
|
25
|
+
class Account
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class AccountLabel
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class Attributes
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class Certification
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
49
|
+
class CssProduct
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
55
|
+
class CssProductInput
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
61
|
+
class CssProductStatus
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
67
|
+
class CustomAttribute
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
73
|
+
class DestinationStatus
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
79
|
+
class Empty
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
85
|
+
class ItemLevelIssue
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
91
|
+
class ListAccountLabelsResponse
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
97
|
+
class ListChildAccountsResponse
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
103
|
+
class ListCssProductsResponse
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
109
|
+
class Price
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
115
|
+
class ProductDetail
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
121
|
+
class ProductDimension
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
127
|
+
class ProductWeight
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
133
|
+
class UpdateAccountLabelsRequest
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
139
|
+
class Account
|
140
|
+
# @private
|
141
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
142
|
+
property :account_type, as: 'accountType'
|
143
|
+
collection :automatic_label_ids, as: 'automaticLabelIds'
|
144
|
+
property :display_name, as: 'displayName'
|
145
|
+
property :full_name, as: 'fullName'
|
146
|
+
property :homepage_uri, as: 'homepageUri'
|
147
|
+
collection :label_ids, as: 'labelIds'
|
148
|
+
property :name, as: 'name'
|
149
|
+
property :parent, as: 'parent'
|
150
|
+
end
|
151
|
+
end
|
152
|
+
|
153
|
+
class AccountLabel
|
154
|
+
# @private
|
155
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
156
|
+
property :account_id, :numeric_string => true, as: 'accountId'
|
157
|
+
property :description, as: 'description'
|
158
|
+
property :display_name, as: 'displayName'
|
159
|
+
property :label_id, :numeric_string => true, as: 'labelId'
|
160
|
+
property :label_type, as: 'labelType'
|
161
|
+
property :name, as: 'name'
|
162
|
+
end
|
163
|
+
end
|
164
|
+
|
165
|
+
class Attributes
|
166
|
+
# @private
|
167
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
168
|
+
collection :additional_image_links, as: 'additionalImageLinks'
|
169
|
+
property :adult, as: 'adult'
|
170
|
+
property :age_group, as: 'ageGroup'
|
171
|
+
property :brand, as: 'brand'
|
172
|
+
collection :certifications, as: 'certifications', class: Google::Apis::CssV1::Certification, decorator: Google::Apis::CssV1::Certification::Representation
|
173
|
+
|
174
|
+
property :color, as: 'color'
|
175
|
+
property :cpp_ads_redirect, as: 'cppAdsRedirect'
|
176
|
+
property :cpp_link, as: 'cppLink'
|
177
|
+
property :cpp_mobile_link, as: 'cppMobileLink'
|
178
|
+
property :custom_label0, as: 'customLabel0'
|
179
|
+
property :custom_label1, as: 'customLabel1'
|
180
|
+
property :custom_label2, as: 'customLabel2'
|
181
|
+
property :custom_label3, as: 'customLabel3'
|
182
|
+
property :custom_label4, as: 'customLabel4'
|
183
|
+
property :description, as: 'description'
|
184
|
+
collection :excluded_destinations, as: 'excludedDestinations'
|
185
|
+
property :expiration_date, as: 'expirationDate'
|
186
|
+
property :gender, as: 'gender'
|
187
|
+
property :google_product_category, as: 'googleProductCategory'
|
188
|
+
property :gtin, as: 'gtin'
|
189
|
+
property :headline_offer_condition, as: 'headlineOfferCondition'
|
190
|
+
property :headline_offer_link, as: 'headlineOfferLink'
|
191
|
+
property :headline_offer_mobile_link, as: 'headlineOfferMobileLink'
|
192
|
+
property :headline_offer_price, as: 'headlineOfferPrice', class: Google::Apis::CssV1::Price, decorator: Google::Apis::CssV1::Price::Representation
|
193
|
+
|
194
|
+
property :headline_offer_shipping_price, as: 'headlineOfferShippingPrice', class: Google::Apis::CssV1::Price, decorator: Google::Apis::CssV1::Price::Representation
|
195
|
+
|
196
|
+
property :high_price, as: 'highPrice', class: Google::Apis::CssV1::Price, decorator: Google::Apis::CssV1::Price::Representation
|
197
|
+
|
198
|
+
property :image_link, as: 'imageLink'
|
199
|
+
collection :included_destinations, as: 'includedDestinations'
|
200
|
+
property :is_bundle, as: 'isBundle'
|
201
|
+
property :item_group_id, as: 'itemGroupId'
|
202
|
+
property :low_price, as: 'lowPrice', class: Google::Apis::CssV1::Price, decorator: Google::Apis::CssV1::Price::Representation
|
203
|
+
|
204
|
+
property :material, as: 'material'
|
205
|
+
property :mpn, as: 'mpn'
|
206
|
+
property :multipack, :numeric_string => true, as: 'multipack'
|
207
|
+
property :number_of_offers, :numeric_string => true, as: 'numberOfOffers'
|
208
|
+
property :pattern, as: 'pattern'
|
209
|
+
property :pause, as: 'pause'
|
210
|
+
collection :product_details, as: 'productDetails', class: Google::Apis::CssV1::ProductDetail, decorator: Google::Apis::CssV1::ProductDetail::Representation
|
211
|
+
|
212
|
+
property :product_height, as: 'productHeight', class: Google::Apis::CssV1::ProductDimension, decorator: Google::Apis::CssV1::ProductDimension::Representation
|
213
|
+
|
214
|
+
collection :product_highlights, as: 'productHighlights'
|
215
|
+
property :product_length, as: 'productLength', class: Google::Apis::CssV1::ProductDimension, decorator: Google::Apis::CssV1::ProductDimension::Representation
|
216
|
+
|
217
|
+
collection :product_types, as: 'productTypes'
|
218
|
+
property :product_weight, as: 'productWeight', class: Google::Apis::CssV1::ProductWeight, decorator: Google::Apis::CssV1::ProductWeight::Representation
|
219
|
+
|
220
|
+
property :product_width, as: 'productWidth', class: Google::Apis::CssV1::ProductDimension, decorator: Google::Apis::CssV1::ProductDimension::Representation
|
221
|
+
|
222
|
+
property :size, as: 'size'
|
223
|
+
property :size_system, as: 'sizeSystem'
|
224
|
+
collection :size_types, as: 'sizeTypes'
|
225
|
+
property :title, as: 'title'
|
226
|
+
end
|
227
|
+
end
|
228
|
+
|
229
|
+
class Certification
|
230
|
+
# @private
|
231
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
232
|
+
property :authority, as: 'authority'
|
233
|
+
property :code, as: 'code'
|
234
|
+
property :name, as: 'name'
|
235
|
+
end
|
236
|
+
end
|
237
|
+
|
238
|
+
class CssProduct
|
239
|
+
# @private
|
240
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
241
|
+
property :attributes, as: 'attributes', class: Google::Apis::CssV1::Attributes, decorator: Google::Apis::CssV1::Attributes::Representation
|
242
|
+
|
243
|
+
property :content_language, as: 'contentLanguage'
|
244
|
+
property :css_product_status, as: 'cssProductStatus', class: Google::Apis::CssV1::CssProductStatus, decorator: Google::Apis::CssV1::CssProductStatus::Representation
|
245
|
+
|
246
|
+
collection :custom_attributes, as: 'customAttributes', class: Google::Apis::CssV1::CustomAttribute, decorator: Google::Apis::CssV1::CustomAttribute::Representation
|
247
|
+
|
248
|
+
property :feed_label, as: 'feedLabel'
|
249
|
+
property :name, as: 'name'
|
250
|
+
property :raw_provided_id, as: 'rawProvidedId'
|
251
|
+
end
|
252
|
+
end
|
253
|
+
|
254
|
+
class CssProductInput
|
255
|
+
# @private
|
256
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
257
|
+
property :attributes, as: 'attributes', class: Google::Apis::CssV1::Attributes, decorator: Google::Apis::CssV1::Attributes::Representation
|
258
|
+
|
259
|
+
property :content_language, as: 'contentLanguage'
|
260
|
+
collection :custom_attributes, as: 'customAttributes', class: Google::Apis::CssV1::CustomAttribute, decorator: Google::Apis::CssV1::CustomAttribute::Representation
|
261
|
+
|
262
|
+
property :feed_label, as: 'feedLabel'
|
263
|
+
property :final_name, as: 'finalName'
|
264
|
+
property :freshness_time, as: 'freshnessTime'
|
265
|
+
property :name, as: 'name'
|
266
|
+
property :raw_provided_id, as: 'rawProvidedId'
|
267
|
+
end
|
268
|
+
end
|
269
|
+
|
270
|
+
class CssProductStatus
|
271
|
+
# @private
|
272
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
273
|
+
property :creation_date, as: 'creationDate'
|
274
|
+
collection :destination_statuses, as: 'destinationStatuses', class: Google::Apis::CssV1::DestinationStatus, decorator: Google::Apis::CssV1::DestinationStatus::Representation
|
275
|
+
|
276
|
+
property :google_expiration_date, as: 'googleExpirationDate'
|
277
|
+
collection :item_level_issues, as: 'itemLevelIssues', class: Google::Apis::CssV1::ItemLevelIssue, decorator: Google::Apis::CssV1::ItemLevelIssue::Representation
|
278
|
+
|
279
|
+
property :last_update_date, as: 'lastUpdateDate'
|
280
|
+
end
|
281
|
+
end
|
282
|
+
|
283
|
+
class CustomAttribute
|
284
|
+
# @private
|
285
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
286
|
+
collection :group_values, as: 'groupValues', class: Google::Apis::CssV1::CustomAttribute, decorator: Google::Apis::CssV1::CustomAttribute::Representation
|
287
|
+
|
288
|
+
property :name, as: 'name'
|
289
|
+
property :value, as: 'value'
|
290
|
+
end
|
291
|
+
end
|
292
|
+
|
293
|
+
class DestinationStatus
|
294
|
+
# @private
|
295
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
296
|
+
collection :approved_countries, as: 'approvedCountries'
|
297
|
+
property :destination, as: 'destination'
|
298
|
+
collection :disapproved_countries, as: 'disapprovedCountries'
|
299
|
+
collection :pending_countries, as: 'pendingCountries'
|
300
|
+
end
|
301
|
+
end
|
302
|
+
|
303
|
+
class Empty
|
304
|
+
# @private
|
305
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
306
|
+
end
|
307
|
+
end
|
308
|
+
|
309
|
+
class ItemLevelIssue
|
310
|
+
# @private
|
311
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
312
|
+
collection :applicable_countries, as: 'applicableCountries'
|
313
|
+
property :attribute, as: 'attribute'
|
314
|
+
property :code, as: 'code'
|
315
|
+
property :description, as: 'description'
|
316
|
+
property :destination, as: 'destination'
|
317
|
+
property :detail, as: 'detail'
|
318
|
+
property :documentation, as: 'documentation'
|
319
|
+
property :resolution, as: 'resolution'
|
320
|
+
property :servability, as: 'servability'
|
321
|
+
end
|
322
|
+
end
|
323
|
+
|
324
|
+
class ListAccountLabelsResponse
|
325
|
+
# @private
|
326
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
327
|
+
collection :account_labels, as: 'accountLabels', class: Google::Apis::CssV1::AccountLabel, decorator: Google::Apis::CssV1::AccountLabel::Representation
|
328
|
+
|
329
|
+
property :next_page_token, as: 'nextPageToken'
|
330
|
+
end
|
331
|
+
end
|
332
|
+
|
333
|
+
class ListChildAccountsResponse
|
334
|
+
# @private
|
335
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
336
|
+
collection :accounts, as: 'accounts', class: Google::Apis::CssV1::Account, decorator: Google::Apis::CssV1::Account::Representation
|
337
|
+
|
338
|
+
property :next_page_token, as: 'nextPageToken'
|
339
|
+
end
|
340
|
+
end
|
341
|
+
|
342
|
+
class ListCssProductsResponse
|
343
|
+
# @private
|
344
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
345
|
+
collection :css_products, as: 'cssProducts', class: Google::Apis::CssV1::CssProduct, decorator: Google::Apis::CssV1::CssProduct::Representation
|
346
|
+
|
347
|
+
property :next_page_token, as: 'nextPageToken'
|
348
|
+
end
|
349
|
+
end
|
350
|
+
|
351
|
+
class Price
|
352
|
+
# @private
|
353
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
354
|
+
property :amount_micros, :numeric_string => true, as: 'amountMicros'
|
355
|
+
property :currency_code, as: 'currencyCode'
|
356
|
+
end
|
357
|
+
end
|
358
|
+
|
359
|
+
class ProductDetail
|
360
|
+
# @private
|
361
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
362
|
+
property :attribute_name, as: 'attributeName'
|
363
|
+
property :attribute_value, as: 'attributeValue'
|
364
|
+
property :section_name, as: 'sectionName'
|
365
|
+
end
|
366
|
+
end
|
367
|
+
|
368
|
+
class ProductDimension
|
369
|
+
# @private
|
370
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
371
|
+
property :unit, as: 'unit'
|
372
|
+
property :value, as: 'value'
|
373
|
+
end
|
374
|
+
end
|
375
|
+
|
376
|
+
class ProductWeight
|
377
|
+
# @private
|
378
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
379
|
+
property :unit, as: 'unit'
|
380
|
+
property :value, as: 'value'
|
381
|
+
end
|
382
|
+
end
|
383
|
+
|
384
|
+
class UpdateAccountLabelsRequest
|
385
|
+
# @private
|
386
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
387
|
+
collection :label_ids, as: 'labelIds'
|
388
|
+
property :parent, as: 'parent'
|
389
|
+
end
|
390
|
+
end
|
391
|
+
end
|
392
|
+
end
|
393
|
+
end
|