Skip to content

Commit

Permalink
feat(securitycenter): update the API
Browse files Browse the repository at this point in the history
#### securitycenter:v1beta1
The following keys were added:
- schemas.Binding.properties.bindingId.type

#### securitycenter:v1
The following keys were added:
- schemas.Binding.properties.bindingId.type
  • Loading branch information
yoshi-automation authored and JustinBeckwith committed Nov 4, 2020
1 parent 0a85f29 commit 6e1df3a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
5 changes: 4 additions & 1 deletion discovery/securitycenter-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1056,7 +1056,7 @@
}
}
},
"revision": "20200925",
"revision": "20201030",
"rootUrl": "https://securitycenter.googleapis.com/",
"schemas": {
"Asset": {
Expand Down Expand Up @@ -1179,6 +1179,9 @@
"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: 4 additions & 1 deletion discovery/securitycenter-v1beta1.json
Original file line number Diff line number Diff line change
Expand Up @@ -896,7 +896,7 @@
}
}
},
"revision": "20200925",
"revision": "20201030",
"rootUrl": "https://securitycenter.googleapis.com/",
"schemas": {
"Asset": {
Expand Down Expand Up @@ -1015,6 +1015,9 @@
"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: 1 addition & 0 deletions src/apis/securitycenter/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ 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: 1 addition & 0 deletions src/apis/securitycenter/v1beta1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ 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 6e1df3a

Please sign in to comment.