docs: def get_share_metadata(self, share_name, timeout=None):
          '''
          Returns all user-defined metadata for the specified share.
  
          :param str share_name:
              Name of existing share.
          :param int timeout:
              The timeout parameter is expressed in seconds.
          :return:
              A dictionary representing the share metadata name, value pairs.
          :rtype: a dict mapping str to str
          '''
          _validate_not_none('share_name', share_name)
          request = HTTPRequest()
          request.method = 'GET'
          request.host = self._get_host()
          request.path = _get_path(share_name)
          request.query = [
              ('restype', 'share'),
              ('comp', 'metadata'),
              ('timeout', _int_to_str(timeout)),
          ]
  
          response = self._perform_request(request)
          return _parse_metadata(response)