Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

computeMetadata API? #14722

Open
kbowling-bullish opened this issue Sep 20, 2024 · 1 comment
Open

computeMetadata API? #14722

kbowling-bullish opened this issue Sep 20, 2024 · 1 comment
Labels
type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@kbowling-bullish
Copy link

#14670 was closed as completed but I cannot find an implementation to verify completion.

Please note that this request is coming from the needs of a sizable corporate account.

@kbowling-bullish kbowling-bullish added the type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. label Sep 20, 2024
@scotthart
Copy link
Member

I would recommend that you contact your customer representative about this feature request. The compute related code in this SDK focuses on configuring GCE per the API defined here (https://cloud.google.com/compute/docs/reference/rest/v1).

You mention in your original issue that you want to do this without needing an HTTP or JSON library. I'm not aware of any other way to retrieve the metadata. In situations (typically authentication) where this SDK need to access the metadata, we do so using libcurl (HTTP) and nlohmann JSON (

auto response = DoMetadataServerGetRequest(
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

No branches or pull requests

2 participants