class Google::Apis::AdsenseV1_4::AdStyle::Font

The font which is included in the style.

Attributes

family[RW]

The family of the font. Corresponds to the JSON property `family` @return [String]

size[RW]

The size of the font. Corresponds to the JSON property `size` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/adsense_v1_4/classes.rb, line 330
def update!(**args)
  @family = args[:family] if args.key?(:family)
  @size = args[:size] if args.key?(:size)
end