  def GetEnabled(self) -> List[Any]:
    """Get enabled services/APIs for a project.

    Returns:
      List[Any]: A list of enabled services/APIs.
    """

    services_client = self.GsuApi().services() # pylint: disable=no-member
    parent = 'projects/' + self.project_id
    request = {'parent': parent, 'filter': 'state:ENABLED'}
    responses = common.ExecuteRequest(services_client, 'list', request)

    services = []
    for response in responses:
      for service in response.get('services', []):
        services.append(service['config']['name'])

    return services
Get enabled services/APIs for a project.

Returns:
List[Any]: A list of enabled services/APIs.
libcloudforensics/providers/gcp/internal/serviceusage.py