List the projects available to the authorized account. Args: service: The service object built by the Google API Python client library.
(service)
| 65 | |
| 66 | |
| 67 | def ListProjects(service): |
| 68 | """List the projects available to the authorized account. |
| 69 | |
| 70 | Args: |
| 71 | service: The service object built by the Google API Python client library. |
| 72 | """ |
| 73 | projects = service.projects().list().execute() |
| 74 | logging.info(json.dumps(projects, indent=2)) |
| 75 | |
| 76 | |
| 77 | def ListTables(service, project_id): |