Create API for GCE Metadata #302

Closed
JustinBeckwith opened this Issue Oct 27, 2015 · 3 comments

Comments

Projects
None yet
4 participants
Member

JustinBeckwith commented Oct 27, 2015

There's a great metadata service for getting access to information on the VM. It would be great to have a structured API for this:
https://cloud.google.com/compute/docs/metadata?hl=en

Contributor

mziccard commented Oct 27, 2015

That would be nice indeed. I think we will investigate this as part of #85.
The only "issue" I see is that gcloud-java is meant to provide access to Google Cloud services from everywhere while the GCE metadata API is only available from inside a GCE VM, right?
But we can always add this support and document it's only available from a GCE VM (throws exception otherwise). How does this sound?

It would be great to have such API to get rid of manual metadata retrieving and don't forget to support "wait-for-change" feature.

Member

garrettjonesgoogle commented Jul 18, 2017

Requests for new clients are being tracked internally. Closing out this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment