class Google::Apis::CustomsearchV1::Result
Attributes
Corresponds to the JSON property `cacheId` @return [String]
Corresponds to the JSON property `displayLink` @return [String]
Corresponds to the JSON property `fileFormat` @return [String]
Corresponds to the JSON property `formattedUrl` @return [String]
Corresponds to the JSON property `htmlFormattedUrl` @return [String]
Corresponds to the JSON property `htmlSnippet` @return [String]
Corresponds to the JSON property `htmlTitle` @return [String]
Corresponds to the JSON property `image` @return [Google::Apis::CustomsearchV1::Result::Image]
Corresponds to the JSON property `kind` @return [String]
Corresponds to the JSON property `labels` @return [Array<Google::Apis::CustomsearchV1::Result::Label>]
Corresponds to the JSON property `link` @return [String]
Corresponds to the JSON property `mime` @return [String]
Corresponds to the JSON property `pagemap` @return [Hash<String,Array<Hash<String,Object>>>]
Corresponds to the JSON property `snippet` @return [String]
Corresponds to the JSON property `title` @return [String]
Public Class Methods
# File generated/google/apis/customsearch_v1/classes.rb, line 512 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/customsearch_v1/classes.rb, line 517 def update!(**args) @cache_id = args[:cache_id] if args.key?(:cache_id) @display_link = args[:display_link] if args.key?(:display_link) @file_format = args[:file_format] if args.key?(:file_format) @formatted_url = args[:formatted_url] if args.key?(:formatted_url) @html_formatted_url = args[:html_formatted_url] if args.key?(:html_formatted_url) @html_snippet = args[:html_snippet] if args.key?(:html_snippet) @html_title = args[:html_title] if args.key?(:html_title) @image = args[:image] if args.key?(:image) @kind = args[:kind] if args.key?(:kind) @labels = args[:labels] if args.key?(:labels) @link = args[:link] if args.key?(:link) @mime = args[:mime] if args.key?(:mime) @pagemap = args[:pagemap] if args.key?(:pagemap) @snippet = args[:snippet] if args.key?(:snippet) @title = args[:title] if args.key?(:title) end