code: def __init__(self, json_content):
      # flatten geometry
      geometry = json_content.get("geometry", {})
      self._location = geometry.get("location", {})
      self._location_type = geometry.get("location_type", {})
      self._viewport = geometry.get("viewport", {})
  
      # Parse address components with short & long names
      for item in json_content["address_components"]:
          for category in item["types"]:
              json_content.setdefault(category, {})
              json_content[category]["long_name"] = item["long_name"]
              json_content[category]["short_name"] = item["short_name"]
  
      # proceed with super.__init__
      super(GoogleResult, self).__init__(json_content)
  
imports: from __future__ import absolute_import
  import six
  from geocoder.base import OneResult, MultipleResultsQuery
  from geocoder.keys import google_key, google_client, google_client_secret
  from collections import OrderedDict
  import ratelim
label_desc: Use image node_id 1 to create a new GoogleResult object from inherited base classes: OneResult with example: obj = GoogleResult(json_content)