Skip to content

Commit

Permalink
feat(securitycenter)!: update the API
Browse files Browse the repository at this point in the history
BREAKING CHANGE: This release has breaking changes.
#### securitycenter:v1beta1
The following keys were deleted:
- schemas.Binding.properties.bindingId.type

#### securitycenter:v1
The following keys were deleted:
- schemas.Binding.properties.bindingId.type
  • Loading branch information
yoshi-automation authored and sofisl committed Nov 11, 2020
1 parent 1a693a2 commit a9cce23
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 10 deletions.
5 changes: 1 addition & 4 deletions discovery/securitycenter-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1056,7 +1056,7 @@
}
}
},
"revision": "20201030",
"revision": "20201106",
"rootUrl": "https://securitycenter.googleapis.com/",
"schemas": {
"Asset": {
Expand Down Expand Up @@ -1179,9 +1179,6 @@
"description": "Associates `members` with a `role`.",
"id": "Binding",
"properties": {
"bindingId": {
"type": "string"
},
"condition": {
"$ref": "Expr",
"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the members in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)."
Expand Down
5 changes: 1 addition & 4 deletions discovery/securitycenter-v1beta1.json
Original file line number Diff line number Diff line change
Expand Up @@ -896,7 +896,7 @@
}
}
},
"revision": "20201030",
"revision": "20201106",
"rootUrl": "https://securitycenter.googleapis.com/",
"schemas": {
"Asset": {
Expand Down Expand Up @@ -1015,9 +1015,6 @@
"description": "Associates `members` with a `role`.",
"id": "Binding",
"properties": {
"bindingId": {
"type": "string"
},
"condition": {
"$ref": "Expr",
"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the members in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)."
Expand Down
1 change: 0 additions & 1 deletion src/apis/securitycenter/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,6 @@ export namespace securitycenter_v1 {
* Associates `members` with a `role`.
*/
export interface Schema$Binding {
bindingId?: string | null;
/**
* The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the members in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
*/
Expand Down
1 change: 0 additions & 1 deletion src/apis/securitycenter/v1beta1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,6 @@ export namespace securitycenter_v1beta1 {
* Associates `members` with a `role`.
*/
export interface Schema$Binding {
bindingId?: string | null;
/**
* The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the members in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
*/
Expand Down

0 comments on commit a9cce23

Please sign in to comment.