Class: Google::Apis::CustomsearchV1::Result
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::CustomsearchV1::Result
 
 
- Defined in:
 - generated/google/apis/customsearch_v1/classes.rb,
generated/google/apis/customsearch_v1/representations.rb,
generated/google/apis/customsearch_v1/representations.rb 
Defined Under Namespace
Instance Attribute Summary collapse
- 
  
    
      #cache_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Corresponds to the JSON property
cacheId. - 
  
    
      #display_link  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Corresponds to the JSON property
displayLink. - 
  
    
      #file_format  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Corresponds to the JSON property
fileFormat. - 
  
    
      #formatted_url  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Corresponds to the JSON property
formattedUrl. - 
  
    
      #html_formatted_url  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Corresponds to the JSON property
htmlFormattedUrl. - 
  
    
      #html_snippet  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Corresponds to the JSON property
htmlSnippet. - 
  
    
      #html_title  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Corresponds to the JSON property
htmlTitle. - 
  
    
      #image  ⇒ Google::Apis::CustomsearchV1::Result::Image 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Corresponds to the JSON property
image. - 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Corresponds to the JSON property
kind. - 
  
    
      #labels  ⇒ Array<Google::Apis::CustomsearchV1::Result::Label> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Corresponds to the JSON property
labels. - 
  
    
      #link  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Corresponds to the JSON property
link. - 
  
    
      #mime  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Corresponds to the JSON property
mime. - 
  
    
      #pagemap  ⇒ Hash<String,Array<Hash<String,Object>>> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Corresponds to the JSON property
pagemap. - 
  
    
      #snippet  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Corresponds to the JSON property
snippet. - 
  
    
      #title  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Corresponds to the JSON property
title. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Result 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of Result.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ Result
Returns a new instance of Result
      506 507 508  | 
    
      # File 'generated/google/apis/customsearch_v1/classes.rb', line 506 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#cache_id ⇒ String
Corresponds to the JSON property cacheId
      434 435 436  | 
    
      # File 'generated/google/apis/customsearch_v1/classes.rb', line 434 def cache_id @cache_id end  | 
  
#display_link ⇒ String
Corresponds to the JSON property displayLink
      439 440 441  | 
    
      # File 'generated/google/apis/customsearch_v1/classes.rb', line 439 def display_link @display_link end  | 
  
#file_format ⇒ String
Corresponds to the JSON property fileFormat
      444 445 446  | 
    
      # File 'generated/google/apis/customsearch_v1/classes.rb', line 444 def file_format @file_format end  | 
  
#formatted_url ⇒ String
Corresponds to the JSON property formattedUrl
      449 450 451  | 
    
      # File 'generated/google/apis/customsearch_v1/classes.rb', line 449 def formatted_url @formatted_url end  | 
  
#html_formatted_url ⇒ String
Corresponds to the JSON property htmlFormattedUrl
      454 455 456  | 
    
      # File 'generated/google/apis/customsearch_v1/classes.rb', line 454 def html_formatted_url @html_formatted_url end  | 
  
#html_snippet ⇒ String
Corresponds to the JSON property htmlSnippet
      459 460 461  | 
    
      # File 'generated/google/apis/customsearch_v1/classes.rb', line 459 def html_snippet @html_snippet end  | 
  
#html_title ⇒ String
Corresponds to the JSON property htmlTitle
      464 465 466  | 
    
      # File 'generated/google/apis/customsearch_v1/classes.rb', line 464 def html_title @html_title end  | 
  
#image ⇒ Google::Apis::CustomsearchV1::Result::Image
Corresponds to the JSON property image
      469 470 471  | 
    
      # File 'generated/google/apis/customsearch_v1/classes.rb', line 469 def image @image end  | 
  
#kind ⇒ String
Corresponds to the JSON property kind
      474 475 476  | 
    
      # File 'generated/google/apis/customsearch_v1/classes.rb', line 474 def kind @kind end  | 
  
#labels ⇒ Array<Google::Apis::CustomsearchV1::Result::Label>
Corresponds to the JSON property labels
      479 480 481  | 
    
      # File 'generated/google/apis/customsearch_v1/classes.rb', line 479 def labels @labels end  | 
  
#link ⇒ String
Corresponds to the JSON property link
      484 485 486  | 
    
      # File 'generated/google/apis/customsearch_v1/classes.rb', line 484 def link @link end  | 
  
#mime ⇒ String
Corresponds to the JSON property mime
      489 490 491  | 
    
      # File 'generated/google/apis/customsearch_v1/classes.rb', line 489 def mime @mime end  | 
  
#pagemap ⇒ Hash<String,Array<Hash<String,Object>>>
Corresponds to the JSON property pagemap
      494 495 496  | 
    
      # File 'generated/google/apis/customsearch_v1/classes.rb', line 494 def pagemap @pagemap end  | 
  
#snippet ⇒ String
Corresponds to the JSON property snippet
      499 500 501  | 
    
      # File 'generated/google/apis/customsearch_v1/classes.rb', line 499 def snippet @snippet end  | 
  
#title ⇒ String
Corresponds to the JSON property title
      504 505 506  | 
    
      # File 'generated/google/apis/customsearch_v1/classes.rb', line 504 def title @title end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527  | 
    
      # File 'generated/google/apis/customsearch_v1/classes.rb', line 511 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  |