google-apis-css_v1 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f2076bb66eba94b677f24869599cf68fe5bd462041a585a1d2da79754591d2cf
4
- data.tar.gz: 1357105a0e813199cb7b50614b9e75fa28e3e2d32218df9ba7141771350a12a4
3
+ metadata.gz: 4c1d26d14086d8d5605d9e449cdabcb3e1a44547b71cc9386ac0ecdb6a0a7d5f
4
+ data.tar.gz: bea9665bbcdb46b5c070d19b4101e04bbd51157afa7e2de0bf49aa07506333c7
5
5
  SHA512:
6
- metadata.gz: a1a18de7616e90c9b5c535c0212fcaf333aade5ea422dec005a6961ae8b5879561f3d4ca41f1838938ea03daec062712ce2c2ab2289c4d199bfd7771ca481697
7
- data.tar.gz: 767a9098b404cfeed4b0595f55ff4fac157a19d97ec7395f3e1b82bd6a6ea917c1fef57ec5dc34ffca32ac8aacc09401679ea3998c1b4fa39214944f5575363a
6
+ metadata.gz: c4cd8d11fd9c01079eedc03efbfdc0b886833b7b24e82d3f873af60001123601e03a3bcddd3fa6fb0fa428cd7d832bb66e812b8f38cd4a65c38cce28592d77bf
7
+ data.tar.gz: b77eb088152de63123c5f07a7b345af17f61b280e8c71756c7afadcb3e8f1d486bbfcf12a9a6cd0655849723db6f401166541eadbc7040fbfa555b59d51d95af
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-css_v1
2
2
 
3
+ ### v0.2.0 (2024-09-15)
4
+
5
+ * Regenerated from discovery document revision 20240909
6
+ * Regenerated using generator version 0.15.1
7
+
3
8
  ### v0.1.0 (2024-07-25)
4
9
 
5
10
  * Regenerated from discovery document revision 20240719
@@ -255,6 +255,11 @@ module Google
255
255
  # @return [String]
256
256
  attr_accessor :headline_offer_condition
257
257
 
258
+ # A message that represents installment.
259
+ # Corresponds to the JSON property `headlineOfferInstallment`
260
+ # @return [Google::Apis::CssV1::HeadlineOfferInstallment]
261
+ attr_accessor :headline_offer_installment
262
+
258
263
  # Link to the headline offer.
259
264
  # Corresponds to the JSON property `headlineOfferLink`
260
265
  # @return [String]
@@ -275,6 +280,11 @@ module Google
275
280
  # @return [Google::Apis::CssV1::Price]
276
281
  attr_accessor :headline_offer_shipping_price
277
282
 
283
+ # The SubscriptionCost of the product.
284
+ # Corresponds to the JSON property `headlineOfferSubscriptionCost`
285
+ # @return [Google::Apis::CssV1::HeadlineOfferSubscriptionCost]
286
+ attr_accessor :headline_offer_subscription_cost
287
+
278
288
  # The price represented as a number and currency.
279
289
  # Corresponds to the JSON property `highPrice`
280
290
  # @return [Google::Apis::CssV1::Price]
@@ -427,10 +437,12 @@ module Google
427
437
  @google_product_category = args[:google_product_category] if args.key?(:google_product_category)
428
438
  @gtin = args[:gtin] if args.key?(:gtin)
429
439
  @headline_offer_condition = args[:headline_offer_condition] if args.key?(:headline_offer_condition)
440
+ @headline_offer_installment = args[:headline_offer_installment] if args.key?(:headline_offer_installment)
430
441
  @headline_offer_link = args[:headline_offer_link] if args.key?(:headline_offer_link)
431
442
  @headline_offer_mobile_link = args[:headline_offer_mobile_link] if args.key?(:headline_offer_mobile_link)
432
443
  @headline_offer_price = args[:headline_offer_price] if args.key?(:headline_offer_price)
433
444
  @headline_offer_shipping_price = args[:headline_offer_shipping_price] if args.key?(:headline_offer_shipping_price)
445
+ @headline_offer_subscription_cost = args[:headline_offer_subscription_cost] if args.key?(:headline_offer_subscription_cost)
434
446
  @high_price = args[:high_price] if args.key?(:high_price)
435
447
  @image_link = args[:image_link] if args.key?(:image_link)
436
448
  @included_destinations = args[:included_destinations] if args.key?(:included_destinations)
@@ -778,6 +790,68 @@ module Google
778
790
  end
779
791
  end
780
792
 
793
+ # A message that represents installment.
794
+ class HeadlineOfferInstallment
795
+ include Google::Apis::Core::Hashable
796
+
797
+ # The price represented as a number and currency.
798
+ # Corresponds to the JSON property `amount`
799
+ # @return [Google::Apis::CssV1::Price]
800
+ attr_accessor :amount
801
+
802
+ # The price represented as a number and currency.
803
+ # Corresponds to the JSON property `downpayment`
804
+ # @return [Google::Apis::CssV1::Price]
805
+ attr_accessor :downpayment
806
+
807
+ # The number of installments the buyer has to pay.
808
+ # Corresponds to the JSON property `months`
809
+ # @return [Fixnum]
810
+ attr_accessor :months
811
+
812
+ def initialize(**args)
813
+ update!(**args)
814
+ end
815
+
816
+ # Update properties of this object
817
+ def update!(**args)
818
+ @amount = args[:amount] if args.key?(:amount)
819
+ @downpayment = args[:downpayment] if args.key?(:downpayment)
820
+ @months = args[:months] if args.key?(:months)
821
+ end
822
+ end
823
+
824
+ # The SubscriptionCost of the product.
825
+ class HeadlineOfferSubscriptionCost
826
+ include Google::Apis::Core::Hashable
827
+
828
+ # The price represented as a number and currency.
829
+ # Corresponds to the JSON property `amount`
830
+ # @return [Google::Apis::CssV1::Price]
831
+ attr_accessor :amount
832
+
833
+ # The type of subscription period. Supported values are: * "`month`" * "`year`"
834
+ # Corresponds to the JSON property `period`
835
+ # @return [String]
836
+ attr_accessor :period
837
+
838
+ # The number of subscription periods the buyer has to pay.
839
+ # Corresponds to the JSON property `periodLength`
840
+ # @return [Fixnum]
841
+ attr_accessor :period_length
842
+
843
+ def initialize(**args)
844
+ update!(**args)
845
+ end
846
+
847
+ # Update properties of this object
848
+ def update!(**args)
849
+ @amount = args[:amount] if args.key?(:amount)
850
+ @period = args[:period] if args.key?(:period)
851
+ @period_length = args[:period_length] if args.key?(:period_length)
852
+ end
853
+ end
854
+
781
855
  # The ItemLevelIssue of the product status.
782
856
  class ItemLevelIssue
783
857
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CssV1
18
18
  # Version of the google-apis-css_v1 gem
19
- GEM_VERSION = "0.1.0"
19
+ GEM_VERSION = "0.2.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.0"
22
+ GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240719"
25
+ REVISION = "20240909"
26
26
  end
27
27
  end
28
28
  end
@@ -82,6 +82,18 @@ module Google
82
82
  include Google::Apis::Core::JsonObjectSupport
83
83
  end
84
84
 
85
+ class HeadlineOfferInstallment
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class HeadlineOfferSubscriptionCost
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
85
97
  class ItemLevelIssue
86
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
99
 
@@ -187,12 +199,16 @@ module Google
187
199
  property :google_product_category, as: 'googleProductCategory'
188
200
  property :gtin, as: 'gtin'
189
201
  property :headline_offer_condition, as: 'headlineOfferCondition'
202
+ property :headline_offer_installment, as: 'headlineOfferInstallment', class: Google::Apis::CssV1::HeadlineOfferInstallment, decorator: Google::Apis::CssV1::HeadlineOfferInstallment::Representation
203
+
190
204
  property :headline_offer_link, as: 'headlineOfferLink'
191
205
  property :headline_offer_mobile_link, as: 'headlineOfferMobileLink'
192
206
  property :headline_offer_price, as: 'headlineOfferPrice', class: Google::Apis::CssV1::Price, decorator: Google::Apis::CssV1::Price::Representation
193
207
 
194
208
  property :headline_offer_shipping_price, as: 'headlineOfferShippingPrice', class: Google::Apis::CssV1::Price, decorator: Google::Apis::CssV1::Price::Representation
195
209
 
210
+ property :headline_offer_subscription_cost, as: 'headlineOfferSubscriptionCost', class: Google::Apis::CssV1::HeadlineOfferSubscriptionCost, decorator: Google::Apis::CssV1::HeadlineOfferSubscriptionCost::Representation
211
+
196
212
  property :high_price, as: 'highPrice', class: Google::Apis::CssV1::Price, decorator: Google::Apis::CssV1::Price::Representation
197
213
 
198
214
  property :image_link, as: 'imageLink'
@@ -306,6 +322,27 @@ module Google
306
322
  end
307
323
  end
308
324
 
325
+ class HeadlineOfferInstallment
326
+ # @private
327
+ class Representation < Google::Apis::Core::JsonRepresentation
328
+ property :amount, as: 'amount', class: Google::Apis::CssV1::Price, decorator: Google::Apis::CssV1::Price::Representation
329
+
330
+ property :downpayment, as: 'downpayment', class: Google::Apis::CssV1::Price, decorator: Google::Apis::CssV1::Price::Representation
331
+
332
+ property :months, :numeric_string => true, as: 'months'
333
+ end
334
+ end
335
+
336
+ class HeadlineOfferSubscriptionCost
337
+ # @private
338
+ class Representation < Google::Apis::Core::JsonRepresentation
339
+ property :amount, as: 'amount', class: Google::Apis::CssV1::Price, decorator: Google::Apis::CssV1::Price::Representation
340
+
341
+ property :period, as: 'period'
342
+ property :period_length, :numeric_string => true, as: 'periodLength'
343
+ end
344
+ end
345
+
309
346
  class ItemLevelIssue
310
347
  # @private
311
348
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-css_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-25 00:00:00.000000000 Z
11
+ date: 2024-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-css_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-css_v1/v0.1.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-css_v1/v0.2.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-css_v1
63
63
  post_install_message:
64
64
  rdoc_options: []