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

Attributes

html_title[RW]

Corresponds to the JSON property `htmlTitle` @return [String]

title[RW]

Corresponds to the JSON property `title` @return [String]

url[RW]

Corresponds to the JSON property `url` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/customsearch_v1/classes.rb, line 158
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