Skip to content

Commit

Permalink
feat(oslogin): update the API
Browse files Browse the repository at this point in the history
#### oslogin:v1

The following keys were added:
- auth.oauth2.scopes.https://www.googleapis.com/auth/cloud-platform.read-only.description
- auth.oauth2.scopes.https://www.googleapis.com/auth/compute.readonly.description

The following keys were changed:
- resources.users.methods.getLoginProfile.scopes
  • Loading branch information
yoshi-automation authored and JustinBeckwith committed Sep 28, 2021
1 parent 4141c3b commit bd0d94e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
12 changes: 10 additions & 2 deletions discovery/oslogin-v1.json
Expand Up @@ -5,8 +5,14 @@
"https://www.googleapis.com/auth/cloud-platform": {
"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account."
},
"https://www.googleapis.com/auth/cloud-platform.read-only": {
"description": "View your data across Google Cloud services and see the email address of your Google Account"
},
"https://www.googleapis.com/auth/compute": {
"description": "View and manage your Google Compute Engine resources"
},
"https://www.googleapis.com/auth/compute.readonly": {
"description": "View your Google Compute Engine resources"
}
}
}
Expand Down Expand Up @@ -143,7 +149,9 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/compute"
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/compute",
"https://www.googleapis.com/auth/compute.readonly"
]
},
"importSshPublicKey": {
Expand Down Expand Up @@ -306,7 +314,7 @@
}
}
},
"revision": "20210813",
"revision": "20210920",
"rootUrl": "https://oslogin.googleapis.com/",
"schemas": {
"Empty": {
Expand Down
2 changes: 2 additions & 0 deletions src/apis/oslogin/v1.ts
Expand Up @@ -260,7 +260,9 @@ export namespace oslogin_v1 {
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: [
* 'https://www.googleapis.com/auth/cloud-platform',
* 'https://www.googleapis.com/auth/cloud-platform.read-only',
* 'https://www.googleapis.com/auth/compute',
* 'https://www.googleapis.com/auth/compute.readonly',
* ],
* });
*
Expand Down

0 comments on commit bd0d94e

Please sign in to comment.