Class: Google::Apis::PagespeedonlineV4::PagespeedApiFormatStringV4
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::PagespeedonlineV4::PagespeedApiFormatStringV4
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/pagespeedonline_v4/classes.rb,
generated/google/apis/pagespeedonline_v4/representations.rb,
generated/google/apis/pagespeedonline_v4/representations.rb 
Defined Under Namespace
Classes: Arg
Instance Attribute Summary collapse
- 
  
    
      #args  ⇒ Array<Google::Apis::PagespeedonlineV4::PagespeedApiFormatStringV4::Arg> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
List of arguments for the format string.
 - 
  
    
      #format  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A localized format string with
FOOplaceholders, where 'FOO' is the key of the argument whose value should be substituted. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ PagespeedApiFormatStringV4 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of PagespeedApiFormatStringV4.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ PagespeedApiFormatStringV4
Returns a new instance of PagespeedApiFormatStringV4
      42 43 44  | 
    
      # File 'generated/google/apis/pagespeedonline_v4/classes.rb', line 42 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#args ⇒ Array<Google::Apis::PagespeedonlineV4::PagespeedApiFormatStringV4::Arg>
List of arguments for the format string.
Corresponds to the JSON property args
      32 33 34  | 
    
      # File 'generated/google/apis/pagespeedonline_v4/classes.rb', line 32 def args @args end  | 
  
#format ⇒ String
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
      40 41 42  | 
    
      # File 'generated/google/apis/pagespeedonline_v4/classes.rb', line 40 def format @format end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      47 48 49 50  | 
    
      # File 'generated/google/apis/pagespeedonline_v4/classes.rb', line 47 def update!(**args) @args = args[:args] if args.key?(:args) @format = args[:format] if args.key?(:format) end  |