google-apis-pagespeedonline_v5 0.19.0 → 0.21.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 54c0577ebe8a0583b65737af1129bba0e297e818117fe51c1081dbeda9ae2406
4
- data.tar.gz: 501d6c3d8b7a3911ee06a84c2233eb02e4be282b055880713964c272ce911c30
3
+ metadata.gz: e64661573d83b14227e2905c5eb1e1adb062fa9fe4abd39b1ecd814b3d45487b
4
+ data.tar.gz: 8081b3064eb508f59dd6ce6288c473d2876128eb55cb48e541c773e044ce4d27
5
5
  SHA512:
6
- metadata.gz: 3b67e1da24995be7b768b85b59f3369699e2f24e19eb08fa32cfd6a99de3c54213822508e92f9e78e26098ba40996c2963058e45aa8673f7300658f4894c8cab
7
- data.tar.gz: 5a53be885455762e283df7bff809079dbe5d8d97b32fa67c70970085989526f27575d9f01759531e4de43b69d48d10babb62e88ff5dab6e5bbfdfb99c44fa53a
6
+ metadata.gz: 23652b50a69f4c4c071ed591cb68444f54304e7eeab82e19b7f53c99091a2bd9fc5f40e93d3d6e632655f7f0f4e5a4932e56ae8a5b3d53c900f0b4c5c23d405f
7
+ data.tar.gz: ba70a78b6a5b8cdfa1d0e22f9a022e2718578420eff7a03f0b7be71d6b69406858b5a32372dc224f636b9389926455b3f8438635f8b4a6fe90d61e97ffc43218
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-pagespeedonline_v5
2
2
 
3
+ ### v0.21.0 (2025-05-04)
4
+
5
+ * Regenerated using generator version 0.17.0
6
+
7
+ ### v0.20.0 (2024-09-01)
8
+
9
+ * Regenerated from discovery document revision 20240829
10
+ * Regenerated using generator version 0.15.1
11
+
3
12
  ### v0.19.0 (2024-05-19)
4
13
 
5
14
  * Regenerated from discovery document revision 20240509
data/OVERVIEW.md CHANGED
@@ -83,7 +83,7 @@ The [product documentation](https://developers.google.com/speed/docs/insights/v5
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.7+.
86
+ This library is supported on Ruby 3.1+.
87
87
 
88
88
  Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
@@ -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.21.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.17.0"
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,13 @@
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.21.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-05-19 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: google-apis-core
@@ -58,9 +57,8 @@ licenses:
58
57
  metadata:
59
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
59
  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
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-pagespeedonline_v5/v0.21.0
62
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-pagespeedonline_v5
63
- post_install_message:
64
62
  rdoc_options: []
65
63
  require_paths:
66
64
  - lib
@@ -68,15 +66,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
68
66
  requirements:
69
67
  - - ">="
70
68
  - !ruby/object:Gem::Version
71
- version: '2.7'
69
+ version: '3.1'
72
70
  required_rubygems_version: !ruby/object:Gem::Requirement
73
71
  requirements:
74
72
  - - ">="
75
73
  - !ruby/object:Gem::Version
76
74
  version: '0'
77
75
  requirements: []
78
- rubygems_version: 3.5.6
79
- signing_key:
76
+ rubygems_version: 3.6.8
80
77
  specification_version: 4
81
78
  summary: Simple REST client for PageSpeed Insights API V5
82
79
  test_files: []