code: def update_configuration(self, configuration):
          
          return self._client.update(configuration, uri=self.URI + "/configuration")
docs: Updates the metrics configuration with the new values. Overwrites the existing configuration.
  
          Args:
              configuration (dict):
                  Dictionary with a list of objects which contain frequency, sample interval, and source type for each
                  resource-type.
  
          Returns:
              dict: The current configuration for which metrics are being relayed.