class Google::Apis::AdsensehostV4_1::AdStyle
Attributes
colors[RW]
The colors included in the style. These are represented as six hexadecimal characters, similar to HTML color codes, but without the leading hash. Corresponds to the JSON property `colors` @return [Google::Apis::AdsensehostV4_1::AdStyle::Colors]
corners[RW]
The style of the corners in the ad (deprecated: never populated, ignored). Corresponds to the JSON property `corners` @return [String]
font[RW]
The font which is included in the style. Corresponds to the JSON property `font` @return [Google::Apis::AdsensehostV4_1::AdStyle::Font]
kind[RW]
Kind this is, in this case adsensehost#adStyle. Corresponds to the JSON property `kind` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/adsensehost_v4_1/classes.rb, line 227 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/adsensehost_v4_1/classes.rb, line 232 def update!(**args) @colors = args[:colors] if args.key?(:colors) @corners = args[:corners] if args.key?(:corners) @font = args[:font] if args.key?(:font) @kind = args[:kind] if args.key?(:kind) end