From 6e1df3ae4fe5593e6ebd1628aab0b6a40318d825 Mon Sep 17 00:00:00 2001 From: yoshi-automation Date: Wed, 4 Nov 2020 05:20:30 -0800 Subject: [PATCH] feat(securitycenter): update the API #### securitycenter:v1beta1 The following keys were added: - schemas.Binding.properties.bindingId.type #### securitycenter:v1 The following keys were added: - schemas.Binding.properties.bindingId.type --- discovery/securitycenter-v1.json | 5 ++++- discovery/securitycenter-v1beta1.json | 5 ++++- src/apis/securitycenter/v1.ts | 1 + src/apis/securitycenter/v1beta1.ts | 1 + 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/discovery/securitycenter-v1.json b/discovery/securitycenter-v1.json index bc69c3a81f..d1979afac3 100644 --- a/discovery/securitycenter-v1.json +++ b/discovery/securitycenter-v1.json @@ -1056,7 +1056,7 @@ } } }, - "revision": "20200925", + "revision": "20201030", "rootUrl": "https://securitycenter.googleapis.com/", "schemas": { "Asset": { @@ -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)." diff --git a/discovery/securitycenter-v1beta1.json b/discovery/securitycenter-v1beta1.json index 98673d1a93..fa86604cfc 100644 --- a/discovery/securitycenter-v1beta1.json +++ b/discovery/securitycenter-v1beta1.json @@ -896,7 +896,7 @@ } } }, - "revision": "20200925", + "revision": "20201030", "rootUrl": "https://securitycenter.googleapis.com/", "schemas": { "Asset": { @@ -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)." diff --git a/src/apis/securitycenter/v1.ts b/src/apis/securitycenter/v1.ts index af6e17f34b..a214d02217 100644 --- a/src/apis/securitycenter/v1.ts +++ b/src/apis/securitycenter/v1.ts @@ -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). */ diff --git a/src/apis/securitycenter/v1beta1.ts b/src/apis/securitycenter/v1beta1.ts index db894eb7ca..c21d17f27d 100644 --- a/src/apis/securitycenter/v1beta1.ts +++ b/src/apis/securitycenter/v1beta1.ts @@ -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). */