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

Resource Manager can't be used on a global basis #864

Closed
stephenplusplus opened this issue Sep 15, 2015 · 5 comments
Closed

Resource Manager can't be used on a global basis #864

stephenplusplus opened this issue Sep 15, 2015 · 5 comments
Assignees
Labels
status: blocked Resolving the issue is dependent on other work.

Comments

@stephenplusplus
Copy link
Contributor

Resource Manager support was integrated in #860, but with many limitations:

these methods [are] currently implemented and unit tested, but not exposed to our docs:

  • resource.createProject
  • project.delete
  • project.restore
  • project.setMetadata

Right now, Resource Manager can only get a list of projects from a user and the metadata for them. Other operations (the ones above) return a 403.

@stephenplusplus
Copy link
Contributor Author

Carrying this over from #851:

Yea, creating right now can only be done by a "person". In Python, this works by first running gcloud auth login on the command-line.

Does gcloud-node pick up the Cloud SDK's credentials in the same way? If so, these will work nicely.

Eventually, service accounts will be able to create projects, but that isn't the case yet.

- @jgeewax

We do support the gcloud sdk's credentials (thanks to google-auth-library), but it still returns "The caller does not have permission" when trying to create a project. To confirm the credentials are being picked up, after doing gcloud auth revoke, the same API call returns "invalid_grant" instead.

@stephenplusplus stephenplusplus added the status: blocked Resolving the issue is dependent on other work. label Oct 1, 2015
@stephenplusplus
Copy link
Contributor Author

@jgeewax maybe a whitelisting issue? Project ID is nth-circlet-705.

@jgeewax
Copy link
Contributor

jgeewax commented Oct 10, 2015

Give it a try now?

@jgeewax jgeewax assigned stephenplusplus and unassigned jgeewax Oct 10, 2015
@stephenplusplus
Copy link
Contributor Author

It works! So, I guess since this is just an issue of the API being officially released, there's nothing left to do with the codebase.

@jgeewax
Copy link
Contributor

jgeewax commented Oct 10, 2015 via email

sofisl pushed a commit that referenced this issue Nov 11, 2022
sofisl pushed a commit that referenced this issue Jan 17, 2023
This PR was generated using Autosynth. 🌈

Synth log will be available here:
https://source.cloud.google.com/results/invocations/3ab4095b-0974-4516-aab6-99038956a6bc/targets

- [ ] To automatically regenerate this PR, check this box.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: blocked Resolving the issue is dependent on other work.
Projects
None yet
Development

No branches or pull requests

2 participants