From 5479819ca136e7230e41caa919754b3f6ffcfd22 Mon Sep 17 00:00:00 2001 From: wiktor2200 Date: Mon, 7 Jan 2019 12:43:21 +0100 Subject: [PATCH] Added missing `monitoring-read` scope This scope can be useful in read-only monitoring cases. it exists, so it can be used. --- google/service_scope.go | 1 + 1 file changed, 1 insertion(+) diff --git a/google/service_scope.go b/google/service_scope.go index c08da3c0c3c..26cc14b8041 100644 --- a/google/service_scope.go +++ b/google/service_scope.go @@ -15,6 +15,7 @@ func canonicalizeServiceScope(scope string) string { "datastore": "https://www.googleapis.com/auth/datastore", "logging-write": "https://www.googleapis.com/auth/logging.write", "monitoring": "https://www.googleapis.com/auth/monitoring", + "monitoring-read": "https://www.googleapis.com/auth/monitoring.read", "monitoring-write": "https://www.googleapis.com/auth/monitoring.write", "pubsub": "https://www.googleapis.com/auth/pubsub", "service-control": "https://www.googleapis.com/auth/servicecontrol",