class Google::Apis::BooksV1::GeoLayerData::Common

Attributes

lang[RW]

The language of the information url and description. Corresponds to the JSON property `lang` @return [String]

preview_image_url[RW]

The URL for the preview image information. Corresponds to the JSON property `previewImageUrl` @return [String]

snippet[RW]

The description for this location. Corresponds to the JSON property `snippet` @return [String]

snippet_url[RW]

The URL for information for this location. Ex: wikipedia link. Corresponds to the JSON property `snippetUrl` @return [String]

title[RW]

The display title and localized canonical name to use when searching for this entity on Google search. Corresponds to the JSON property `title` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/books_v1/classes.rb, line 1776
def update!(**args)
  @lang = args[:lang] if args.key?(:lang)
  @preview_image_url = args[:preview_image_url] if args.key?(:preview_image_url)
  @snippet = args[:snippet] if args.key?(:snippet)
  @snippet_url = args[:snippet_url] if args.key?(:snippet_url)
  @title = args[:title] if args.key?(:title)
end