code: async def list_all_active_projects(self, page_size=1000):
          
          url = f'{self.BASE_URL}/{self.api_version}/projects'
          params = {'pageSize': page_size}
  
          responses = await self.list_all(url, params)
          projects = self._parse_rsps_for_projects(responses)
          return [
              project for project in projects
              if project.get('lifecycleState', '').lower() == 'active'
          ]
docs: Get all active projects.
  
          You can find the endpoint documentation `here <https://cloud.
          google.com/resource-manager/reference/rest/v1/projects/list>`__.
  
          Args:
              page_size (int): hint for the client to only retrieve up to
                  this number of results per API call.
          Returns:
              list(dicts): all active projects