Class: Google::Apis::AreainsightsV1::PlaceInsight

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#placeString

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

Returns:

  • (String)


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