I'm trying to setup a node pool/cluster that includes the scopes for trace and pubsub, but the docs seems to leave both scopes out of the list.
https://cloud.google.com/sdk/gcloud/reference/compute/instances/create
I'm trying to setup a node pool/cluster that includes the scopes for trace and pubsub, but the docs seems to leave both scopes out of the list.
https://cloud.google.com/sdk/gcloud/reference/compute/instances/create
The documentation of the APIs should always mention the required OAuth scopes. Here's what I've found:
For Stackdriver Trace, the required OAuth scope is
https://www.googleapis.com/auth/trace.append
, documented e.g. in the Stackdriver Trace API documentation for patchTraces.For Cloud Pub/Sub, the required OAuth scope is
https://www.googleapis.com/auth/pubsub
, documented e.g. in the Cloud Pub/Sub API documentation for publish.