MCPcopy Index your code
hub / github.com/googleapis/google-api-python-client / ListProjects

Function ListProjects

samples/maps_engine/maps_engine.py:67–74  ·  view source on GitHub ↗

List the projects available to the authorized account. Args: service: The service object built by the Google API Python client library.

(service)

Source from the content-addressed store, hash-verified

65
66
67def 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
77def ListTables(service, project_id):

Callers 1

mainFunction · 0.85

Calls 2

infoMethod · 0.80
executeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…