Class: Google::Apis::BooksV1::Volume::SearchInfo
- Inherits:
-
Object
- Object
- Google::Apis::BooksV1::Volume::SearchInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/books_v1/classes.rb,
generated/google/apis/books_v1/representations.rb,
generated/google/apis/books_v1/representations.rb
Overview
Search result information related to this volume.
Instance Attribute Summary collapse
-
#text_snippet ⇒ String
A text snippet containing the search query.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SearchInfo
constructor
A new instance of SearchInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SearchInfo
Returns a new instance of SearchInfo
3358 3359 3360 |
# File 'generated/google/apis/books_v1/classes.rb', line 3358 def initialize(**args) update!(**args) end |
Instance Attribute Details
#text_snippet ⇒ String
A text snippet containing the search query.
Corresponds to the JSON property textSnippet
3356 3357 3358 |
# File 'generated/google/apis/books_v1/classes.rb', line 3356 def text_snippet @text_snippet end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3363 3364 3365 |
# File 'generated/google/apis/books_v1/classes.rb', line 3363 def update!(**args) @text_snippet = args[:text_snippet] if args.key?(:text_snippet) end |