class Google::Apis::PagespeedonlineV2::Result::PageStats
Summary statistics for the page, such as number of JavaScript bytes, number of HTML bytes, etc.
Attributes
Number of uncompressed response bytes for CSS resources on the page. Corresponds to the JSON property `cssResponseBytes` @return [String]
Number of response bytes for flash resources on the page. Corresponds to the JSON property `flashResponseBytes` @return [String]
Number of uncompressed response bytes for the main HTML document and all iframes on the page. Corresponds to the JSON property `htmlResponseBytes` @return [String]
Number of response bytes for image resources on the page. Corresponds to the JSON property `imageResponseBytes` @return [String]
Number of uncompressed response bytes for JS resources on the page. Corresponds to the JSON property `javascriptResponseBytes` @return [String]
Number of CSS resources referenced by the page. Corresponds to the JSON property `numberCssResources` @return [Fixnum]
Number of unique hosts referenced by the page. Corresponds to the JSON property `numberHosts` @return [Fixnum]
Number of JavaScript resources referenced by the page. Corresponds to the JSON property `numberJsResources` @return [Fixnum]
Number of HTTP resources loaded by the page. Corresponds to the JSON property `numberResources` @return [Fixnum]
Number of static (i.e. cacheable) resources on the page. Corresponds to the JSON property `numberStaticResources` @return [Fixnum]
Number of response bytes for other resources on the page. Corresponds to the JSON property `otherResponseBytes` @return [String]
Number of uncompressed response bytes for text resources not covered by other statistics (i.e non-HTML, non-script, non-CSS resources) on the page. Corresponds to the JSON property `textResponseBytes` @return [String]
Total size of all request bytes sent by the page. Corresponds to the JSON property `totalRequestBytes` @return [String]
Public Class Methods
# File generated/google/apis/pagespeedonline_v2/classes.rb, line 543 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/pagespeedonline_v2/classes.rb, line 548 def update!(**args) @css_response_bytes = args[:css_response_bytes] if args.key?(:css_response_bytes) @flash_response_bytes = args[:flash_response_bytes] if args.key?(:flash_response_bytes) @html_response_bytes = args[:html_response_bytes] if args.key?(:html_response_bytes) @image_response_bytes = args[:image_response_bytes] if args.key?(:image_response_bytes) @javascript_response_bytes = args[:javascript_response_bytes] if args.key?(:javascript_response_bytes) @number_css_resources = args[:number_css_resources] if args.key?(:number_css_resources) @number_hosts = args[:number_hosts] if args.key?(:number_hosts) @number_js_resources = args[:number_js_resources] if args.key?(:number_js_resources) @number_resources = args[:number_resources] if args.key?(:number_resources) @number_static_resources = args[:number_static_resources] if args.key?(:number_static_resources) @other_response_bytes = args[:other_response_bytes] if args.key?(:other_response_bytes) @text_response_bytes = args[:text_response_bytes] if args.key?(:text_response_bytes) @total_request_bytes = args[:total_request_bytes] if args.key?(:total_request_bytes) end