code: def configure(api_key=None):
      """
      Configure access to the GoogleMaps API.
  
      :param api_key: String denoting the key to use when accessing Google maps,
          or None to not pass an API key.
      """
      configuration = {"api_key": api_key}
      global _default_configuration
      _default_configuration = configuration
  
imports: import ipywidgets
  from traitlets import Unicode, default, List, Instance, observe, Dict, HasTraits, Enum, Union
  from .bounds import merge_longitude_bounds
  from .geotraitlets import Point, ZoomLevel, MapType, MouseHandling, Tilt
  from ._docutils import doc_subst
  from ._version import CLIENT_VERSION
label_desc: Use image node_id 1 for calling a global function with example usage: configure(api_key) without return types