Class: Google::Apis::AreainsightsV1::Region
- Inherits:
-
Object
- Object
- Google::Apis::AreainsightsV1::Region
- 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
A region is a geographic boundary such as: cities, postal codes, counties, states, etc.
Instance Attribute Summary collapse
-
#place ⇒ String
The place ID of the geographic region.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Region
constructor
A new instance of Region.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Region
Returns a new instance of Region.
344 345 346 |
# File 'lib/google/apis/areainsights_v1/classes.rb', line 344 def initialize(**args) update!(**args) end |
Instance Attribute Details
#place ⇒ String
The place ID of the geographic region. Not all region types are supported;
see documentation for details. Format: Must be in the format places/
PLACE_ID, where PLACE_ID is the unique identifier of a place. For example:
places/ChIJPV4oX_65j4ARVW8IJ6IJUYs.
Corresponds to the JSON property place
342 343 344 |
# File 'lib/google/apis/areainsights_v1/classes.rb', line 342 def place @place end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
349 350 351 |
# File 'lib/google/apis/areainsights_v1/classes.rb', line 349 def update!(**args) @place = args[:place] if args.key?(:place) end |