Stackdriver Trace和Cloud PubSub有哪些正确的Google Compute Engine范围?

我正在尝试设置包含trace和pubsub作用域的节点池/集群,但文档似乎将两个作用域都排除在列表之外。

https://cloud.google.com/sdk/gcloud/reference/compute/instances/create

API的文档应始终提及所需的OAuth范围。 这是我发现的:

对于Stackdriver跟踪,所需的OAuth范围是https://www.googleapis.com/auth/trace.append ,例如在用于patchTraces的Stackdriver Trace API文档中有logging 。

对于Cloud Pub / Sub,所需的OAuth范围为https://www.googleapis.com/auth/pubsub ,例如在Cloud Pub / Sub API文档中有logging,以供发布 。