code: def _get_ids_from_name_public(self, name):
          
          results = self.list_public_images(name=name)
          return [result['id'] for result in results]
docs: Get public images which match the given name.