class Google::Apis::AdsensehostV4_1::AdStyle::Font

The font which is included in the style.

Attributes

family[RW]

The family of the font. Possible values are: ACCOUNT_DEFAULT_FAMILY, ADSENSE_DEFAULT_FAMILY, ARIAL, TIMES and VERDANA. Corresponds to the JSON property `family` @return [String]

size[RW]

The size of the font. Possible values are: ACCOUNT_DEFAULT_SIZE, ADSENSE_DEFAULT_SIZE, SMALL, MEDIUM and LARGE. Corresponds to the JSON property `size` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

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