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 unique identifier of a specific 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.
338 339 340 |
# File 'lib/google/apis/areainsights_v1/classes.rb', line 338 def initialize(**args) update!(**args) end |
Instance Attribute Details
#place ⇒ String
The unique identifier of a specific geographic region.
Corresponds to the JSON property place
336 337 338 |
# File 'lib/google/apis/areainsights_v1/classes.rb', line 336 def place @place end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
343 344 345 |
# File 'lib/google/apis/areainsights_v1/classes.rb', line 343 def update!(**args) @place = args[:place] if args.key?(:place) end |