Class: Google::Apis::PagespeedonlineV5::PagespeedApiPagespeedResponseV5
- Inherits:
-
Object
- Object
- Google::Apis::PagespeedonlineV5::PagespeedApiPagespeedResponseV5
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/pagespeedonline_v5/classes.rb,
generated/google/apis/pagespeedonline_v5/representations.rb,
generated/google/apis/pagespeedonline_v5/representations.rb
Defined Under Namespace
Classes: Version
Instance Attribute Summary collapse
-
#analysis_utc_timestamp ⇒ String
The UTC timestamp of this analysis.
-
#captcha_result ⇒ String
The captcha verify result Corresponds to the JSON property
captchaResult
. -
#id ⇒ String
Canonicalized and final URL for the document, after following page redirects ( if any).
-
#kind ⇒ String
Kind of result.
-
#lighthouse_result ⇒ Google::Apis::PagespeedonlineV5::LighthouseResultV5
Lighthouse response for the audit url as an object.
-
#loading_experience ⇒ Google::Apis::PagespeedonlineV5::PagespeedApiLoadingExperienceV5
Metrics of end users' page loading experience.
-
#origin_loading_experience ⇒ Google::Apis::PagespeedonlineV5::PagespeedApiLoadingExperienceV5
Metrics of the aggregated page loading experience of the origin Corresponds to the JSON property
originLoadingExperience
. -
#version ⇒ Google::Apis::PagespeedonlineV5::PagespeedApiPagespeedResponseV5::Version
The version of PageSpeed used to generate these results.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PagespeedApiPagespeedResponseV5
constructor
A new instance of PagespeedApiPagespeedResponseV5.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ PagespeedApiPagespeedResponseV5
Returns a new instance of PagespeedApiPagespeedResponseV5
681 682 683 |
# File 'generated/google/apis/pagespeedonline_v5/classes.rb', line 681 def initialize(**args) update!(**args) end |
Instance Attribute Details
#analysis_utc_timestamp ⇒ String
The UTC timestamp of this analysis.
Corresponds to the JSON property analysisUTCTimestamp
643 644 645 |
# File 'generated/google/apis/pagespeedonline_v5/classes.rb', line 643 def @analysis_utc_timestamp end |
#captcha_result ⇒ String
The captcha verify result
Corresponds to the JSON property captchaResult
648 649 650 |
# File 'generated/google/apis/pagespeedonline_v5/classes.rb', line 648 def captcha_result @captcha_result end |
#id ⇒ String
Canonicalized and final URL for the document, after following page redirects (
if any).
Corresponds to the JSON property id
654 655 656 |
# File 'generated/google/apis/pagespeedonline_v5/classes.rb', line 654 def id @id end |
#kind ⇒ String
Kind of result.
Corresponds to the JSON property kind
659 660 661 |
# File 'generated/google/apis/pagespeedonline_v5/classes.rb', line 659 def kind @kind end |
#lighthouse_result ⇒ Google::Apis::PagespeedonlineV5::LighthouseResultV5
Lighthouse response for the audit url as an object.
Corresponds to the JSON property lighthouseResult
664 665 666 |
# File 'generated/google/apis/pagespeedonline_v5/classes.rb', line 664 def lighthouse_result @lighthouse_result end |
#loading_experience ⇒ Google::Apis::PagespeedonlineV5::PagespeedApiLoadingExperienceV5
Metrics of end users' page loading experience.
Corresponds to the JSON property loadingExperience
669 670 671 |
# File 'generated/google/apis/pagespeedonline_v5/classes.rb', line 669 def loading_experience @loading_experience end |
#origin_loading_experience ⇒ Google::Apis::PagespeedonlineV5::PagespeedApiLoadingExperienceV5
Metrics of the aggregated page loading experience of the origin
Corresponds to the JSON property originLoadingExperience
674 675 676 |
# File 'generated/google/apis/pagespeedonline_v5/classes.rb', line 674 def origin_loading_experience @origin_loading_experience end |
#version ⇒ Google::Apis::PagespeedonlineV5::PagespeedApiPagespeedResponseV5::Version
The version of PageSpeed used to generate these results.
Corresponds to the JSON property version
679 680 681 |
# File 'generated/google/apis/pagespeedonline_v5/classes.rb', line 679 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
686 687 688 689 690 691 692 693 694 695 |
# File 'generated/google/apis/pagespeedonline_v5/classes.rb', line 686 def update!(**args) @analysis_utc_timestamp = args[:analysis_utc_timestamp] if args.key?(:analysis_utc_timestamp) @captcha_result = args[:captcha_result] if args.key?(:captcha_result) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @lighthouse_result = args[:lighthouse_result] if args.key?(:lighthouse_result) @loading_experience = args[:loading_experience] if args.key?(:loading_experience) @origin_loading_experience = args[:origin_loading_experience] if args.key?(:origin_loading_experience) @version = args[:version] if args.key?(:version) end |