class Google::Apis::CustomsearchV1::Promotion::BodyLine

Block object belonging to a promotion.

Attributes

html_title[RW]

The block object's text in HTML, if it has text. Corresponds to the JSON property `htmlTitle` @return [String]

title[RW]

The block object's text, if it has text. Corresponds to the JSON property `title` @return [String]

url[RW]

The URL of the block object's link, if it has one. Corresponds to the JSON property `url` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/customsearch_v1/classes.rb, line 104
def update!(**args)
  @html_title = args[:html_title] if args.key?(:html_title)
  @link = args[:link] if args.key?(:link)
  @title = args[:title] if args.key?(:title)
  @url = args[:url] if args.key?(:url)
end