From b98923c27b49c62712eb681dbf543ca272d4b8b3 Mon Sep 17 00:00:00 2001 From: Justin Beckwith Date: Mon, 5 Oct 2020 13:15:10 -0700 Subject: [PATCH] feat(spanner): update the API #### spanner:v1 The following keys were added: - schemas.Binding.properties.bindingId.description - schemas.Binding.properties.bindingId.type --- discovery/spanner-v1.json | 6 +++++- src/apis/spanner/v1.ts | 4 ++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/discovery/spanner-v1.json b/discovery/spanner-v1.json index 9e55d282f8..fb3289e637 100644 --- a/discovery/spanner-v1.json +++ b/discovery/spanner-v1.json @@ -1895,7 +1895,7 @@ } } }, - "revision": "20200807", + "revision": "20200916", "rootUrl": "https://spanner.googleapis.com/", "schemas": { "Backup": { @@ -2018,6 +2018,10 @@ "description": "Associates `members` with a `role`.", "id": "Binding", "properties": { + "bindingId": { + "description": "A client-specified ID for this binding. Expected to be globally unique to support the internal bindings-by-ID API.", + "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/spanner/v1.ts b/src/apis/spanner/v1.ts index f39c356add..7d409ded2d 100644 --- a/src/apis/spanner/v1.ts +++ b/src/apis/spanner/v1.ts @@ -212,6 +212,10 @@ export namespace spanner_v1 { * Associates `members` with a `role`. */ export interface Schema$Binding { + /** + * A client-specified ID for this binding. Expected to be globally unique to support the internal bindings-by-ID API. + */ + 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). */