code: def get_quota_remaining(self):
          
          api = self._get_api(billing.DefaultApi)
          quota = api.get_service_package_quota()
          return None if quota is None else int(quota.quota)
docs: Get the remaining value