google-apis-css_v1 0.1.0 → 0.3.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: '09ba97df760f10a8eace6f067ce39ef7252d68b6904d1f6c33816a306443a8e0'
4
+ data.tar.gz: b83bffa51ddb89ef062e9ac5f4326d3878197242a1d5d4c018e314dfd39cc5e6
5
5
  SHA512:
6
- metadata.gz: a1a18de7616e90c9b5c535c0212fcaf333aade5ea422dec005a6961ae8b5879561f3d4ca41f1838938ea03daec062712ce2c2ab2289c4d199bfd7771ca481697
7
- data.tar.gz: 767a9098b404cfeed4b0595f55ff4fac157a19d97ec7395f3e1b82bd6a6ea917c1fef57ec5dc34ffca32ac8aacc09401679ea3998c1b4fa39214944f5575363a
6
+ metadata.gz: a9d353598e0dd44305548a36e58688338ac8816d4217b9b28ddba8e59dbffcf4d4a4c9990f4363960db7328aa927ae31ce673e9440a571079fd7b859cc4a88d6
7
+ data.tar.gz: d1f5a727c5423228e39790b7c53b70e630b845a86ebc6bafedafe91f0de43c36875d46d442d45b82b26b7ea07d2e42f9dab7a689e3e62aa5af4850ee69fcff79
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-css_v1
2
2
 
3
+ ### v0.3.0 (2024-11-10)
4
+
5
+ * Regenerated from discovery document revision 20241104
6
+
7
+ ### v0.2.0 (2024-09-15)
8
+
9
+ * Regenerated from discovery document revision 20240909
10
+ * Regenerated using generator version 0.15.1
11
+
3
12
  ### v0.1.0 (2024-07-25)
4
13
 
5
14
  * 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.3.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 = "20241104"
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
@@ -391,7 +391,7 @@ module Google
391
391
  execute_or_queue_command(command, &block)
392
392
  end
393
393
 
394
- # Lists the labels assigned to an account.
394
+ # Lists the labels owned by an account.
395
395
  # @param [String] parent
396
396
  # Required. The parent account. Format: accounts/`account`
397
397
  # @param [Fixnum] page_size
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.3.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-11-17 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.3.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.6
78
+ rubygems_version: 3.5.22
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for CSS API V1