google-apis-pagespeedonline_v5 0.19.0 → 0.20.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: 54c0577ebe8a0583b65737af1129bba0e297e818117fe51c1081dbeda9ae2406
4
- data.tar.gz: 501d6c3d8b7a3911ee06a84c2233eb02e4be282b055880713964c272ce911c30
3
+ metadata.gz: 3522d56c9987d725a807c805b7d4d410fed557281af29fa766819f2ada1dbcb8
4
+ data.tar.gz: d922ab84ea2150a193e22793a41a23aaa5291e4c474c1dab075c40f2ae1a1334
5
5
  SHA512:
6
- metadata.gz: 3b67e1da24995be7b768b85b59f3369699e2f24e19eb08fa32cfd6a99de3c54213822508e92f9e78e26098ba40996c2963058e45aa8673f7300658f4894c8cab
7
- data.tar.gz: 5a53be885455762e283df7bff809079dbe5d8d97b32fa67c70970085989526f27575d9f01759531e4de43b69d48d10babb62e88ff5dab6e5bbfdfb99c44fa53a
6
+ metadata.gz: a593ade49f90393ed3a0b9d8a53721adf3048948d45bad46bddd3080661de51848a50d0bb20190ec08e72f741e47d3584f6bd1110688a7109f2c3750a9e9b1c4
7
+ data.tar.gz: 8c351683c35c30c948a63d5d39e9d04a436c836460038a42ce2e9bfd80f5fea27a2422a1f516570d1bececc0542ad0bca88afebb27597b6eb2dcd17749d9cd29
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-pagespeedonline_v5
2
2
 
3
+ ### v0.20.0 (2024-09-01)
4
+
5
+ * Regenerated from discovery document revision 20240829
6
+ * Regenerated using generator version 0.15.1
7
+
3
8
  ### v0.19.0 (2024-05-19)
4
9
 
5
10
  * Regenerated from discovery document revision 20240509
@@ -352,6 +352,11 @@ module Google
352
352
  # @return [String]
353
353
  attr_accessor :id
354
354
 
355
+ # The metric savings of the audit.
356
+ # Corresponds to the JSON property `metricSavings`
357
+ # @return [Google::Apis::PagespeedonlineV5::MetricSavings]
358
+ attr_accessor :metric_savings
359
+
355
360
  # The unit of the numeric_value field. Used to format the numeric value for
356
361
  # display.
357
362
  # Corresponds to the JSON property `numericUnit`
@@ -397,6 +402,7 @@ module Google
397
402
  @error_message = args[:error_message] if args.key?(:error_message)
398
403
  @explanation = args[:explanation] if args.key?(:explanation)
399
404
  @id = args[:id] if args.key?(:id)
405
+ @metric_savings = args[:metric_savings] if args.key?(:metric_savings)
400
406
  @numeric_unit = args[:numeric_unit] if args.key?(:numeric_unit)
401
407
  @numeric_value = args[:numeric_value] if args.key?(:numeric_value)
402
408
  @score = args[:score] if args.key?(:score)
@@ -584,6 +590,54 @@ module Google
584
590
  end
585
591
  end
586
592
 
593
+ # The metric savings of the audit.
594
+ class MetricSavings
595
+ include Google::Apis::Core::Hashable
596
+
597
+ # Optional. Optional numeric value representing the audit's savings for the CLS
598
+ # metric.
599
+ # Corresponds to the JSON property `CLS`
600
+ # @return [Float]
601
+ attr_accessor :cls
602
+
603
+ # Optional. Optional numeric value representing the audit's savings for the FCP
604
+ # metric.
605
+ # Corresponds to the JSON property `FCP`
606
+ # @return [Float]
607
+ attr_accessor :fcp
608
+
609
+ # Optional. Optional numeric value representing the audit's savings for the INP
610
+ # metric.
611
+ # Corresponds to the JSON property `INP`
612
+ # @return [Float]
613
+ attr_accessor :inp
614
+
615
+ # Optional. Optional numeric value representing the audit's savings for the LCP
616
+ # metric.
617
+ # Corresponds to the JSON property `LCP`
618
+ # @return [Float]
619
+ attr_accessor :lcp
620
+
621
+ # Optional. Optional numeric value representing the audit's savings for the TBT
622
+ # metric.
623
+ # Corresponds to the JSON property `TBT`
624
+ # @return [Float]
625
+ attr_accessor :tbt
626
+
627
+ def initialize(**args)
628
+ update!(**args)
629
+ end
630
+
631
+ # Update properties of this object
632
+ def update!(**args)
633
+ @cls = args[:cls] if args.key?(:cls)
634
+ @fcp = args[:fcp] if args.key?(:fcp)
635
+ @inp = args[:inp] if args.key?(:inp)
636
+ @lcp = args[:lcp] if args.key?(:lcp)
637
+ @tbt = args[:tbt] if args.key?(:tbt)
638
+ end
639
+ end
640
+
587
641
  # The CrUX loading experience object that contains CrUX data breakdowns.
588
642
  class PagespeedApiLoadingExperienceV5
589
643
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module PagespeedonlineV5
18
18
  # Version of the google-apis-pagespeedonline_v5 gem
19
- GEM_VERSION = "0.19.0"
19
+ GEM_VERSION = "0.20.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 = "20240509"
25
+ REVISION = "20240829"
26
26
  end
27
27
  end
28
28
  end
@@ -88,6 +88,12 @@ module Google
88
88
  include Google::Apis::Core::JsonObjectSupport
89
89
  end
90
90
 
91
+ class MetricSavings
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
91
97
  class PagespeedApiLoadingExperienceV5
92
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
99
 
@@ -230,6 +236,8 @@ module Google
230
236
  property :error_message, as: 'errorMessage'
231
237
  property :explanation, as: 'explanation'
232
238
  property :id, as: 'id'
239
+ property :metric_savings, as: 'metricSavings', class: Google::Apis::PagespeedonlineV5::MetricSavings, decorator: Google::Apis::PagespeedonlineV5::MetricSavings::Representation
240
+
233
241
  property :numeric_unit, as: 'numericUnit'
234
242
  property :numeric_value, as: 'numericValue'
235
243
  property :score, as: 'score'
@@ -287,6 +295,17 @@ module Google
287
295
  end
288
296
  end
289
297
 
298
+ class MetricSavings
299
+ # @private
300
+ class Representation < Google::Apis::Core::JsonRepresentation
301
+ property :cls, as: 'CLS'
302
+ property :fcp, as: 'FCP'
303
+ property :inp, as: 'INP'
304
+ property :lcp, as: 'LCP'
305
+ property :tbt, as: 'TBT'
306
+ end
307
+ end
308
+
290
309
  class PagespeedApiLoadingExperienceV5
291
310
  # @private
292
311
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-pagespeedonline_v5
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.0
4
+ version: 0.20.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-05-19 00:00:00.000000000 Z
11
+ date: 2024-09-01 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-pagespeedonline_v5/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-pagespeedonline_v5/v0.19.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-pagespeedonline_v5/v0.20.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-pagespeedonline_v5
63
63
  post_install_message:
64
64
  rdoc_options: []