Class: Google::Apis::BooksV1::Volume::SearchInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/books_v1/classes.rb,
lib/google/apis/books_v1/representations.rb,
lib/google/apis/books_v1/representations.rb

Overview

Search result information related to this volume.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SearchInfo

Returns a new instance of SearchInfo.



3576
3577
3578
# File 'lib/google/apis/books_v1/classes.rb', line 3576

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#text_snippetString

A text snippet containing the search query. Corresponds to the JSON property textSnippet

Returns:

  • (String)


3574
3575
3576
# File 'lib/google/apis/books_v1/classes.rb', line 3574

def text_snippet
  @text_snippet
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3581
3582
3583
# File 'lib/google/apis/books_v1/classes.rb', line 3581

def update!(**args)
  @text_snippet = args[:text_snippet] if args.key?(:text_snippet)
end