def GetAndValidateMetadata(self):
    if not self._metadata:
      self._metadata = self._GetMetadata()
    for key in self.REQUIRED_METADATA:
      if not self._metadata.get(key, None):
        raise MetadataError('Required metadata is not found: %s' % key)
Retrieves attributes about this queue object and returns
dataset/ETHPy150Open google/cauliflowervest/src/cauliflowervest/client/base_client.py/CauliflowerVestClient.GetAndValidateMetadata--crossover with--dataset/ETHPy150Open darcyliu/storyboard/boto/sqs/queue.py/Queue.get_attributes