Class: Google::Apis::MybusinessV3::PlaceInfo
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::MybusinessV3::PlaceInfo
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/mybusiness_v3/classes.rb,
 generated/google/apis/mybusiness_v3/representations.rb,
 generated/google/apis/mybusiness_v3/representations.rb
Overview
Defines an area that's represented by a place ID.
Instance Attribute Summary collapse
- 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The localized name of the place. 
- 
  
    
      #place_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The ID of the place. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ PlaceInfo 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of PlaceInfo. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ PlaceInfo
Returns a new instance of PlaceInfo
| 1463 1464 1465 | # File 'generated/google/apis/mybusiness_v3/classes.rb', line 1463 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#name ⇒ String
The localized name of the place. For example, Scottsdale, AZ.
Corresponds to the JSON property name
| 1456 1457 1458 | # File 'generated/google/apis/mybusiness_v3/classes.rb', line 1456 def name @name end | 
#place_id ⇒ String
The ID of the place.
Corresponds to the JSON property placeId
| 1461 1462 1463 | # File 'generated/google/apis/mybusiness_v3/classes.rb', line 1461 def place_id @place_id end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1468 1469 1470 1471 | # File 'generated/google/apis/mybusiness_v3/classes.rb', line 1468 def update!(**args) @name = args[:name] if args.key?(:name) @place_id = args[:place_id] if args.key?(:place_id) end |