Skip to content

Commit

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

The following keys were changed:
- auth.oauth2.scopes.https://www.googleapis.com/auth/cloud-platform.description

#### servicecontrol:v2

The following keys were changed:
- auth.oauth2.scopes.https://www.googleapis.com/auth/cloud-platform.description
- schemas.CheckResponse.properties.status.description
  • Loading branch information
yoshi-automation authored and sofisl committed Apr 5, 2021
1 parent e249b5e commit 086d79e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions discovery/servicecontrol-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"oauth2": {
"scopes": {
"https://www.googleapis.com/auth/cloud-platform": {
"description": "View and manage your data across Google Cloud Platform services"
"description": "See, edit, configure, and delete your Google Cloud Platform data"
},
"https://www.googleapis.com/auth/servicecontrol": {
"description": "Manage your Google Service Control data"
Expand Down Expand Up @@ -197,7 +197,7 @@
}
}
},
"revision": "20210226",
"revision": "20210326",
"rootUrl": "https://servicecontrol.googleapis.com/",
"schemas": {
"AllocateInfo": {
Expand Down
6 changes: 3 additions & 3 deletions discovery/servicecontrol-v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"oauth2": {
"scopes": {
"https://www.googleapis.com/auth/cloud-platform": {
"description": "View and manage your data across Google Cloud Platform services"
"description": "See, edit, configure, and delete your Google Cloud Platform data"
},
"https://www.googleapis.com/auth/servicecontrol": {
"description": "Manage your Google Service Control data"
Expand Down Expand Up @@ -169,7 +169,7 @@
}
}
},
"revision": "20210226",
"revision": "20210326",
"rootUrl": "https://servicecontrol.googleapis.com/",
"schemas": {
"Api": {
Expand Down Expand Up @@ -465,7 +465,7 @@
},
"status": {
"$ref": "Status",
"description": "An 'OK' status allows the operation. Any other status indicates a denial; [google.rpc.Status.details]() would contain additional details about the denial."
"description": "Operation is allowed when this field is not set. Any non-'OK' status indicates a denial; [google.rpc.Status.details]() would contain additional details about the denial."
}
},
"type": "object"
Expand Down
4 changes: 2 additions & 2 deletions src/apis/servicecontrol/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
**Note**: Google provides multiple libraries for this service. This library is in
maintenance mode, and will continue to be made available for users who have
existing applications. If you're building a new application, or modernizing a
legacy application, please use [](https://www.npmjs.com/package/) instead.
The [](https://www.npmjs.com/package/) library is faster, easier to use, and better maintained.
legacy application, please use [@google-cloud/service-control](https://www.npmjs.com/package/@google-cloud/service-control) instead.
The [@google-cloud/service-control](https://www.npmjs.com/package/@google-cloud/service-control) library is faster, easier to use, and better maintained.

To learn more, see [Client Libraries Explained](https://cloud.google.com/apis/docs/client-libraries-explained).

Expand Down
2 changes: 1 addition & 1 deletion src/apis/servicecontrol/v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ export namespace servicecontrol_v2 {
*/
headers?: {[key: string]: string} | null;
/**
* An 'OK' status allows the operation. Any other status indicates a denial; [google.rpc.Status.details]() would contain additional details about the denial.
* Operation is allowed when this field is not set. Any non-'OK' status indicates a denial; [google.rpc.Status.details]() would contain additional details about the denial.
*/
status?: Schema$Status;
}
Expand Down

0 comments on commit 086d79e

Please sign in to comment.