  def ListComputeRegions(self) -> List[str]:
    """List Compute regions in the project

    Returns:
      List of all regions.
    """
    gce_regions_client = self.GceApi().regions() # pylint: disable=no-member
    responses = common.ExecuteRequest(
        gce_regions_client, 'list', {'project': self.project_id})
    # Unpack responses, response.get('items') returns a list of regions.
    regions = []
    for response in responses:
      regions.extend(response.get('items', []))
    return [region['name'] for region in regions]
List Compute regions in the project

Returns:
List of all regions.
libcloudforensics/providers/gcp/internal/compute.py