Class: Google::Apis::DiscoveryV1::DirectoryList::Item::Icons
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::DiscoveryV1::DirectoryList::Item::Icons
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/discovery_v1/classes.rb,
 generated/google/apis/discovery_v1/representations.rb,
 generated/google/apis/discovery_v1/representations.rb
Overview
Links to 16x16 and 32x32 icons representing the API.
Instance Attribute Summary collapse
- 
  
    
      #x16  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The URL of the 16x16 icon. 
- 
  
    
      #x32  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The URL of the 32x32 icon. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Icons 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Icons. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Icons
Returns a new instance of Icons
| 154 155 156 | # File 'generated/google/apis/discovery_v1/classes.rb', line 154 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#x16 ⇒ String
The URL of the 16x16 icon.
Corresponds to the JSON property x16
| 147 148 149 | # File 'generated/google/apis/discovery_v1/classes.rb', line 147 def x16 @x16 end | 
#x32 ⇒ String
The URL of the 32x32 icon.
Corresponds to the JSON property x32
| 152 153 154 | # File 'generated/google/apis/discovery_v1/classes.rb', line 152 def x32 @x32 end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 159 160 161 162 | # File 'generated/google/apis/discovery_v1/classes.rb', line 159 def update!(**args) @x16 = args[:x16] if args.key?(:x16) @x32 = args[:x32] if args.key?(:x32) end |