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.
270 271 272 |
# File 'lib/google/apis/areainsights_v1/classes.rb', line 270 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
268 269 270 |
# File 'lib/google/apis/areainsights_v1/classes.rb', line 268 def place @place end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
275 276 277 |
# File 'lib/google/apis/areainsights_v1/classes.rb', line 275 def update!(**args) @place = args[:place] if args.key?(:place) end |