Class: Google::Apis::AreainsightsV1::Region

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

A region is a geographic boundary such as: cities, postal codes, counties, states, etc.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#placeString

The unique identifier of a specific geographic region. Corresponds to the JSON property place

Returns:

  • (String)


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