Class: Google::Apis::AreainsightsV1::PlaceInsight
- Inherits:
-
Object
- Object
- Google::Apis::AreainsightsV1::PlaceInsight
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/areainsights_v1/classes.rb,
lib/google/apis/areainsights_v1/representations.rb,
lib/google/apis/areainsights_v1/representations.rb
Overview
Holds information about a place
Instance Attribute Summary collapse
-
#place ⇒ String
The unique identifier of the place.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PlaceInsight
constructor
A new instance of PlaceInsight.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PlaceInsight
Returns a new instance of PlaceInsight.
268 269 270 |
# File 'lib/google/apis/areainsights_v1/classes.rb', line 268 def initialize(**args) update!(**args) end |
Instance Attribute Details
#place ⇒ String
The unique identifier of the place. This resource name can be used to retrieve
details about the place using the Places API.
Corresponds to the JSON property place
266 267 268 |
# File 'lib/google/apis/areainsights_v1/classes.rb', line 266 def place @place end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
273 274 275 |
# File 'lib/google/apis/areainsights_v1/classes.rb', line 273 def update!(**args) @place = args[:place] if args.key?(:place) end |