From 9acb1ae6b4f17b0d510b7a115fa43a7752938c96 Mon Sep 17 00:00:00 2001 From: yoshi-automation Date: Thu, 11 Jun 2020 04:36:18 -0700 Subject: [PATCH] fix(binaryauthorization): update the API #### binaryauthorization:v1 The following keys were changed: - schemas.Policy.properties.clusterAdmissionRules.description --- discovery/binaryauthorization-v1.json | 4 ++-- src/apis/binaryauthorization/v1.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/discovery/binaryauthorization-v1.json b/discovery/binaryauthorization-v1.json index a77e22a15e..4f965b482f 100644 --- a/discovery/binaryauthorization-v1.json +++ b/discovery/binaryauthorization-v1.json @@ -494,7 +494,7 @@ } } }, - "revision": "20200515", + "revision": "20200605", "rootUrl": "https://binaryauthorization.googleapis.com/", "schemas": { "AdmissionRule": { @@ -750,7 +750,7 @@ "additionalProperties": { "$ref": "AdmissionRule" }, - "description": "Optional. LINT.IfChange(cluster_regex)\nPer-cluster admission rules. Cluster spec format:\n`location.clusterId`. There can be at most one admission rule per cluster\nspec.\nA `location` is either a compute zone (e.g. us-central1-a) or a region\n(e.g. us-central1).\nFor `clusterId` syntax restrictions see\nhttps://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.\nLINT.ThenChange(//depot/google3/cloud/console/web/binary_authorization/api/models/admission_rule_type.ts:cluster_regex)", + "description": "Optional. Per-cluster admission rules. Cluster spec format:\n`location.clusterId`. There can be at most one admission rule per cluster\nspec.\nA `location` is either a compute zone (e.g. us-central1-a) or a region\n(e.g. us-central1).\nFor `clusterId` syntax restrictions see\nhttps://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.", "type": "object" }, "defaultAdmissionRule": { diff --git a/src/apis/binaryauthorization/v1.ts b/src/apis/binaryauthorization/v1.ts index ac033328e0..bccda2ee19 100644 --- a/src/apis/binaryauthorization/v1.ts +++ b/src/apis/binaryauthorization/v1.ts @@ -289,7 +289,7 @@ export namespace binaryauthorization_v1 { */ admissionWhitelistPatterns?: Schema$AdmissionWhitelistPattern[]; /** - * Optional. LINT.IfChange(cluster_regex) Per-cluster admission rules. Cluster spec format: `location.clusterId`. There can be at most one admission rule per cluster spec. A `location` is either a compute zone (e.g. us-central1-a) or a region (e.g. us-central1). For `clusterId` syntax restrictions see https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters. LINT.ThenChange(//depot/google3/cloud/console/web/binary_authorization/api/models/admission_rule_type.ts:cluster_regex) + * Optional. Per-cluster admission rules. Cluster spec format: `location.clusterId`. There can be at most one admission rule per cluster spec. A `location` is either a compute zone (e.g. us-central1-a) or a region (e.g. us-central1). For `clusterId` syntax restrictions see https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters. */ clusterAdmissionRules?: {[key: string]: Schema$AdmissionRule} | null; /**