Class: Google::Apis::PagespeedonlineV5::RendererFormattedStrings
- Inherits:
-
Object
- Object
- Google::Apis::PagespeedonlineV5::RendererFormattedStrings
- 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
Overview
Message holding the formatted strings used in the renderer.
Instance Attribute Summary collapse
-
#audit_group_expand_tooltip ⇒ String
The tooltip text on an expandable chevron icon.
-
#crc_initial_navigation ⇒ String
The label for the initial request in a critical request chain.
-
#crc_longest_duration_label ⇒ String
The label for values shown in the summary of critical request chains.
-
#error_label ⇒ String
The label shown next to an audit or metric that has had an error.
-
#error_missing_audit_info ⇒ String
The error string shown next to an erroring audit.
-
#lab_data_title ⇒ String
The title of the lab data performance category.
-
#ls_performance_category_description ⇒ String
The disclaimer shown under performance explaning that the network can vary.
-
#manual_audits_group_title ⇒ String
The heading shown above a list of audits that were not computerd in the run.
-
#not_applicable_audits_group_title ⇒ String
The heading shown above a list of audits that do not apply to a page.
-
#opportunity_resource_column_label ⇒ String
The heading for the estimated page load savings opportunity of an audit.
-
#opportunity_savings_column_label ⇒ String
The heading for the estimated page load savings of opportunity audits.
-
#passed_audits_group_title ⇒ String
The heading that is shown above a list of audits that are passing.
-
#scorescale_label ⇒ String
The label that explains the score gauges scale (0-49, 50-89, 90-100).
-
#toplevel_warnings_message ⇒ String
The label shown preceding important warnings that may have invalidated an entire report.
-
#variance_disclaimer ⇒ String
The disclaimer shown below a performance metric value.
-
#warning_header ⇒ String
The label shown above a bulleted list of warnings.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RendererFormattedStrings
constructor
A new instance of RendererFormattedStrings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RendererFormattedStrings
Returns a new instance of RendererFormattedStrings.
694 695 696 |
# File 'generated/google/apis/pagespeedonline_v5/classes.rb', line 694 def initialize(**args) update!(**args) end |
Instance Attribute Details
#audit_group_expand_tooltip ⇒ String
The tooltip text on an expandable chevron icon.
Corresponds to the JSON property auditGroupExpandTooltip
616 617 618 |
# File 'generated/google/apis/pagespeedonline_v5/classes.rb', line 616 def @audit_group_expand_tooltip end |
#crc_initial_navigation ⇒ String
The label for the initial request in a critical request chain.
Corresponds to the JSON property crcInitialNavigation
621 622 623 |
# File 'generated/google/apis/pagespeedonline_v5/classes.rb', line 621 def @crc_initial_navigation end |
#crc_longest_duration_label ⇒ String
The label for values shown in the summary of critical request chains.
Corresponds to the JSON property crcLongestDurationLabel
626 627 628 |
# File 'generated/google/apis/pagespeedonline_v5/classes.rb', line 626 def crc_longest_duration_label @crc_longest_duration_label end |
#error_label ⇒ String
The label shown next to an audit or metric that has had an error.
Corresponds to the JSON property errorLabel
631 632 633 |
# File 'generated/google/apis/pagespeedonline_v5/classes.rb', line 631 def error_label @error_label end |
#error_missing_audit_info ⇒ String
The error string shown next to an erroring audit.
Corresponds to the JSON property errorMissingAuditInfo
636 637 638 |
# File 'generated/google/apis/pagespeedonline_v5/classes.rb', line 636 def error_missing_audit_info @error_missing_audit_info end |
#lab_data_title ⇒ String
The title of the lab data performance category.
Corresponds to the JSON property labDataTitle
641 642 643 |
# File 'generated/google/apis/pagespeedonline_v5/classes.rb', line 641 def lab_data_title @lab_data_title end |
#ls_performance_category_description ⇒ String
The disclaimer shown under performance explaning that the network can vary.
Corresponds to the JSON property lsPerformanceCategoryDescription
646 647 648 |
# File 'generated/google/apis/pagespeedonline_v5/classes.rb', line 646 def ls_performance_category_description @ls_performance_category_description end |
#manual_audits_group_title ⇒ String
The heading shown above a list of audits that were not computerd in the run.
Corresponds to the JSON property manualAuditsGroupTitle
651 652 653 |
# File 'generated/google/apis/pagespeedonline_v5/classes.rb', line 651 def manual_audits_group_title @manual_audits_group_title end |
#not_applicable_audits_group_title ⇒ String
The heading shown above a list of audits that do not apply to a page.
Corresponds to the JSON property notApplicableAuditsGroupTitle
656 657 658 |
# File 'generated/google/apis/pagespeedonline_v5/classes.rb', line 656 def not_applicable_audits_group_title @not_applicable_audits_group_title end |
#opportunity_resource_column_label ⇒ String
The heading for the estimated page load savings opportunity of an audit.
Corresponds to the JSON property opportunityResourceColumnLabel
661 662 663 |
# File 'generated/google/apis/pagespeedonline_v5/classes.rb', line 661 def opportunity_resource_column_label @opportunity_resource_column_label end |
#opportunity_savings_column_label ⇒ String
The heading for the estimated page load savings of opportunity audits.
Corresponds to the JSON property opportunitySavingsColumnLabel
666 667 668 |
# File 'generated/google/apis/pagespeedonline_v5/classes.rb', line 666 def opportunity_savings_column_label @opportunity_savings_column_label end |
#passed_audits_group_title ⇒ String
The heading that is shown above a list of audits that are passing.
Corresponds to the JSON property passedAuditsGroupTitle
671 672 673 |
# File 'generated/google/apis/pagespeedonline_v5/classes.rb', line 671 def passed_audits_group_title @passed_audits_group_title end |
#scorescale_label ⇒ String
The label that explains the score gauges scale (0-49, 50-89, 90-100).
Corresponds to the JSON property scorescaleLabel
676 677 678 |
# File 'generated/google/apis/pagespeedonline_v5/classes.rb', line 676 def scorescale_label @scorescale_label end |
#toplevel_warnings_message ⇒ String
The label shown preceding important warnings that may have invalidated an
entire report.
Corresponds to the JSON property toplevelWarningsMessage
682 683 684 |
# File 'generated/google/apis/pagespeedonline_v5/classes.rb', line 682 def @toplevel_warnings_message end |
#variance_disclaimer ⇒ String
The disclaimer shown below a performance metric value.
Corresponds to the JSON property varianceDisclaimer
687 688 689 |
# File 'generated/google/apis/pagespeedonline_v5/classes.rb', line 687 def variance_disclaimer @variance_disclaimer end |
#warning_header ⇒ String
The label shown above a bulleted list of warnings.
Corresponds to the JSON property warningHeader
692 693 694 |
# File 'generated/google/apis/pagespeedonline_v5/classes.rb', line 692 def warning_header @warning_header end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 |
# File 'generated/google/apis/pagespeedonline_v5/classes.rb', line 699 def update!(**args) @audit_group_expand_tooltip = args[:audit_group_expand_tooltip] if args.key?(:audit_group_expand_tooltip) @crc_initial_navigation = args[:crc_initial_navigation] if args.key?(:crc_initial_navigation) @crc_longest_duration_label = args[:crc_longest_duration_label] if args.key?(:crc_longest_duration_label) @error_label = args[:error_label] if args.key?(:error_label) @error_missing_audit_info = args[:error_missing_audit_info] if args.key?(:error_missing_audit_info) @lab_data_title = args[:lab_data_title] if args.key?(:lab_data_title) @ls_performance_category_description = args[:ls_performance_category_description] if args.key?(:ls_performance_category_description) @manual_audits_group_title = args[:manual_audits_group_title] if args.key?(:manual_audits_group_title) @not_applicable_audits_group_title = args[:not_applicable_audits_group_title] if args.key?(:not_applicable_audits_group_title) @opportunity_resource_column_label = args[:opportunity_resource_column_label] if args.key?(:opportunity_resource_column_label) @opportunity_savings_column_label = args[:opportunity_savings_column_label] if args.key?(:opportunity_savings_column_label) @passed_audits_group_title = args[:passed_audits_group_title] if args.key?(:passed_audits_group_title) @scorescale_label = args[:scorescale_label] if args.key?(:scorescale_label) @toplevel_warnings_message = args[:toplevel_warnings_message] if args.key?(:toplevel_warnings_message) @variance_disclaimer = args[:variance_disclaimer] if args.key?(:variance_disclaimer) @warning_header = args[:warning_header] if args.key?(:warning_header) end |