Class: Google::Apis::CivicinfoV2::CivicinfoApiprotosV2DivisionByAddressResponse
- Inherits:
-
Object
- Object
- Google::Apis::CivicinfoV2::CivicinfoApiprotosV2DivisionByAddressResponse
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/civicinfo_v2/classes.rb,
lib/google/apis/civicinfo_v2/representations.rb,
lib/google/apis/civicinfo_v2/representations.rb
Instance Attribute Summary collapse
-
#divisions ⇒ Hash<String,Google::Apis::CivicinfoV2::CivicinfoSchemaV2GeographicDivision>
Corresponds to the JSON property
divisions. -
#normalized_input ⇒ Google::Apis::CivicinfoV2::CivicinfoSchemaV2SimpleAddressType
A simple representation of an address.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CivicinfoApiprotosV2DivisionByAddressResponse
constructor
A new instance of CivicinfoApiprotosV2DivisionByAddressResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CivicinfoApiprotosV2DivisionByAddressResponse
Returns a new instance of CivicinfoApiprotosV2DivisionByAddressResponse.
39 40 41 |
# File 'lib/google/apis/civicinfo_v2/classes.rb', line 39 def initialize(**args) update!(**args) end |
Instance Attribute Details
#divisions ⇒ Hash<String,Google::Apis::CivicinfoV2::CivicinfoSchemaV2GeographicDivision>
Corresponds to the JSON property divisions
32 33 34 |
# File 'lib/google/apis/civicinfo_v2/classes.rb', line 32 def divisions @divisions end |
#normalized_input ⇒ Google::Apis::CivicinfoV2::CivicinfoSchemaV2SimpleAddressType
A simple representation of an address.
Corresponds to the JSON property normalizedInput
37 38 39 |
# File 'lib/google/apis/civicinfo_v2/classes.rb', line 37 def normalized_input @normalized_input end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
44 45 46 47 |
# File 'lib/google/apis/civicinfo_v2/classes.rb', line 44 def update!(**args) @divisions = args[:divisions] if args.key?(:divisions) @normalized_input = args[:normalized_input] if args.key?(:normalized_input) end |