code: def SetLookupHash(self, lookup_hash):
      
      if lookup_hash not in self.SUPPORTED_HASHES:
        raise ValueError('Unsupported lookup hash: {0!s}'.format(lookup_hash))
  
      self.lookup_hash = lookup_hash
docs: Sets the hash to query.
  
      Args:
        lookup_hash (str): name of the hash attribute to look up.
  
      Raises:
        ValueError: if the lookup hash is not supported.