Class: Google::Apis::BooksV1::GeoLayerData::Common
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::BooksV1::GeoLayerData::Common
 
- 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
Instance Attribute Summary collapse
- 
  
    
      #lang  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The language of the information url and description. 
- 
  
    
      #preview_image_url  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The URL for the preview image information. 
- 
  
    
      #snippet  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The description for this location. 
- 
  
    
      #snippet_url  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The URL for information for this location. 
- 
  
    
      #title  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The display title and localized canonical name to use when searching for this entity on Google search. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Common 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Common. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Common
Returns a new instance of Common
| 1683 1684 1685 | # File 'generated/google/apis/books_v1/classes.rb', line 1683 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#lang ⇒ String
The language of the information url and description.
Corresponds to the JSON property lang
| 1660 1661 1662 | # File 'generated/google/apis/books_v1/classes.rb', line 1660 def lang @lang end | 
#preview_image_url ⇒ String
The URL for the preview image information.
Corresponds to the JSON property previewImageUrl
| 1665 1666 1667 | # File 'generated/google/apis/books_v1/classes.rb', line 1665 def preview_image_url @preview_image_url end | 
#snippet ⇒ String
The description for this location.
Corresponds to the JSON property snippet
| 1670 1671 1672 | # File 'generated/google/apis/books_v1/classes.rb', line 1670 def snippet @snippet end | 
#snippet_url ⇒ String
The URL for information for this location. Ex: wikipedia link.
Corresponds to the JSON property snippetUrl
| 1675 1676 1677 | # File 'generated/google/apis/books_v1/classes.rb', line 1675 def snippet_url @snippet_url end | 
#title ⇒ String
The display title and localized canonical name to use when searching for this
entity on Google search.
Corresponds to the JSON property title
| 1681 1682 1683 | # File 'generated/google/apis/books_v1/classes.rb', line 1681 def title @title end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1688 1689 1690 1691 1692 1693 1694 | # File 'generated/google/apis/books_v1/classes.rb', line 1688 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 |