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. Possible values are SQUARE, SLIGHTLY_ROUNDED and VERY_ROUNDED. 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 generated/google/apis/adsensehost_v4_1/classes.rb, line 228
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 233
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