Class: Google::Apis::AdsensehostV4_1::AdStyle::Font
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::AdsensehostV4_1::AdStyle::Font
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/adsensehost_v4_1/classes.rb,
generated/google/apis/adsensehost_v4_1/representations.rb,
generated/google/apis/adsensehost_v4_1/representations.rb 
Overview
The font which is included in the style.
Instance Attribute Summary collapse
- 
  
    
      #family  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The family of the font.
 - 
  
    
      #size  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The size of the font.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Font 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of Font.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Font
Returns a new instance of Font
      299 300 301  | 
    
      # File 'generated/google/apis/adsensehost_v4_1/classes.rb', line 299 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#family ⇒ String
The family of the font. Possible values are: ACCOUNT_DEFAULT_FAMILY,
ADSENSE_DEFAULT_FAMILY, ARIAL, TIMES and VERDANA.
Corresponds to the JSON property family
      291 292 293  | 
    
      # File 'generated/google/apis/adsensehost_v4_1/classes.rb', line 291 def family @family end  | 
  
#size ⇒ String
The size of the font. Possible values are: ACCOUNT_DEFAULT_SIZE,
ADSENSE_DEFAULT_SIZE, SMALL, MEDIUM and LARGE.
Corresponds to the JSON property size
      297 298 299  | 
    
      # File 'generated/google/apis/adsensehost_v4_1/classes.rb', line 297 def size @size end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      304 305 306 307  | 
    
      # File 'generated/google/apis/adsensehost_v4_1/classes.rb', line 304 def update!(**args) @family = args[:family] if args.key?(:family) @size = args[:size] if args.key?(:size) end  |