class Google::Apis::PagespeedonlineV2::FormatString

Attributes

args[RW]

List of arguments for the format string. Corresponds to the JSON property `args` @return [Array<Google::Apis::PagespeedonlineV2::FormatString::Arg>]

format[RW]

A localized format string with “FOO“ placeholders, where 'FOO' is the key of the argument whose value should be substituted. For HYPERLINK arguments, the format string will instead contain “BEGIN_FOO“ and “END_FOO“ for the argument with key 'FOO'. Corresponds to the JSON property `format` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/pagespeedonline_v2/classes.rb, line 42
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/pagespeedonline_v2/classes.rb, line 47
def update!(**args)
  @args = args[:args] if args.key?(:args)
  @format = args[:format] if args.key?(:format)
end