Skip to content

Commit

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

The following keys were added:
- resources.operations.methods.delete.scopes
- resources.operations.methods.list.scopes
  • Loading branch information
yoshi-automation authored and sofisl committed Apr 20, 2021
1 parent a3c219c commit 4a4182b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
12 changes: 9 additions & 3 deletions discovery/osconfig-v1.json
Expand Up @@ -127,7 +127,10 @@
"path": "v1/{+name}",
"response": {
"$ref": "Empty"
}
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `\"/v1/{name=users/*}/operations\"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.",
Expand Down Expand Up @@ -165,7 +168,10 @@
"path": "v1/{+name}",
"response": {
"$ref": "ListOperationsResponse"
}
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
},
Expand Down Expand Up @@ -470,7 +476,7 @@
}
}
},
"revision": "20210326",
"revision": "20210412",
"rootUrl": "https://osconfig.googleapis.com/",
"schemas": {
"AptSettings": {
Expand Down
4 changes: 2 additions & 2 deletions src/apis/osconfig/v1.ts
Expand Up @@ -1079,7 +1079,7 @@ export namespace osconfig_v1 {
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: [],
* scopes: ['https://www.googleapis.com/auth/cloud-platform'],
* });
*
* // Acquire an auth client, and bind it to all future calls
Expand Down Expand Up @@ -1203,7 +1203,7 @@ export namespace osconfig_v1 {
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: [],
* scopes: ['https://www.googleapis.com/auth/cloud-platform'],
* });
*
* // Acquire an auth client, and bind it to all future calls
Expand Down

0 comments on commit 4a4182b

Please sign in to comment.