From 5fc5e0af92e399863916d05ede97ccc578b859fe Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Wed, 26 Jan 2022 22:14:22 +0000 Subject: [PATCH] chore: update v2.12.0 gapic-generator-typescript (#207) - [ ] Regenerate this pull request now. Committer: @summer-ji-eng PiperOrigin-RevId: 424244721 Source-Link: https://github.com/googleapis/googleapis/commit/4b6b01f507ebc3df95fdf8e1d76b0ae0ae33e52c Source-Link: https://github.com/googleapis/googleapis-gen/commit/8ac83fba606d008c7e8a42e7d55b6596ec4be35f Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOGFjODNmYmE2MDZkMDA4YzdlOGE0MmU3ZDU1YjY1OTZlYzRiZTM1ZiJ9 --- packages/google-cloud-billing/.jsdoc.js | 4 ++-- packages/google-cloud-billing/linkinator.config.json | 10 ++++++++-- .../v1/cloud_billing.create_billing_account.js | 1 + .../generated/v1/cloud_billing.get_billing_account.js | 1 + .../generated/v1/cloud_billing.get_iam_policy.js | 1 + .../v1/cloud_billing.get_project_billing_info.js | 1 + .../v1/cloud_billing.list_billing_accounts.js | 6 ++++-- .../v1/cloud_billing.list_project_billing_info.js | 3 ++- .../generated/v1/cloud_billing.set_iam_policy.js | 1 + .../generated/v1/cloud_billing.test_iam_permissions.js | 1 + .../v1/cloud_billing.update_billing_account.js | 1 + .../v1/cloud_billing.update_project_billing_info.js | 1 + .../generated/v1/cloud_catalog.list_services.js | 6 ++++-- .../samples/generated/v1/cloud_catalog.list_skus.js | 3 ++- .../src/v1/cloud_billing_client.ts | 2 +- .../src/v1/cloud_catalog_client.ts | 2 +- packages/google-cloud-billing/src/v1/index.ts | 2 +- .../system-test/fixtures/sample/src/index.js | 2 +- .../system-test/fixtures/sample/src/index.ts | 2 +- packages/google-cloud-billing/system-test/install.ts | 2 +- .../test/gapic_cloud_billing_v1.ts | 2 +- .../test/gapic_cloud_catalog_v1.ts | 2 +- 22 files changed, 38 insertions(+), 18 deletions(-) diff --git a/packages/google-cloud-billing/.jsdoc.js b/packages/google-cloud-billing/.jsdoc.js index be80b46b0bd..a1fe10efe19 100644 --- a/packages/google-cloud-billing/.jsdoc.js +++ b/packages/google-cloud-billing/.jsdoc.js @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -40,7 +40,7 @@ module.exports = { includePattern: '\\.js$' }, templates: { - copyright: 'Copyright 2021 Google LLC', + copyright: 'Copyright 2022 Google LLC', includeDate: false, sourceFiles: false, systemName: '@google-cloud/billing', diff --git a/packages/google-cloud-billing/linkinator.config.json b/packages/google-cloud-billing/linkinator.config.json index 0121dfa684f..befd23c8633 100644 --- a/packages/google-cloud-billing/linkinator.config.json +++ b/packages/google-cloud-billing/linkinator.config.json @@ -3,8 +3,14 @@ "skip": [ "https://codecov.io/gh/googleapis/", "www.googleapis.com", - "img.shields.io" + "img.shields.io", + "https://console.cloud.google.com/cloudshell", + "https://support.google.com" ], "silent": true, - "concurrency": 5 + "concurrency": 5, + "retry": true, + "retryErrors": true, + "retryErrorsCount": 5, + "retryErrorsJitter": 3000 } diff --git a/packages/google-cloud-billing/samples/generated/v1/cloud_billing.create_billing_account.js b/packages/google-cloud-billing/samples/generated/v1/cloud_billing.create_billing_account.js index 3d7407c7f99..fecf344b33a 100644 --- a/packages/google-cloud-billing/samples/generated/v1/cloud_billing.create_billing_account.js +++ b/packages/google-cloud-billing/samples/generated/v1/cloud_billing.create_billing_account.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(billingAccount) { diff --git a/packages/google-cloud-billing/samples/generated/v1/cloud_billing.get_billing_account.js b/packages/google-cloud-billing/samples/generated/v1/cloud_billing.get_billing_account.js index 7330019b05a..1cb29dbb4ac 100644 --- a/packages/google-cloud-billing/samples/generated/v1/cloud_billing.get_billing_account.js +++ b/packages/google-cloud-billing/samples/generated/v1/cloud_billing.get_billing_account.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/packages/google-cloud-billing/samples/generated/v1/cloud_billing.get_iam_policy.js b/packages/google-cloud-billing/samples/generated/v1/cloud_billing.get_iam_policy.js index 06917f909a1..0d2608c7c07 100644 --- a/packages/google-cloud-billing/samples/generated/v1/cloud_billing.get_iam_policy.js +++ b/packages/google-cloud-billing/samples/generated/v1/cloud_billing.get_iam_policy.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(resource) { diff --git a/packages/google-cloud-billing/samples/generated/v1/cloud_billing.get_project_billing_info.js b/packages/google-cloud-billing/samples/generated/v1/cloud_billing.get_project_billing_info.js index c083d69296e..7a516838b10 100644 --- a/packages/google-cloud-billing/samples/generated/v1/cloud_billing.get_project_billing_info.js +++ b/packages/google-cloud-billing/samples/generated/v1/cloud_billing.get_project_billing_info.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/packages/google-cloud-billing/samples/generated/v1/cloud_billing.list_billing_accounts.js b/packages/google-cloud-billing/samples/generated/v1/cloud_billing.list_billing_accounts.js index 4e688c90f86..9d514b78e96 100644 --- a/packages/google-cloud-billing/samples/generated/v1/cloud_billing.list_billing_accounts.js +++ b/packages/google-cloud-billing/samples/generated/v1/cloud_billing.list_billing_accounts.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main() { @@ -48,12 +49,13 @@ function main() { async function callListBillingAccounts() { // Construct request - const request = {}; + const request = { + }; // Run request const iterable = await billingClient.listBillingAccountsAsync(request); for await (const response of iterable) { - console.log(response); + console.log(response); } } diff --git a/packages/google-cloud-billing/samples/generated/v1/cloud_billing.list_project_billing_info.js b/packages/google-cloud-billing/samples/generated/v1/cloud_billing.list_project_billing_info.js index e815441b64d..480a899f493 100644 --- a/packages/google-cloud-billing/samples/generated/v1/cloud_billing.list_project_billing_info.js +++ b/packages/google-cloud-billing/samples/generated/v1/cloud_billing.list_project_billing_info.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { @@ -51,7 +52,7 @@ function main(name) { // Run request const iterable = await billingClient.listProjectBillingInfoAsync(request); for await (const response of iterable) { - console.log(response); + console.log(response); } } diff --git a/packages/google-cloud-billing/samples/generated/v1/cloud_billing.set_iam_policy.js b/packages/google-cloud-billing/samples/generated/v1/cloud_billing.set_iam_policy.js index b39e886ac8e..d5310890b6b 100644 --- a/packages/google-cloud-billing/samples/generated/v1/cloud_billing.set_iam_policy.js +++ b/packages/google-cloud-billing/samples/generated/v1/cloud_billing.set_iam_policy.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(resource, policy) { diff --git a/packages/google-cloud-billing/samples/generated/v1/cloud_billing.test_iam_permissions.js b/packages/google-cloud-billing/samples/generated/v1/cloud_billing.test_iam_permissions.js index 687cf31efe7..de6b0f58cea 100644 --- a/packages/google-cloud-billing/samples/generated/v1/cloud_billing.test_iam_permissions.js +++ b/packages/google-cloud-billing/samples/generated/v1/cloud_billing.test_iam_permissions.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(resource, permissions) { diff --git a/packages/google-cloud-billing/samples/generated/v1/cloud_billing.update_billing_account.js b/packages/google-cloud-billing/samples/generated/v1/cloud_billing.update_billing_account.js index 1634285bbde..a014b620888 100644 --- a/packages/google-cloud-billing/samples/generated/v1/cloud_billing.update_billing_account.js +++ b/packages/google-cloud-billing/samples/generated/v1/cloud_billing.update_billing_account.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name, account) { diff --git a/packages/google-cloud-billing/samples/generated/v1/cloud_billing.update_project_billing_info.js b/packages/google-cloud-billing/samples/generated/v1/cloud_billing.update_project_billing_info.js index 7ba1106757a..5f40a9fd252 100644 --- a/packages/google-cloud-billing/samples/generated/v1/cloud_billing.update_project_billing_info.js +++ b/packages/google-cloud-billing/samples/generated/v1/cloud_billing.update_project_billing_info.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/packages/google-cloud-billing/samples/generated/v1/cloud_catalog.list_services.js b/packages/google-cloud-billing/samples/generated/v1/cloud_catalog.list_services.js index 962af3b8ab1..4213e914632 100644 --- a/packages/google-cloud-billing/samples/generated/v1/cloud_catalog.list_services.js +++ b/packages/google-cloud-billing/samples/generated/v1/cloud_catalog.list_services.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main() { @@ -38,12 +39,13 @@ function main() { async function callListServices() { // Construct request - const request = {}; + const request = { + }; // Run request const iterable = await billingClient.listServicesAsync(request); for await (const response of iterable) { - console.log(response); + console.log(response); } } diff --git a/packages/google-cloud-billing/samples/generated/v1/cloud_catalog.list_skus.js b/packages/google-cloud-billing/samples/generated/v1/cloud_catalog.list_skus.js index 28278602f43..7d39ef17514 100644 --- a/packages/google-cloud-billing/samples/generated/v1/cloud_catalog.list_skus.js +++ b/packages/google-cloud-billing/samples/generated/v1/cloud_catalog.list_skus.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent) { @@ -74,7 +75,7 @@ function main(parent) { // Run request const iterable = await billingClient.listSkusAsync(request); for await (const response of iterable) { - console.log(response); + console.log(response); } } diff --git a/packages/google-cloud-billing/src/v1/cloud_billing_client.ts b/packages/google-cloud-billing/src/v1/cloud_billing_client.ts index 5a3c98f7f03..d1a8d61071e 100644 --- a/packages/google-cloud-billing/src/v1/cloud_billing_client.ts +++ b/packages/google-cloud-billing/src/v1/cloud_billing_client.ts @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-billing/src/v1/cloud_catalog_client.ts b/packages/google-cloud-billing/src/v1/cloud_catalog_client.ts index 3a442f7b2d8..5abede40784 100644 --- a/packages/google-cloud-billing/src/v1/cloud_catalog_client.ts +++ b/packages/google-cloud-billing/src/v1/cloud_catalog_client.ts @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-billing/src/v1/index.ts b/packages/google-cloud-billing/src/v1/index.ts index 188a628d1e6..def6d7cf917 100644 --- a/packages/google-cloud-billing/src/v1/index.ts +++ b/packages/google-cloud-billing/src/v1/index.ts @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-billing/system-test/fixtures/sample/src/index.js b/packages/google-cloud-billing/system-test/fixtures/sample/src/index.js index 575d6a7e3d9..c710a66c652 100644 --- a/packages/google-cloud-billing/system-test/fixtures/sample/src/index.js +++ b/packages/google-cloud-billing/system-test/fixtures/sample/src/index.js @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-billing/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-billing/system-test/fixtures/sample/src/index.ts index 8453df928f5..08be974583e 100644 --- a/packages/google-cloud-billing/system-test/fixtures/sample/src/index.ts +++ b/packages/google-cloud-billing/system-test/fixtures/sample/src/index.ts @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-billing/system-test/install.ts b/packages/google-cloud-billing/system-test/install.ts index d2d61c0396f..6dd1eaadafa 100644 --- a/packages/google-cloud-billing/system-test/install.ts +++ b/packages/google-cloud-billing/system-test/install.ts @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-billing/test/gapic_cloud_billing_v1.ts b/packages/google-cloud-billing/test/gapic_cloud_billing_v1.ts index 16834f80986..5b38c019802 100644 --- a/packages/google-cloud-billing/test/gapic_cloud_billing_v1.ts +++ b/packages/google-cloud-billing/test/gapic_cloud_billing_v1.ts @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-billing/test/gapic_cloud_catalog_v1.ts b/packages/google-cloud-billing/test/gapic_cloud_catalog_v1.ts index 0719ac3131a..03870cd4b9e 100644 --- a/packages/google-cloud-billing/test/gapic_cloud_catalog_v1.ts +++ b/packages/google-cloud-billing/test/gapic_cloud_catalog_v1.ts @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License.