Update list of GCE service scope short names
This commit is contained in:
parent
54351885b6
commit
f23a8bfe4e
|
@ -5,16 +5,20 @@ func canonicalizeServiceScope(scope string) string {
|
||||||
// to the GCE auth endpoints they alias to.
|
// to the GCE auth endpoints they alias to.
|
||||||
scopeMap := map[string]string{
|
scopeMap := map[string]string{
|
||||||
"bigquery": "https://www.googleapis.com/auth/bigquery",
|
"bigquery": "https://www.googleapis.com/auth/bigquery",
|
||||||
|
"cloud-platform": "https://www.googleapis.com/auth/cloud-platform",
|
||||||
"compute-ro": "https://www.googleapis.com/auth/compute.readonly",
|
"compute-ro": "https://www.googleapis.com/auth/compute.readonly",
|
||||||
"compute-rw": "https://www.googleapis.com/auth/compute",
|
"compute-rw": "https://www.googleapis.com/auth/compute",
|
||||||
"datastore": "https://www.googleapis.com/auth/datastore",
|
"datastore": "https://www.googleapis.com/auth/datastore",
|
||||||
"logging-write": "https://www.googleapis.com/auth/logging.write",
|
"logging-write": "https://www.googleapis.com/auth/logging.write",
|
||||||
|
"monitoring": "https://www.googleapis.com/auth/monitoring",
|
||||||
"sql": "https://www.googleapis.com/auth/sqlservice",
|
"sql": "https://www.googleapis.com/auth/sqlservice",
|
||||||
"sql-admin": "https://www.googleapis.com/auth/sqlservice.admin",
|
"sql-admin": "https://www.googleapis.com/auth/sqlservice.admin",
|
||||||
"storage-full": "https://www.googleapis.com/auth/devstorage.full_control",
|
"storage-full": "https://www.googleapis.com/auth/devstorage.full_control",
|
||||||
"storage-ro": "https://www.googleapis.com/auth/devstorage.read_only",
|
"storage-ro": "https://www.googleapis.com/auth/devstorage.read_only",
|
||||||
"storage-rw": "https://www.googleapis.com/auth/devstorage.read_write",
|
"storage-rw": "https://www.googleapis.com/auth/devstorage.read_write",
|
||||||
"taskqueue": "https://www.googleapis.com/auth/taskqueue",
|
"taskqueue": "https://www.googleapis.com/auth/taskqueue",
|
||||||
|
"useraccounts-ro": "https://www.googleapis.com/auth/cloud.useraccounts.readonly",
|
||||||
|
"useraccounts-rw": "https://www.googleapis.com/auth/cloud.useraccounts",
|
||||||
"userinfo-email": "https://www.googleapis.com/auth/userinfo.email",
|
"userinfo-email": "https://www.googleapis.com/auth/userinfo.email",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue