GeezerVison is showing github.com — Implement IAM API · Issue #1192 · googleapis/google-cloud-node
DescriptionIAM is currently buried inside of our Pub/Sub code, but should be abstracted to be used with any API that supports it:
Activitydhermes commented on Mar 30, 2016 stephenplusplus commented on Apr 14, 2016 ContributorAuthor More actions stephenplusplus commented on Jul 13, 2016 ContributorAuthor More actions @jgeewax for the libraries that use gRPC, there are no IAM endpoints defined within each service's proto files. For an HTTP API like Compute, can you give me an example of a URL where you think I can find an IAM endpoint?
I've tried on an autoscaler to test, https://www.googleapis.com/compute/v1/projects/nth-circlet-705/zones/us-central1-a/autoscalers/gcloud-tests-autoscaler-1468433795482/getIamPolicy -- 404, but I'm not sure if that was a good guess for where I could find an IAM endpoint. jgeewax commented on Jul 14, 2016 stephenplusplus commented on Jul 14, 2016 ContributorAuthor More actions jgeewax commented on Jul 14, 2016 The demo looks like it's dealing with resource manager -- which you're
saying is giving you a cancelled error (in the issue), right?
For Logging, I don't see any IAM support there -- what resource are you
trying to :getIamPolicy on ? stephenplusplus commented on Jul 14, 2016 ContributorAuthor More actions
The demo looks like it's dealing with resource manager -- which you're
saying is giving you a cancelled error (in the issue), right?
Yeah, I just wanted to make the repo as easy as possible to reproduce, since everyone should have a "Project" resource (but maybe not a "Sink" or "Log", etc)
For Logging, I don't see any IAM support there -- what resource are you
trying to :getIamPolicy on ?
I don't see any IAM support either, which is what I'm saying... only Pub/Sub seems to have a way to use IAM. stephenplusplus commented on Jul 14, 2016 ContributorAuthor More actions I get a Not Implemented API error when I try to send this request to the Logging base URL:
var protoOpts = {
service: 'IAMPolicy',
method: 'getIamPolicy'
};
var reqOpts = {
resource: 'a/log/resource'
};jgeewax commented on Jul 14, 2016 Right -- the frame error for gRPC with IAM on Resource Manager is legit,
going to dig more.
The Logging piece... I don't believe it supports IAM. AKA, your work is
done for Logging.... If the REST methods aren't defined in the docs, then
it's not supported. jgeewax commented on Jul 14, 2016 Good - that's what's expected. stephenplusplus commented on Jul 14, 2016 ContributorAuthor More actions Cool, thanks for checking into this stuff! jgeewax commented on Jul 14, 2016 OK -- Resource Manager's docs are lying : they don't support gRPC today. Carry on. stephenplusplus commented on Dec 19, 2017 ContributorAuthor More actions
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|