List the tables in a given project. Args: service: The service object built by the Google API Python client library. project_id: string, id of the GME project.
(service, project_id)
| 75 | |
| 76 | |
| 77 | def ListTables(service, project_id): |
| 78 | """List the tables in a given project. |
| 79 | |
| 80 | Args: |
| 81 | service: The service object built by the Google API Python client library. |
| 82 | project_id: string, id of the GME project. |
| 83 | """ |
| 84 | |
| 85 | tables = service.tables().list(projectId=project_id).execute() |
| 86 | logging.info(json.dumps(tables, indent=2)) |
| 87 | |
| 88 | |
| 89 | def UploadShapefile(service, project_id, shapefile_prefix): |