Class: Google::Apis::WebfontsV1::WebfontList
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::WebfontsV1::WebfontList
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/webfonts_v1/classes.rb,
 generated/google/apis/webfonts_v1/representations.rb,
 generated/google/apis/webfonts_v1/representations.rb
Instance Attribute Summary collapse
- 
  
    
      #items  ⇒ Array<Google::Apis::WebfontsV1::Webfont> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The list of fonts currently served by the Google Fonts API. 
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    This kind represents a list of webfont objects in the webfonts service. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ WebfontList 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of WebfontList. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ WebfontList
Returns a new instance of WebfontList
| 101 102 103 | # File 'generated/google/apis/webfonts_v1/classes.rb', line 101 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#items ⇒ Array<Google::Apis::WebfontsV1::Webfont>
The list of fonts currently served by the Google Fonts API.
Corresponds to the JSON property items
| 94 95 96 | # File 'generated/google/apis/webfonts_v1/classes.rb', line 94 def items @items end | 
#kind ⇒ String
This kind represents a list of webfont objects in the webfonts service.
Corresponds to the JSON property kind
| 99 100 101 | # File 'generated/google/apis/webfonts_v1/classes.rb', line 99 def kind @kind end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 106 107 108 109 | # File 'generated/google/apis/webfonts_v1/classes.rb', line 106 def update!(**args) @items = args[:items] if args.key?(:items) @kind = args[:kind] if args.key?(:kind) end |