The method projects.list provides details on the API call to request Google Computer Engine "projects". Is it possible to do this also with libcloud? I haven't found any reference in the documentation nor the source code, so I think it's not possible straight away.
If that's the case, could anyone provide some help on how this could be implemented? Initializing GCENodeDriver
is not an option because it requires a project to be provided. However, when initializing it with a proper project, I could use the connection
reference it contains. But so far, my attempts to issue a
response = conn.request('https://cloudresourcemanager.googleapis.com/v1/projects', method='GET')
didn't result in anything useful
(
libcloud.common.google.ResourceNotFoundError: u'Not Found'
).
I wonder if I can use the same authentication for this call (using service account and authentication json file). Any help is appreciated.