def ListProjects(service):
 projects = service.projects().list().execute()
 logging.info(json.dumps(projects, indent=2))

def ListProjects ( service ) : projects = service . projects ( ) . list ( ) . execute ( ) logging . info ( json . dumps ( projects , indent = 2 ) )
list the projects available to the authorized account .