class Google::Apis::AdsenseV1_4::AdStyle::Colors
The colors which are included in the style. These are represented as six hexadecimal characters, similar to HTML color codes, but without the leading hash.
Attributes
background[RW]
The color of the ad background. Corresponds to the JSON property `background` @return [String]
border[RW]
The color of the ad border. Corresponds to the JSON property `border` @return [String]
text[RW]
The color of the ad text. Corresponds to the JSON property `text` @return [String]
title[RW]
The color of the ad title. Corresponds to the JSON property `title` @return [String]
url[RW]
The color of the ad url. Corresponds to the JSON property `url` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/adsense_v1_4/classes.rb, line 309 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/adsense_v1_4/classes.rb, line 314 def update!(**args) @background = args[:background] if args.key?(:background) @border = args[:border] if args.key?(:border) @text = args[:text] if args.key?(:text) @title = args[:title] if args.key?(:title) @url = args[:url] if args.key?(:url) end