google-apis-pagespeedonline_v5 0.14.0 → 0.16.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: d0e651e20b2803279db44ae83f066bdceb165225bb4481376eba148aafb52a85
4
- data.tar.gz: ebcf4f15126cf2d31ea8f4fa4280533e882303eafe6d7580e293f9bde2152033
3
+ metadata.gz: a8b5febbab2fc094120e5930a6aedfb8ae67e7d214e4bc4b0506279463eeb65c
4
+ data.tar.gz: 95b7e1c5a3df516e6f18ef6c3a7d0c6cae4ce9a0d913e7e4cc94ff1bfd6c73db
5
5
  SHA512:
6
- metadata.gz: 32bdd13d6168e58f64caab49ee7991949b23d17fba542bc77fbb37c854c3967c79b88cc2ad7ace74d0d929cf9674fcb58d100d887416b85b9b514af83681f626
7
- data.tar.gz: 7565060067a09bc92a27b68705bb79f19d0cc75918c09948b88efe7cd0499be65ae2aa81aaae38657c4fecee3e12de52dad1da6e5c20be419301546d8f8b3331
6
+ metadata.gz: 9ed5fc584ffd967b77647a97aea8cddd2b392ed17798eae7bc1ea02c265bede2401b1753cce8029b7f97bab45965420ce6fd647155091a51db7f0a7929abe055
7
+ data.tar.gz: 40d2bfb7062c38b3cbcd8a3cbd1f49c0482aeaf2ddc3ec659ef26302ac06c47ecfb2e0c4f21a279b49e364184449c721868de85210239e83792fcf210c79a15f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-pagespeedonline_v5
2
2
 
3
+ ### v0.16.0 (2023-03-26)
4
+
5
+ * Regenerated from discovery document revision 20230316
6
+
7
+ ### v0.15.0 (2023-02-15)
8
+
9
+ * Regenerated using generator version 0.12.0
10
+
3
11
  ### v0.14.0 (2022-10-18)
4
12
 
5
13
  * Regenerated using generator version 0.11.0
@@ -220,6 +220,11 @@ module Google
220
220
  # @return [Float]
221
221
  attr_accessor :benchmark_index
222
222
 
223
+ # The version of libraries with which these results were generated. Ex: axe-core.
224
+ # Corresponds to the JSON property `credits`
225
+ # @return [Hash<String,String>]
226
+ attr_accessor :credits
227
+
223
228
  # The user agent string of the version of Chrome used.
224
229
  # Corresponds to the JSON property `hostUserAgent`
225
230
  # @return [String]
@@ -237,6 +242,7 @@ module Google
237
242
  # Update properties of this object
238
243
  def update!(**args)
239
244
  @benchmark_index = args[:benchmark_index] if args.key?(:benchmark_index)
245
+ @credits = args[:credits] if args.key?(:credits)
240
246
  @host_user_agent = args[:host_user_agent] if args.key?(:host_user_agent)
241
247
  @network_user_agent = args[:network_user_agent] if args.key?(:network_user_agent)
242
248
  end
@@ -261,6 +267,57 @@ module Google
261
267
  end
262
268
  end
263
269
 
270
+ # Message containing an Entity.
271
+ class LhrEntity
272
+ include Google::Apis::Core::Hashable
273
+
274
+ # Optional. An optional category name for the entity.
275
+ # Corresponds to the JSON property `category`
276
+ # @return [String]
277
+ attr_accessor :category
278
+
279
+ # Optional. An optional homepage URL of the entity.
280
+ # Corresponds to the JSON property `homepage`
281
+ # @return [String]
282
+ attr_accessor :homepage
283
+
284
+ # Optional. An optional flag indicating if the entity is the first party.
285
+ # Corresponds to the JSON property `isFirstParty`
286
+ # @return [Boolean]
287
+ attr_accessor :is_first_party
288
+ alias_method :is_first_party?, :is_first_party
289
+
290
+ # Optional. An optional flag indicating if the entity is not recognized.
291
+ # Corresponds to the JSON property `isUnrecognized`
292
+ # @return [Boolean]
293
+ attr_accessor :is_unrecognized
294
+ alias_method :is_unrecognized?, :is_unrecognized
295
+
296
+ # Required. Name of the entity.
297
+ # Corresponds to the JSON property `name`
298
+ # @return [String]
299
+ attr_accessor :name
300
+
301
+ # Required. A list of URL origin strings that belong to this entity.
302
+ # Corresponds to the JSON property `origins`
303
+ # @return [Array<String>]
304
+ attr_accessor :origins
305
+
306
+ def initialize(**args)
307
+ update!(**args)
308
+ end
309
+
310
+ # Update properties of this object
311
+ def update!(**args)
312
+ @category = args[:category] if args.key?(:category)
313
+ @homepage = args[:homepage] if args.key?(:homepage)
314
+ @is_first_party = args[:is_first_party] if args.key?(:is_first_party)
315
+ @is_unrecognized = args[:is_unrecognized] if args.key?(:is_unrecognized)
316
+ @name = args[:name] if args.key?(:name)
317
+ @origins = args[:origins] if args.key?(:origins)
318
+ end
319
+ end
320
+
264
321
  # An audit's result object in a Lighthouse result.
265
322
  class LighthouseAuditResultV5
266
323
  include Google::Apis::Core::Hashable
@@ -423,6 +480,11 @@ module Google
423
480
  # @return [Google::Apis::PagespeedonlineV5::ConfigSettings]
424
481
  attr_accessor :config_settings
425
482
 
483
+ # Entity classification data.
484
+ # Corresponds to the JSON property `entities`
485
+ # @return [Array<Google::Apis::PagespeedonlineV5::LhrEntity>]
486
+ attr_accessor :entities
487
+
426
488
  # Message containing environment configuration for a Lighthouse run.
427
489
  # Corresponds to the JSON property `environment`
428
490
  # @return [Google::Apis::PagespeedonlineV5::Environment]
@@ -433,11 +495,22 @@ module Google
433
495
  # @return [String]
434
496
  attr_accessor :fetch_time
435
497
 
498
+ # URL displayed on the page after Lighthouse finishes.
499
+ # Corresponds to the JSON property `finalDisplayedUrl`
500
+ # @return [String]
501
+ attr_accessor :final_displayed_url
502
+
436
503
  # The final resolved url that was audited.
437
504
  # Corresponds to the JSON property `finalUrl`
438
505
  # @return [String]
439
506
  attr_accessor :final_url
440
507
 
508
+ # Screenshot data of the full page, along with node rects relevant to the audit
509
+ # results.
510
+ # Corresponds to the JSON property `fullPageScreenshot`
511
+ # @return [Object]
512
+ attr_accessor :full_page_screenshot
513
+
441
514
  # Message containing the i18n data for the LHR - Version 1.
442
515
  # Corresponds to the JSON property `i18n`
443
516
  # @return [Google::Apis::PagespeedonlineV5::I18n]
@@ -448,6 +521,11 @@ module Google
448
521
  # @return [String]
449
522
  attr_accessor :lighthouse_version
450
523
 
524
+ # URL of the main document request of the final navigation.
525
+ # Corresponds to the JSON property `mainDocumentUrl`
526
+ # @return [String]
527
+ attr_accessor :main_document_url
528
+
451
529
  # The original requested url.
452
530
  # Corresponds to the JSON property `requestedUrl`
453
531
  # @return [String]
@@ -488,11 +566,15 @@ module Google
488
566
  @categories = args[:categories] if args.key?(:categories)
489
567
  @category_groups = args[:category_groups] if args.key?(:category_groups)
490
568
  @config_settings = args[:config_settings] if args.key?(:config_settings)
569
+ @entities = args[:entities] if args.key?(:entities)
491
570
  @environment = args[:environment] if args.key?(:environment)
492
571
  @fetch_time = args[:fetch_time] if args.key?(:fetch_time)
572
+ @final_displayed_url = args[:final_displayed_url] if args.key?(:final_displayed_url)
493
573
  @final_url = args[:final_url] if args.key?(:final_url)
574
+ @full_page_screenshot = args[:full_page_screenshot] if args.key?(:full_page_screenshot)
494
575
  @i18n = args[:i18n] if args.key?(:i18n)
495
576
  @lighthouse_version = args[:lighthouse_version] if args.key?(:lighthouse_version)
577
+ @main_document_url = args[:main_document_url] if args.key?(:main_document_url)
496
578
  @requested_url = args[:requested_url] if args.key?(:requested_url)
497
579
  @run_warnings = args[:run_warnings] if args.key?(:run_warnings)
498
580
  @runtime_error = args[:runtime_error] if args.key?(:runtime_error)
@@ -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.14.0"
19
+ GEM_VERSION = "0.16.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.0"
22
+ GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210603"
25
+ REVISION = "20230316"
26
26
  end
27
27
  end
28
28
  end
@@ -64,6 +64,12 @@ module Google
64
64
  include Google::Apis::Core::JsonObjectSupport
65
65
  end
66
66
 
67
+ class LhrEntity
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
67
73
  class LighthouseAuditResultV5
68
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
75
 
@@ -189,6 +195,7 @@ module Google
189
195
  # @private
190
196
  class Representation < Google::Apis::Core::JsonRepresentation
191
197
  property :benchmark_index, as: 'benchmarkIndex'
198
+ hash :credits, as: 'credits'
192
199
  property :host_user_agent, as: 'hostUserAgent'
193
200
  property :network_user_agent, as: 'networkUserAgent'
194
201
  end
@@ -202,6 +209,18 @@ module Google
202
209
  end
203
210
  end
204
211
 
212
+ class LhrEntity
213
+ # @private
214
+ class Representation < Google::Apis::Core::JsonRepresentation
215
+ property :category, as: 'category'
216
+ property :homepage, as: 'homepage'
217
+ property :is_first_party, as: 'isFirstParty'
218
+ property :is_unrecognized, as: 'isUnrecognized'
219
+ property :name, as: 'name'
220
+ collection :origins, as: 'origins'
221
+ end
222
+ end
223
+
205
224
  class LighthouseAuditResultV5
206
225
  # @private
207
226
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -244,13 +263,18 @@ module Google
244
263
 
245
264
  property :config_settings, as: 'configSettings', class: Google::Apis::PagespeedonlineV5::ConfigSettings, decorator: Google::Apis::PagespeedonlineV5::ConfigSettings::Representation
246
265
 
266
+ collection :entities, as: 'entities', class: Google::Apis::PagespeedonlineV5::LhrEntity, decorator: Google::Apis::PagespeedonlineV5::LhrEntity::Representation
267
+
247
268
  property :environment, as: 'environment', class: Google::Apis::PagespeedonlineV5::Environment, decorator: Google::Apis::PagespeedonlineV5::Environment::Representation
248
269
 
249
270
  property :fetch_time, as: 'fetchTime'
271
+ property :final_displayed_url, as: 'finalDisplayedUrl'
250
272
  property :final_url, as: 'finalUrl'
273
+ property :full_page_screenshot, as: 'fullPageScreenshot'
251
274
  property :i18n, as: 'i18n', class: Google::Apis::PagespeedonlineV5::I18n, decorator: Google::Apis::PagespeedonlineV5::I18n::Representation
252
275
 
253
276
  property :lighthouse_version, as: 'lighthouseVersion'
277
+ property :main_document_url, as: 'mainDocumentUrl'
254
278
  property :requested_url, as: 'requestedUrl'
255
279
  collection :run_warnings, as: 'runWarnings'
256
280
  property :runtime_error, as: 'runtimeError', class: Google::Apis::PagespeedonlineV5::RuntimeError, decorator: Google::Apis::PagespeedonlineV5::RuntimeError::Representation
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.14.0
4
+ version: 0.16.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: 2022-10-21 00:00:00.000000000 Z
11
+ date: 2023-03-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.9.1
19
+ version: 0.11.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.9.1
29
+ version: 0.11.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.14.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-pagespeedonline_v5/v0.16.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: []
@@ -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.3.14
78
+ rubygems_version: 3.4.2
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for PageSpeed Insights API V5