class Google::Apis::AdsensehostV4_1::AdStyle::Colors

The colors 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 generated/google/apis/adsensehost_v4_1/classes.rb, line 270
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 275
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