From 1070cbb285a81f2ae3f76aa196e760e26cba1066 Mon Sep 17 00:00:00 2001 From: feywind <57276408+feywind@users.noreply.github.com> Date: Mon, 20 Apr 2026 17:43:11 -0400 Subject: [PATCH 01/11] build: move prettier config files to root from handwritten packages --- core/common/package.json | 2 +- core/packages/gaxios/package.json | 4 +- .../logging-utils/samples/package.json | 1 + .../samples/system-test/test.quickstart.ts | 6 +- .../logging-utils/samples/tsconfig.json | 4 +- handwritten/logging-bunyan/package.json | 9 +- handwritten/logging/package.json | 4 +- handwritten/pubsub/.eslintignore | 1 + handwritten/pubsub/bin/README.md | 4 +- handwritten/pubsub/test/publisher/index.ts | 8 + handwritten/pubsub/test/pubsub.ts | 218 ++++++++++-------- handwritten/pubsub/test/subscription.ts | 114 ++++----- 12 files changed, 207 insertions(+), 168 deletions(-) diff --git a/core/common/package.json b/core/common/package.json index 2c4463dc5216..9a61243762bc 100644 --- a/core/common/package.json +++ b/core/common/package.json @@ -41,7 +41,7 @@ "arrify": "^2.0.0", "duplexify": "^4.1.3", "extend": "^3.0.2", - "google-auth-library": "^10.0.0-rc.1", + "google-auth-library": "^10.6.2", "html-entities": "^2.5.2", "retry-request": "^8.0.0", "teeny-request": "^10.0.0" diff --git a/core/packages/gaxios/package.json b/core/packages/gaxios/package.json index 1c368af76698..8039ad36aea0 100644 --- a/core/packages/gaxios/package.json +++ b/core/packages/gaxios/package.json @@ -40,8 +40,8 @@ }, "repository": { "type": "git", - "directory": "packages/gaxios", - "url": "https://github.com/googleapis/google-cloud-node-core.git" + "directory": "core/packages/gaxios", + "url": "https://github.com/googleapis/google-cloud-node.git" }, "keywords": [ "google" diff --git a/core/packages/logging-utils/samples/package.json b/core/packages/logging-utils/samples/package.json index e2e9611563a4..b73be80981da 100644 --- a/core/packages/logging-utils/samples/package.json +++ b/core/packages/logging-utils/samples/package.json @@ -30,6 +30,7 @@ }, "devDependencies": { "@google-cloud/typeless-sample-bot": "^2.1.0", + "@types/node": "^25.6.0", "gts": "^5.0.0", "mocha": "^10.0.0" } diff --git a/core/packages/logging-utils/samples/system-test/test.quickstart.ts b/core/packages/logging-utils/samples/system-test/test.quickstart.ts index 37edb0abe06f..2dfc232b6b00 100644 --- a/core/packages/logging-utils/samples/system-test/test.quickstart.ts +++ b/core/packages/logging-utils/samples/system-test/test.quickstart.ts @@ -14,10 +14,10 @@ * limitations under the License. */ -import * as path from 'path'; -import * as assert from 'assert'; +import path from 'path'; +import assert from 'assert'; import {describe, it} from 'mocha'; -import * as cp from 'child_process'; +import cp from 'child_process'; const cwd = path.join(__dirname, '../..'); diff --git a/core/packages/logging-utils/samples/tsconfig.json b/core/packages/logging-utils/samples/tsconfig.json index 5f890add8fa4..f61fa972d601 100644 --- a/core/packages/logging-utils/samples/tsconfig.json +++ b/core/packages/logging-utils/samples/tsconfig.json @@ -8,7 +8,9 @@ "es2018", "dom" ], - "moduleResolution": "node" + "types": [ + "node" + ] }, "include": [ "system-test/*.ts" diff --git a/handwritten/logging-bunyan/package.json b/handwritten/logging-bunyan/package.json index 8dc70c37e8be..c2447ca7cc1f 100644 --- a/handwritten/logging-bunyan/package.json +++ b/handwritten/logging-bunyan/package.json @@ -56,10 +56,10 @@ }, "dependencies": { "@google-cloud/logging": "^11.0.0", - "google-auth-library": "^9.0.0" + "google-auth-library": "^10.6.2" }, "devDependencies": { - "@google-cloud/common": "^5.0.0", + "@google-cloud/common": "^6.0.0", "@types/bunyan": "^1.8.4", "@types/express": "^4.16.0", "@types/mocha": "^9.0.0", @@ -72,7 +72,7 @@ "cpy-cli": "^4.0.0", "delay": "^5.0.0", "express": "^4.16.3", - "gts": "^5.0.0", + "gts": "^7.0.0", "jsdoc": "^4.0.0", "jsdoc-fresh": "^3.0.0", "jsdoc-region-tag": "^3.0.0", @@ -86,5 +86,8 @@ "peerDependencies": { "bunyan": "*" }, + "overrides": { + "whatwg-url": "^14.0.0" + }, "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/handwritten/logging-bunyan" } diff --git a/handwritten/logging/package.json b/handwritten/logging/package.json index 4e4b5caf722b..817e2661fb3a 100644 --- a/handwritten/logging/package.json +++ b/handwritten/logging/package.json @@ -49,7 +49,7 @@ "postpublish": "./.kokoro/publish-min.sh" }, "dependencies": { - "@google-cloud/common": "^5.0.0", + "@google-cloud/common": "^6.0.0", "@google-cloud/paginator": "^5.0.0", "@google-cloud/projectify": "^4.0.0", "@google-cloud/promisify": "4.0.0", @@ -60,7 +60,7 @@ "eventid": "^2.0.0", "extend": "^3.0.2", "gcp-metadata": "^6.0.0", - "google-auth-library": "^9.0.0", + "google-auth-library": "^10.6.2", "google-gax": "^4.0.3", "long": "^5.3.2", "on-finished": "^2.3.0", diff --git a/handwritten/pubsub/.eslintignore b/handwritten/pubsub/.eslintignore index cfc348ec4d11..ccc4237c28ae 100644 --- a/handwritten/pubsub/.eslintignore +++ b/handwritten/pubsub/.eslintignore @@ -1,5 +1,6 @@ **/node_modules **/.coverage +bin/ build/ docs/ protos/ diff --git a/handwritten/pubsub/bin/README.md b/handwritten/pubsub/bin/README.md index c7e6274589ec..628c5b6ca17c 100644 --- a/handwritten/pubsub/bin/README.md +++ b/handwritten/pubsub/bin/README.md @@ -1,12 +1,12 @@ # benchwrapper benchwrapper is a lightweight gRPC server that wraps the pubsub library for -bencharmking purposes. +benchmarking purposes. ## Running ``` -cd nodejs-pubsub +cd handwritten/pubsub npm install export PUBSUB_EMULATOR_HOST=localhost:8080 npm run benchwrapper -- --port 50051 diff --git a/handwritten/pubsub/test/publisher/index.ts b/handwritten/pubsub/test/publisher/index.ts index af693c65ebff..6930b3baa67e 100644 --- a/handwritten/pubsub/test/publisher/index.ts +++ b/handwritten/pubsub/test/publisher/index.ts @@ -166,6 +166,10 @@ describe('Publisher', () => { it('should call through to publishMessage', () => { const stub = sandbox.stub(publisher, 'publishMessage'); + // This warning is not real, but it should be resolved by future work + // on the linting config. + // + // eslint-disable-next-line @typescript-eslint/no-floating-promises publisher.publish(buffer, spy); const [{data}, callback] = stub.lastCall.args; @@ -177,6 +181,10 @@ describe('Publisher', () => { const stub = sandbox.stub(publisher, 'publishMessage'); const attrs = {}; + // This warning is not real, but it should be resolved by future work + // on the linting config. + // + // eslint-disable-next-line @typescript-eslint/no-floating-promises publisher.publish(buffer, attrs, spy); const [{attributes}, callback] = stub.lastCall.args; diff --git a/handwritten/pubsub/test/pubsub.ts b/handwritten/pubsub/test/pubsub.ts index facc216299c5..c231deae118d 100644 --- a/handwritten/pubsub/test/pubsub.ts +++ b/handwritten/pubsub/test/pubsub.ts @@ -170,8 +170,9 @@ describe('PubSub', () => { // tslint:disable-next-line variable-name let PubSub: typeof pubsubTypes.PubSub; const PROJECT_ID = 'test-project'; + const PROJECT_ID_PLACEHOLDER = '{{projectId}}'; - let pubsub: Partial; + let pubsub: pubsubTypes.PubSub; const OPTIONS = { projectId: PROJECT_ID, } as pubsubTypes.ClientConfig; @@ -317,7 +318,7 @@ describe('PubSub', () => { }); it('should not be in the opened state after close()', async () => { - await pubsub.close?.(); + await pubsub.close(); assert.strictEqual(pubsub.isOpen, false); }); @@ -413,13 +414,13 @@ describe('PubSub', () => { it('should throw if no Topic is provided', async () => { await assert.rejects(async () => { - await pubsub.createSubscription?.(undefined!, undefined!); + await pubsub.createSubscription(undefined!, undefined!); }, /A Topic is required for a new subscription\./); }); it('should throw if no subscription name is provided', async () => { await assert.rejects(async () => { - await pubsub.createSubscription?.(TOPIC_NAME, undefined!); + await pubsub.createSubscription(TOPIC_NAME, undefined!); }, /A subscription name is required./); }); @@ -428,7 +429,11 @@ describe('PubSub', () => { callback(null, apiResponse); }; - pubsub.createSubscription?.(TOPIC, SUB_NAME, done); + // This warning is not real, but it should be resolved by future work + // on the linting config. + // + // eslint-disable-next-line @typescript-eslint/no-floating-promises + pubsub.createSubscription(TOPIC, SUB_NAME, done); }); it('should allow undefined/optional configuration options', done => { @@ -450,7 +455,7 @@ describe('PubSub', () => { setImmediate(done); return SUBSCRIPTION as subby.Subscription; }; - pubsub.createSubscription?.(TOPIC, SUB_NAME, opts, assert.ifError); + pubsub.createSubscription(TOPIC, SUB_NAME, opts, assert.ifError); }); it('should create a Topic object from a string', done => { @@ -462,7 +467,7 @@ describe('PubSub', () => { return TOPIC; }; - pubsub.createSubscription?.(TOPIC_NAME, SUB_NAME, assert.ifError); + pubsub.createSubscription(TOPIC_NAME, SUB_NAME, assert.ifError); }); it('should send correct request', done => { @@ -491,7 +496,7 @@ describe('PubSub', () => { done(); }; - pubsub.createSubscription?.(TOPIC, SUB_NAME, options, assert.ifError); + pubsub.createSubscription(TOPIC, SUB_NAME, options, assert.ifError); }); it('should pass options to the api request', done => { @@ -523,7 +528,7 @@ describe('PubSub', () => { done(); }; - pubsub.createSubscription?.(TOPIC, SUB_NAME, options, assert.ifError); + pubsub.createSubscription(TOPIC, SUB_NAME, options, assert.ifError); }); it('should discard flow control options', done => { @@ -554,7 +559,7 @@ describe('PubSub', () => { done(); }; - pubsub.createSubscription?.(TOPIC, SUB_NAME, options, assert.ifError); + pubsub.createSubscription(TOPIC, SUB_NAME, options, assert.ifError); }); it('should format the metadata', done => { @@ -573,12 +578,7 @@ describe('PubSub', () => { done(); }; - pubsub.createSubscription?.( - TOPIC, - SUB_NAME, - fakeMetadata, - assert.ifError, - ); + pubsub.createSubscription(TOPIC, SUB_NAME, fakeMetadata, assert.ifError); }); describe('error', () => { @@ -607,7 +607,7 @@ describe('PubSub', () => { done(); } - pubsub.createSubscription?.(TOPIC_NAME, SUB_NAME, callback); + pubsub.createSubscription(TOPIC_NAME, SUB_NAME, callback); }); }); @@ -643,7 +643,7 @@ describe('PubSub', () => { done(); } - pubsub.createSubscription?.(TOPIC_NAME, SUB_NAME, callback); + pubsub.createSubscription(TOPIC_NAME, SUB_NAME, callback); }); it('should fill the subscription object name if projectId was empty', async () => { @@ -704,7 +704,7 @@ describe('PubSub', () => { }); it('should return an error & API response', done => { - pubsub.createTopic?.('new-topic', (err, topic, apiResponse_) => { + pubsub.createTopic('new-topic', (err, topic, apiResponse_) => { assert.strictEqual(err, error); assert.strictEqual(topic, null); assert.strictEqual(apiResponse_, apiResponse); @@ -739,7 +739,7 @@ describe('PubSub', () => { return topicInstance as Topic; }; - pubsub.createTopic?.(topicName, (err, topic) => { + pubsub.createTopic(topicName, (err, topic) => { assert.ifError(err); assert.strictEqual(topic, topicInstance); done(); @@ -747,7 +747,7 @@ describe('PubSub', () => { }); it('should pass apiResponse to callback', done => { - pubsub.createTopic?.('new-topic', (err, topic, apiResponse_) => { + pubsub.createTopic('new-topic', (err, topic, apiResponse_) => { assert.ifError(err); assert.strictEqual(apiResponse_, apiResponse); done(); @@ -785,7 +785,7 @@ describe('PubSub', () => { it('should throw if no subscription name is provided', async () => { await assert.rejects(async () => { - await pubsub.detachSubscription?.(undefined!); + await pubsub.detachSubscription(undefined!); }, /A subscription name is required./); }); @@ -794,7 +794,7 @@ describe('PubSub', () => { .stub(pubsub, 'request') .callsArgOnWith(1, undefined, undefined, apiResponse); - pubsub.detachSubscription?.(SUB_NAME, (err, response) => { + pubsub.detachSubscription(SUB_NAME, (err, response) => { assert.strictEqual(response, apiResponse); done(); }); @@ -805,7 +805,7 @@ describe('PubSub', () => { .stub(pubsub, 'request') .callsArgOnWith(1, undefined, undefined, apiResponse); - pubsub.detachSubscription?.(SUB_NAME, undefined!, (_err, _response) => { + pubsub.detachSubscription(SUB_NAME, undefined!, (_err, _response) => { assert.strictEqual(_response, apiResponse); done(); }); @@ -818,7 +818,7 @@ describe('PubSub', () => { return SUBSCRIPTION as subby.Subscription; }); - await pubsub.detachSubscription?.(SUB_NAME); + await pubsub.detachSubscription(SUB_NAME); }); it('should send correct request', done => { @@ -839,7 +839,7 @@ describe('PubSub', () => { done(); }); - pubsub.detachSubscription?.(SUB_NAME, options, assert.ifError); + pubsub.detachSubscription(SUB_NAME, options, assert.ifError); }); it('should pass options to the api request', done => { @@ -858,7 +858,7 @@ describe('PubSub', () => { done(); }); - pubsub.detachSubscription?.(SUB_NAME, options, assert.ifError); + pubsub.detachSubscription(SUB_NAME, options, assert.ifError); }); }); @@ -881,7 +881,7 @@ describe('PubSub', () => { }); it('should do nothing if correct options are not set', () => { - pubsub.determineBaseUrl_?.(); + pubsub.determineBaseUrl_(); assert.strictEqual(pubsub.options?.servicePath, undefined); assert.strictEqual(pubsub.options?.port, undefined); @@ -893,18 +893,18 @@ describe('PubSub', () => { setHost(defaultBaseUrl_); pubsub!.options!.apiEndpoint = testingUrl; - pubsub.determineBaseUrl_?.(); + pubsub.determineBaseUrl_(); assert.strictEqual(pubsub.options?.servicePath, 'localhost'); - assert.strictEqual(pubsub.options.port, 8085); - assert.strictEqual(pubsub.options.sslCreds, fakeCreds); + assert.strictEqual(pubsub.options?.port, 8085); + assert.strictEqual(pubsub.options?.sslCreds, fakeCreds); assert.strictEqual(pubsub.isEmulator, true); }); it('should allow overriding fake cred mode (on)', () => { pubsub!.options!.apiEndpoint = 'something.googleapis.com'; pubsub!.options!.emulatorMode = true; - pubsub.determineBaseUrl_?.(); + pubsub.determineBaseUrl_(); assert.strictEqual(pubsub.options!.sslCreds, fakeCreds); assert.strictEqual(pubsub.isEmulator, true); @@ -917,7 +917,7 @@ describe('PubSub', () => { setHost(defaultBaseUrl_); pubsub!.options!.apiEndpoint = testingUrl; pubsub!.options!.emulatorMode = false; - pubsub.determineBaseUrl_?.(); + pubsub.determineBaseUrl_(); assert.strictEqual(pubsub.options?.servicePath, 'localhost'); assert.strictEqual(pubsub.options.port, 8085); @@ -927,35 +927,35 @@ describe('PubSub', () => { it('should remove slashes from the baseUrl', () => { setHost('localhost:8080/'); - pubsub.determineBaseUrl_?.(); + pubsub.determineBaseUrl_(); assert.strictEqual(pubsub.options?.servicePath, 'localhost'); - assert.strictEqual(pubsub.options.port, 8080); + assert.strictEqual(pubsub.options?.port, 8080); setHost('localhost:8081//'); - pubsub.determineBaseUrl_?.(); - assert.strictEqual(pubsub.options.servicePath, 'localhost'); - assert.strictEqual(pubsub.options.port, 8081); + pubsub.determineBaseUrl_(); + assert.strictEqual(pubsub.options?.servicePath, 'localhost'); + assert.strictEqual(pubsub.options?.port, 8081); }); it('should set the port to undefined if not set', () => { setHost('localhost'); - pubsub.determineBaseUrl_?.(); + pubsub.determineBaseUrl_(); assert.strictEqual(pubsub.options?.servicePath, 'localhost'); - assert.strictEqual(pubsub.options.port, undefined); + assert.strictEqual(pubsub.options?.port, undefined); }); it('should set the port to 80 for http with no port specified', () => { setHost('http://localhost/'); - pubsub.determineBaseUrl_?.(); + pubsub.determineBaseUrl_(); assert.strictEqual(pubsub.options?.servicePath, 'localhost'); assert.strictEqual(pubsub.options?.port, 80); }); it('should set the port to 443 for https with no port specified', () => { setHost('https://localhost/'); - pubsub.determineBaseUrl_?.(); + pubsub.determineBaseUrl_(); assert.strictEqual(pubsub.options?.servicePath, 'localhost'); - assert.strictEqual(pubsub.options.port, 443); + assert.strictEqual(pubsub.options?.port, 443); }); it('should create credentials from local grpc if present', () => { @@ -968,7 +968,7 @@ describe('PubSub', () => { setHost('localhost'); pubsub!.options!.grpc = fakeGrpc as unknown as typeof gax.grpc; - pubsub.determineBaseUrl_?.(); + pubsub.determineBaseUrl_(); assert.strictEqual(pubsub.options?.sslCreds, fakeCredentials); }); @@ -986,9 +986,9 @@ describe('PubSub', () => { }); it('should use the PUBSUB_EMULATOR_HOST env var', () => { - pubsub.determineBaseUrl_?.(); + pubsub.determineBaseUrl_(); assert.strictEqual(pubsub.options?.servicePath, 'localhost'); - assert.strictEqual(pubsub.options.port, 9090); + assert.strictEqual(pubsub.options?.port, 9090); assert.strictEqual(pubsub.isEmulator, true); }); }); @@ -1008,7 +1008,7 @@ describe('PubSub', () => { }); it('should use the CLOUDSDK_API_ENDPOINT_OVERRIDES_PUBSUB env var', () => { - pubsub.determineBaseUrl_?.(); + pubsub.determineBaseUrl_(); assert.strictEqual(pubsub.options?.servicePath, server); assert.strictEqual(pubsub.options?.port, 443); assert.strictEqual(pubsub.isEmulator, false); @@ -1028,11 +1028,15 @@ describe('PubSub', () => { }); it('should accept a query and a callback', done => { - pubsub.getSnapshots?.({}, done); + // This warning is not real, but it should be resolved by future work + // on the linting config. + // + // eslint-disable-next-line @typescript-eslint/no-floating-promises + pubsub.getSnapshots({}, done); }); it('should accept just a callback', done => { - pubsub.getSnapshots?.(done); + pubsub.getSnapshots(done); }); it('should build the right request', done => { @@ -1067,7 +1071,7 @@ describe('PubSub', () => { done(); }; - pubsub.getSnapshots?.(options, assert.ifError); + pubsub.getSnapshots(options, assert.ifError); }); it('should return Snapshot instances with metadata', done => { @@ -1079,7 +1083,7 @@ describe('PubSub', () => { }); // eslint-disable-next-line @typescript-eslint/no-explicit-any - pubsub.getSnapshots?.((err: any, snapshots: any) => { + pubsub.getSnapshots((err: any, snapshots: any) => { assert.ifError(err); assert.strictEqual(snapshots![0], snapshot); assert.strictEqual( @@ -1101,7 +1105,7 @@ describe('PubSub', () => { callback(err_, snapshots_, nextQuery_, apiResponse_); }; - pubsub.getSnapshots?.((err, snapshots, apiResponse) => { + pubsub.getSnapshots((err, snapshots, apiResponse) => { assert.strictEqual(err, err_); assert.deepStrictEqual(snapshots, snapshots_); assert.strictEqual(apiResponse, nextQuery_); @@ -1120,11 +1124,19 @@ describe('PubSub', () => { }); it('should accept a query and a callback', done => { - pubsub.getSubscriptions?.({}, done); + // This warning is not real, but it should be resolved by future work + // on the linting config. + // + // eslint-disable-next-line @typescript-eslint/no-floating-promises + pubsub.getSubscriptions({}, done); }); it('should accept just a callback', done => { - pubsub.getSubscriptions?.(done); + // This warning is not real, but it should be resolved by future work + // on the linting config. + // + // eslint-disable-next-line @typescript-eslint/no-floating-promises + pubsub.getSubscriptions(done); }); it('should pass the correct arguments to the API', done => { @@ -1152,7 +1164,7 @@ describe('PubSub', () => { done(); }; - pubsub.getSubscriptions?.(options, assert.ifError); + pubsub.getSubscriptions(options, assert.ifError); }); it('should pass options to API request', done => { @@ -1167,11 +1179,11 @@ describe('PubSub', () => { done(); }; - pubsub.getSubscriptions?.(opts, assert.ifError); + pubsub.getSubscriptions(opts, assert.ifError); }); it('should return Subscription instances', done => { - pubsub.getSubscriptions?.( + pubsub.getSubscriptions( ( err: gax.grpc.ServiceError | null, subscriptions?: subby.Subscription[] | null, @@ -1193,7 +1205,7 @@ describe('PubSub', () => { callback(err_, subs_, nextQuery_, apiResponse_); }; - pubsub.getSubscriptions?.( + pubsub.getSubscriptions( ( err: gax.grpc.ServiceError | null, subs?: subby.Subscription[] | null, @@ -1222,7 +1234,7 @@ describe('PubSub', () => { done(); }; - pubsub.getSubscriptions?.(opts, assert.ifError); + pubsub.getSubscriptions(opts, assert.ifError); }); it('should create a topic instance from a name', done => { @@ -1242,7 +1254,7 @@ describe('PubSub', () => { return fakeTopic as Topic; }; - pubsub.getSubscriptions?.(opts, assert.ifError); + pubsub.getSubscriptions(opts, assert.ifError); }); }); }); @@ -1258,11 +1270,19 @@ describe('PubSub', () => { }); it('should accept a query and a callback', done => { - pubsub.getTopics?.({}, done); + // This warning is not real, but it should be resolved by future work + // on the linting config. + // + // eslint-disable-next-line @typescript-eslint/no-floating-promises + pubsub.getTopics({}, done); }); it('should accept just a callback', done => { - pubsub.getTopics?.(done); + // This warning is not real, but it should be resolved by future work + // on the linting config. + // + // eslint-disable-next-line @typescript-eslint/no-floating-promises + pubsub.getTopics(done); }); it('should build the right request', done => { @@ -1297,7 +1317,7 @@ describe('PubSub', () => { done(); }; - pubsub.getTopics?.(options, assert.ifError); + pubsub.getTopics(options, assert.ifError); }); it('should return Topic instances with metadata', done => { @@ -1309,7 +1329,7 @@ describe('PubSub', () => { }; // eslint-disable-next-line @typescript-eslint/no-explicit-any - pubsub.getTopics?.((err: any, topics: any) => { + pubsub.getTopics((err: any, topics: any) => { assert.ifError(err); assert.strictEqual(topics![0], topic); // eslint-disable-next-line @typescript-eslint/no-explicit-any @@ -1328,7 +1348,7 @@ describe('PubSub', () => { callback(err_, topics_, nextQuery_, apiResponse_); }; - pubsub.getTopics?.((err, topics, apiResponse) => { + pubsub.getTopics((err, topics, apiResponse) => { assert.strictEqual(err, err_); assert.deepStrictEqual(topics, topics_); assert.strictEqual(apiResponse, nextQuery_); @@ -1346,7 +1366,7 @@ describe('PubSub', () => { } as pubsubTypes.RequestConfig; beforeEach(() => { - delete pubsub.projectId; + pubsub.projectId = PROJECT_ID_PLACEHOLDER; afterEach(() => sandbox.restore()); sandbox.stub(pubsub, 'auth').value({ @@ -1360,10 +1380,10 @@ describe('PubSub', () => { }); it('should throw if the PubSub is already closed', done => { - pubsub.close?.((err: Error | null) => { + pubsub.close((err: Error | null) => { assert.strictEqual(err, null); - pubsub.request?.(CONFIG, (errInner: Error | null) => { + pubsub.request(CONFIG, (errInner: Error | null) => { assert.notStrictEqual(errInner, null); assert.strictEqual( errInner!.message.indexOf('closed PubSub object') >= 0, @@ -1380,7 +1400,7 @@ describe('PubSub', () => { done(); }; - pubsub.request?.(CONFIG, assert.ifError); + pubsub.request(CONFIG, assert.ifError); }); it('should return error from getClient_', done => { @@ -1389,7 +1409,7 @@ describe('PubSub', () => { callback(expectedError); }; - pubsub.request?.(CONFIG, (err: gax.grpc.ServiceError | null) => { + pubsub.request(CONFIG, (err: gax.grpc.ServiceError | null) => { assert.strictEqual(expectedError, err); done(); }); @@ -1410,7 +1430,7 @@ describe('PubSub', () => { pubsub.getClient_ = (config, callback: Function) => { callback(null, fakeClient); }; - pubsub.request?.(CONFIG, assert.ifError); + pubsub.request(CONFIG, assert.ifError); }); it('should replace the project id token on reqOpts', done => { @@ -1420,7 +1440,7 @@ describe('PubSub', () => { assert.strictEqual(projectId, PROJECT_ID); done(); }; - pubsub.request?.(CONFIG, assert.ifError); + pubsub.request(CONFIG, assert.ifError); }); }); @@ -1446,7 +1466,7 @@ describe('PubSub', () => { // Stub out its close method, and verify it gets called. const stub = sandbox.stub(client, 'close').resolves(); - await pubsub.closeAllClients_?.(); + await pubsub.closeAllClients_(); assert.strictEqual(stub.called, true); }); @@ -1454,24 +1474,24 @@ describe('PubSub', () => { describe('project ID', () => { beforeEach(() => { - delete pubsub.projectId; + pubsub.projectId = PROJECT_ID_PLACEHOLDER; pubsub.isEmulator = false; }); it('should get and cache the project ID', async () => { sandbox.stub(pubsub!.auth!, 'getProjectId').resolves(PROJECT_ID); - await pubsub.getClientAsync_?.(CONFIG); + await pubsub.getClientAsync_(CONFIG); assert.strictEqual(pubsub.projectId, PROJECT_ID); assert.strictEqual(pubsub.options?.projectId, PROJECT_ID); }); it('should get the project ID if placeholder', async () => { - pubsub.projectId = '{{projectId}}'; + pubsub.projectId = PROJECT_ID_PLACEHOLDER; sandbox.stub(pubsub!.auth!, 'getProjectId').resolves(PROJECT_ID); - await pubsub.getClientAsync_?.(CONFIG); + await pubsub.getClientAsync_(CONFIG); assert.strictEqual(pubsub.projectId, PROJECT_ID); }); @@ -1481,7 +1501,7 @@ describe('PubSub', () => { sandbox.stub(pubsub!.auth!, 'getProjectId').rejects(error); try { - await pubsub.getClientAsync_?.(CONFIG); + await pubsub.getClientAsync_(CONFIG); throw new Error('getClientAsync_ should have thrown an error'); } catch (e) { assert.strictEqual(e, error); @@ -1494,7 +1514,7 @@ describe('PubSub', () => { const error = new Error('err'); sandbox.stub(pubsub!.auth!, 'getProjectId').rejects(error); - await pubsub.getClientAsync_?.(CONFIG); + await pubsub.getClientAsync_(CONFIG); assert.strictEqual(pubsub.projectId, ''); }); @@ -1504,7 +1524,7 @@ describe('PubSub', () => { const error = new Error('getProjectId should not be called.'); sandbox.stub(pubsub!.auth!, 'getProjectId').rejects(error); - await pubsub.getClientAsync_?.(CONFIG); + await pubsub.getClientAsync_(CONFIG); }); }); @@ -1519,10 +1539,10 @@ describe('PubSub', () => { return FAKE_CLIENT_INSTANCE; }; - await pubsub.getClientAsync_?.(CONFIG); + await pubsub.getClientAsync_(CONFIG); assert.strictEqual(pubsub.api?.FakeClient, FAKE_CLIENT_INSTANCE); - await pubsub.getClientAsync_?.(CONFIG); + await pubsub.getClientAsync_(CONFIG); assert.strictEqual(numTimesFakeClientInstantiated, 1); }); @@ -1535,7 +1555,7 @@ describe('PubSub', () => { return FAKE_CLIENT_INSTANCE; }; - const client = await pubsub.getClientAsync_?.(CONFIG); + const client = await pubsub.getClientAsync_(CONFIG); assert.strictEqual(client, FAKE_CLIENT_INSTANCE); }); }); @@ -1552,7 +1572,7 @@ describe('PubSub', () => { .withArgs(CONFIG) .resolves(FAKE_CLIENT_INSTANCE); - pubsub.getClient_?.(CONFIG, (err, client) => { + pubsub.getClient_(CONFIG, (err, client) => { assert.ifError(err); assert.strictEqual(client, FAKE_CLIENT_INSTANCE); done(); @@ -1563,7 +1583,7 @@ describe('PubSub', () => { const error = new Error('err'); sandbox.stub(pubsub, 'getClientAsync_').rejects(error); - pubsub.getClient_?.(CONFIG, err => { + pubsub.getClient_(CONFIG, err => { assert.strictEqual(err, error); done(); }); @@ -1599,7 +1619,7 @@ describe('PubSub', () => { done(); }; - pubsub.request?.(CONFIG, assert.ifError); + pubsub.request(CONFIG, assert.ifError); }); it('should return error from getting the client', done => { @@ -1609,7 +1629,7 @@ describe('PubSub', () => { callback(error); }; - pubsub.request?.(CONFIG, (err: gax.ServiceError | null) => { + pubsub.request(CONFIG, (err: gax.ServiceError | null) => { assert.strictEqual(err, error); done(); }); @@ -1623,7 +1643,7 @@ describe('PubSub', () => { done(); }; - pubsub.request?.(CONFIG, assert.ifError); + pubsub.request(CONFIG, assert.ifError); }); it('should call the client method correctly', done => { @@ -1653,7 +1673,7 @@ describe('PubSub', () => { callback(null, fakeClient); }; - pubsub.request?.(CONFIG, assert.ifError); + pubsub.request(CONFIG, assert.ifError); }); }); @@ -1667,7 +1687,7 @@ describe('PubSub', () => { it('should return a Snapshot object', () => { const SNAPSHOT_NAME = 'new-snapshot'; - const snapshot = pubsub.snapshot?.(SNAPSHOT_NAME); + const snapshot = pubsub.snapshot(SNAPSHOT_NAME); const args = (snapshot as {} as FakeSnapshot).calledWith_; assert(snapshot instanceof FakeSnapshot); @@ -1683,7 +1703,7 @@ describe('PubSub', () => { it('should return a Subscription object', () => { // tslint:disable-next-line only-arrow-functions subscriptionOverride = function () {}; - const subscription = pubsub.subscription?.(SUB_NAME, {}); + const subscription = pubsub.subscription(SUB_NAME, {}); assert(subscription instanceof subscriptionOverride); }); @@ -1696,7 +1716,7 @@ describe('PubSub', () => { assert.strictEqual(name, SUB_NAME); done(); }; - pubsub.subscription?.(SUB_NAME); + pubsub.subscription(SUB_NAME); }); it('should honor settings', done => { @@ -1709,7 +1729,7 @@ describe('PubSub', () => { assert.strictEqual(options, CONFIG); done(); }; - pubsub.subscription?.(SUB_NAME, CONFIG); + pubsub.subscription(SUB_NAME, CONFIG); }); it('should throw if a name is not provided', () => { @@ -1729,13 +1749,13 @@ describe('PubSub', () => { }); it('should return a Topic object', () => { - assert(pubsub.topic?.('new-topic') instanceof FakeTopic); + assert(pubsub.topic('new-topic') instanceof FakeTopic); }); it('should pass the correct args', () => { const fakeName = 'with-options'; const fakeOptions = {}; - const topic = pubsub.topic?.(fakeName, fakeOptions); + const topic = pubsub.topic(fakeName, fakeOptions); const [ps, name, options] = (topic as {} as FakeTopic).calledWith_; @@ -1754,9 +1774,9 @@ describe('PubSub', () => { it('should close the schema client when it has been opened', async () => { // Force it to create a client. - const client = await pubsub.getSchemaClient?.(); + const client = await pubsub.getSchemaClient(); sandbox.stub(client!, 'close').resolves(); - await pubsub.close?.(); + await pubsub.close(); }); // I feel like this ought to be a test, but something in getSchemaClient_() @@ -1822,7 +1842,7 @@ describe('PubSub', () => { it('defaults to BASIC for listSchemas', async () => { // Grab the schema client it'll be using so we can stub it. - const client = await pubsub.getSchemaClient?.(); + const client = await pubsub.getSchemaClient(); sandbox.stub(client!, 'listSchemasAsync').callsFake(req => { assert.strictEqual(req!.view, 'BASIC'); @@ -1837,7 +1857,7 @@ describe('PubSub', () => { }); it('returns a proper Schema object from schema()', async () => { - const schema = pubsub.schema?.('foo'); + const schema = pubsub.schema('foo'); assert.strictEqual(schema!.id, 'foo'); const name = await schema!.getName(); diff --git a/handwritten/pubsub/test/subscription.ts b/handwritten/pubsub/test/subscription.ts index aee0a9f90cf7..4855ec9217a5 100644 --- a/handwritten/pubsub/test/subscription.ts +++ b/handwritten/pubsub/test/subscription.ts @@ -97,7 +97,7 @@ class FakeSubscriber extends EventEmitter { describe('Subscription', () => { // tslint:disable-next-line variable-name let Subscription: typeof subby.Subscription; - let subscription: Partial; + let subscription: subby.Subscription; const PROJECT_ID = 'test-project'; const SUB_NAME = 'test-subscription'; @@ -185,7 +185,7 @@ describe('Subscription', () => { it('should open the subscriber when a listener is attached', () => { const stub = sandbox.stub(subscriber, 'open'); - subscription.on?.('message', () => {}); + subscription.on('message', () => {}); assert.strictEqual(stub.callCount, 1); }); @@ -193,8 +193,8 @@ describe('Subscription', () => { const stub = sandbox.stub(subscriber, 'close'); const cb = () => {}; - subscription.on?.('message', cb); - subscription.removeListener?.('message', cb); + subscription.on('message', cb); + subscription.removeListener('message', cb); assert.strictEqual(stub.callCount, 1); }); @@ -207,7 +207,7 @@ describe('Subscription', () => { }, }; - subscription.on?.('message', (msg: Message) => { + subscription.on('message', (msg: Message) => { assert.strictEqual(msg, message); done(); }); @@ -218,7 +218,7 @@ describe('Subscription', () => { it('should emit errors', done => { const error = new Error('err'); - subscription.on?.('error', (err: Error) => { + subscription.on('error', (err: Error) => { assert.strictEqual(err, error); done(); }); @@ -227,7 +227,7 @@ describe('Subscription', () => { }); it('should emit close events', done => { - subscription.on?.('close', done); + subscription.on('close', done); subscriber.emit('close'); }); }); @@ -337,7 +337,7 @@ describe('Subscription', () => { describe('close', () => { it('should call the success callback', done => { sandbox.stub(subscriber, 'close').resolves(); - subscription.close?.(done); + subscription.close(done); }); it('should pass back any errors that occurs', done => { @@ -345,7 +345,7 @@ describe('Subscription', () => { sandbox.stub(subscriber, 'close').rejects(fakeErr); - subscription!.close!((err: Error | undefined) => { + subscription.close((err: Error | undefined) => { assert.strictEqual(err, fakeErr); done(); }); @@ -363,14 +363,14 @@ describe('Subscription', () => { const expectedError = /Subscriptions can only be created when accessed through Topics/; delete subscription.topic; - await assert.rejects(subscription.create!(), expectedError); + await assert.rejects(subscription.create(), expectedError); }); it('should pass the correct params', () => { const fakeOptions = {}; const stub = sandbox.stub(PUBSUB, 'createSubscription'); - subscription.create?.(fakeOptions, assert.ifError); + subscription.create(fakeOptions, assert.ifError); const [topic, name, options] = stub.lastCall.args; assert.strictEqual(topic, TOPIC_NAME); @@ -381,7 +381,7 @@ describe('Subscription', () => { it('should optionally accept options', () => { const stub = sandbox.stub(PUBSUB, 'createSubscription'); - subscription.create?.(assert.ifError); + subscription.create(assert.ifError); const options = stub.lastCall.args[2]; assert.deepStrictEqual(options, {}); @@ -392,7 +392,7 @@ describe('Subscription', () => { const fakeResponse = {}; const stub = sandbox.stub(PUBSUB, 'createSubscription'); - subscription.create?.((err, sub, resp) => { + subscription.create((err, sub, resp) => { assert.strictEqual(err, fakeErr); assert.strictEqual(sub, null); assert.strictEqual(resp, fakeResponse); @@ -408,7 +408,7 @@ describe('Subscription', () => { const fakeSub = new Subscription(PUBSUB, SUB_FULL_NAME); const fakeResponse = {}; - subscription.create?.(err => { + subscription.create(err => { assert.ifError(err); assert.strictEqual(subscription.metadata, fakeResponse); done(); @@ -423,7 +423,7 @@ describe('Subscription', () => { const fakeResponse = {}; const stub = sandbox.stub(PUBSUB, 'createSubscription'); - subscription.create?.((err, sub, resp) => { + subscription.create((err, sub, resp) => { assert.ifError(err); assert.strictEqual(sub, subscription); assert.strictEqual(resp, fakeResponse); @@ -464,7 +464,7 @@ describe('Subscription', () => { done(); }; - subscription.createSnapshot?.(SNAPSHOT_NAME, assert.ifError); + subscription.createSnapshot(SNAPSHOT_NAME, assert.ifError); }); it('should optionally accept gax options', done => { @@ -475,7 +475,7 @@ describe('Subscription', () => { done(); }; - subscription.createSnapshot?.(SNAPSHOT_NAME, gaxOpts, assert.ifError); + subscription.createSnapshot(SNAPSHOT_NAME, gaxOpts, assert.ifError); }); it('should pass back any errors to the callback', done => { @@ -486,7 +486,7 @@ describe('Subscription', () => { callback(error, apiResponse); }; - subscription.createSnapshot?.(SNAPSHOT_NAME, (err, snapshot, resp) => { + subscription.createSnapshot(SNAPSHOT_NAME, (err, snapshot, resp) => { assert.strictEqual(err, error); assert.strictEqual(snapshot, null); assert.strictEqual(resp, apiResponse); @@ -506,7 +506,7 @@ describe('Subscription', () => { callback(null, apiResponse); }; - subscription.createSnapshot?.(SNAPSHOT_NAME, (err, snapshot, resp) => { + subscription.createSnapshot(SNAPSHOT_NAME, (err, snapshot, resp) => { assert.ifError(err); assert.strictEqual(snapshot, fakeSnapshot); assert.strictEqual(snapshot!.metadata, apiResponse); @@ -527,7 +527,7 @@ describe('Subscription', () => { }); it('should return the debug events to the callback', done => { - subscription.on?.('debug', (msg: DebugMessage) => { + subscription.on('debug', (msg: DebugMessage) => { assert.strictEqual(msg.error, error); done(); }); @@ -552,7 +552,7 @@ describe('Subscription', () => { done(); }; - subscription.delete?.(assert.ifError); + subscription.delete(assert.ifError); }); it('should optionally accept gax options', done => { @@ -563,7 +563,7 @@ describe('Subscription', () => { done(); }; - subscription.delete?.(gaxOpts, assert.ifError); + subscription.delete(gaxOpts, assert.ifError); }); describe('success', () => { @@ -576,7 +576,7 @@ describe('Subscription', () => { }); it('should return the api response', done => { - subscription.delete?.((err, resp) => { + subscription.delete((err, resp) => { assert.ifError(err); assert.strictEqual(resp, apiResponse); done(); @@ -586,9 +586,9 @@ describe('Subscription', () => { it('should close the subscriber if open', done => { const stub = sandbox.stub(subscriber, 'close'); - subscription.open?.(); + subscription.open(); - subscription.delete?.(err => { + subscription.delete(err => { assert.ifError(err); assert.strictEqual(stub.callCount, 1); done(); @@ -606,7 +606,7 @@ describe('Subscription', () => { }); it('should return the error to the callback', done => { - subscription.delete?.(err => { + subscription.delete(err => { assert.strictEqual(err, error); done(); }); @@ -618,7 +618,7 @@ describe('Subscription', () => { done(new Error('Should not be called.')); }; - subscription.delete?.(() => { + subscription.delete(() => { done(); }); }); @@ -628,7 +628,7 @@ describe('Subscription', () => { done(new Error('Should not be called.')); }; - subscription.delete?.(() => { + subscription.delete(() => { done(); }); }); @@ -639,7 +639,7 @@ describe('Subscription', () => { it('should return true if it finds metadata', done => { sandbox.stub(subscription, 'getMetadata').yields(null, {}); - subscription.exists?.((err, exists) => { + subscription.exists((err, exists) => { assert.ifError(err); assert(exists); done(); @@ -650,7 +650,7 @@ describe('Subscription', () => { const error = {code: 5} as ServiceError; sandbox.stub(subscription, 'getMetadata').yields(error); - subscription.exists?.((err, exists) => { + subscription.exists((err, exists) => { assert.ifError(err); assert.strictEqual(exists, false); done(); @@ -661,7 +661,7 @@ describe('Subscription', () => { const error = {code: 4} as ServiceError; sandbox.stub(subscription, 'getMetadata').yields(error); - subscription.exists?.((err, exists) => { + subscription.exists((err, exists) => { assert.strictEqual(err, error); assert.strictEqual(exists, undefined); done(); @@ -682,7 +682,7 @@ describe('Subscription', () => { done(); }); - subscription.get?.(options, assert.ifError); + subscription.get(options, assert.ifError); }); describe('success', () => { @@ -695,7 +695,7 @@ describe('Subscription', () => { callback(null, fakeMetadata); }); - subscription.get?.((err, sub, resp) => { + subscription.get((err, sub, resp) => { assert.ifError(err); assert.strictEqual(sub, subscription); assert.strictEqual(resp, fakeMetadata); @@ -712,7 +712,7 @@ describe('Subscription', () => { callback(null); // the done fn }); - subscription.get?.(options, done); + subscription.get(options, done); }); }); @@ -724,7 +724,7 @@ describe('Subscription', () => { .stub(subscription, 'getMetadata') .callsArgWith(1, error, apiResponse); - subscription.get?.((err, sub, resp) => { + subscription.get((err, sub, resp) => { assert.strictEqual(err, error); assert.strictEqual(sub, null); assert.strictEqual(resp, apiResponse); @@ -739,7 +739,7 @@ describe('Subscription', () => { .stub(subscription, 'getMetadata') .callsArgWith(1, error, apiResponse); - subscription.get?.((err, sub, resp) => { + subscription.get((err, sub, resp) => { assert.strictEqual(err, error); assert.strictEqual(sub, null); assert.strictEqual(resp, apiResponse); @@ -754,9 +754,9 @@ describe('Subscription', () => { .stub(subscription, 'getMetadata') .callsArgWith(1, error, apiResponse); - delete subscription.create; + delete (subscription as Partial).create; - subscription.get?.((err, sub, resp) => { + subscription.get((err, sub, resp) => { assert.strictEqual(err, error); assert.strictEqual(sub, null); assert.strictEqual(resp, apiResponse); @@ -781,7 +781,7 @@ describe('Subscription', () => { }); subscription.topic = 'hi-ho-silver'; - subscription.get?.(fakeOptions, assert.ifError); + subscription.get(fakeOptions, assert.ifError); }); }); }); @@ -797,7 +797,7 @@ describe('Subscription', () => { done(); }; - subscription.getMetadata?.(assert.ifError); + subscription.getMetadata(assert.ifError); }); it('should optionally accept gax options', done => { @@ -808,7 +808,7 @@ describe('Subscription', () => { done(); }; - subscription.getMetadata?.(gaxOpts, assert.ifError); + subscription.getMetadata(gaxOpts, assert.ifError); }); it('should pass back any errors that occur', done => { @@ -819,7 +819,7 @@ describe('Subscription', () => { callback(error, apiResponse); }; - subscription.getMetadata?.((err, metadata) => { + subscription.getMetadata((err, metadata) => { assert.strictEqual(err, error); assert.strictEqual(metadata, apiResponse); done(); @@ -833,7 +833,7 @@ describe('Subscription', () => { callback(null, apiResponse); }; - subscription.getMetadata?.((err, metadata) => { + subscription.getMetadata((err, metadata) => { assert.ifError(err); assert.strictEqual(metadata, apiResponse); assert.strictEqual(subscription.metadata, apiResponse); @@ -856,7 +856,7 @@ describe('Subscription', () => { done(); }; - subscription.modifyPushConfig?.(fakeConfig, assert.ifError); + subscription.modifyPushConfig(fakeConfig, assert.ifError); }); it('should optionally accept gaxOpts', done => { @@ -867,7 +867,7 @@ describe('Subscription', () => { done(); }; - subscription.modifyPushConfig?.(fakeConfig, gaxOpts, assert.ifError); + subscription.modifyPushConfig(fakeConfig, gaxOpts, assert.ifError); }); }); @@ -875,7 +875,7 @@ describe('Subscription', () => { it('should open the subscriber', () => { const stub = sandbox.stub(subscriber, 'open'); - subscription.open?.(); + subscription.open(); assert.strictEqual(stub.callCount, 1); }); @@ -883,8 +883,8 @@ describe('Subscription', () => { it('should noop if already open', () => { const spy = sandbox.spy(subscriber, 'open'); - subscription.open?.(); - subscription.open?.(); + subscription.open(); + subscription.open(); assert.strictEqual(spy.callCount, 1); }); @@ -924,7 +924,7 @@ describe('Subscription', () => { done(); }; - subscription.seek?.(FAKE_SNAPSHOT_NAME, assert.ifError); + subscription.seek(FAKE_SNAPSHOT_NAME, assert.ifError); }); it('should optionally accept a Date object', done => { @@ -941,7 +941,7 @@ describe('Subscription', () => { done(); }; - subscription.seek?.(date, assert.ifError); + subscription.seek(date, assert.ifError); }); it('should optionally accept gax options', done => { @@ -952,7 +952,7 @@ describe('Subscription', () => { done(); }; - subscription.seek?.(FAKE_SNAPSHOT_NAME, gaxOpts, assert.ifError); + subscription.seek(FAKE_SNAPSHOT_NAME, gaxOpts, assert.ifError); }); }); @@ -1003,7 +1003,11 @@ describe('Subscription', () => { done(); }; - subscription.setMetadata?.(METADATA, done); + // This warning is not real, but it should be resolved by future work + // on the linting config. + // + // eslint-disable-next-line @typescript-eslint/no-floating-promises + subscription.setMetadata(METADATA, done); }); it('should optionally accept gax options', done => { @@ -1013,7 +1017,7 @@ describe('Subscription', () => { assert.strictEqual(config.gaxOpts, gaxOpts); done(); }; - subscription.setMetadata?.(METADATA, gaxOpts, done); + subscription.setMetadata(METADATA, gaxOpts, done); }); }); @@ -1021,7 +1025,7 @@ describe('Subscription', () => { it('should pass the options to the subscriber', () => { const options = {}; const stub = sandbox.stub(subscriber, 'setOptions').withArgs(options); - subscription.setOptions?.(options); + subscription.setOptions(options); assert.strictEqual(stub.callCount, 1); }); }); @@ -1037,7 +1041,7 @@ describe('Subscription', () => { done(); }; - subscription.snapshot?.(SNAPSHOT_NAME); + subscription.snapshot(SNAPSHOT_NAME); }); }); }); From ce2d9098e187400816c829a72260411b2fb57a8e Mon Sep 17 00:00:00 2001 From: feywind <57276408+feywind@users.noreply.github.com> Date: Mon, 20 Apr 2026 18:08:58 -0400 Subject: [PATCH 02/11] build: move prettier config files to root from autogen packages --- package.json | 6 +++-- .../gapic-node-processing/.prettierignore | 7 ------ packages/gapic-node-processing/.prettierrc.js | 17 -------------- .../test/combine-libraries.test.ts | 2 +- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../google-analytics-data/.prettierignore | 6 ----- .../google-analytics-data/.prettierrc.js | 22 ------------------- .../speech-v1-nodejs/.prettierrc.js | 22 ------------------- .../speech-v1p1beta1-nodejs/.prettierrc.js | 22 ------------------- .../speech-v2-nodejs/.prettierrc.js | 22 ------------------- .../google-cloud-speech/.prettierrc.js | 22 ------------------- .../tasks-v2-nodejs/.prettierignore | 6 ----- .../tasks-v2beta2-nodejs/.prettierignore | 6 ----- .../google-cloud-tasks/.prettierignore | 6 ----- packages/google-ads-admanager/.prettierignore | 6 ----- packages/google-ads-admanager/.prettierrc.js | 22 ------------------- .../google-ads-datamanager/.prettierignore | 6 ----- .../google-ads-datamanager/.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../google-analytics-admin/.prettierignore | 6 ----- .../google-analytics-admin/.prettierrc.js | 22 ------------------- .../google-analytics-data/.prettierignore | 6 ----- packages/google-analytics-data/.prettierrc.js | 22 ------------------- packages/google-api-apikeys/.prettierignore | 6 ----- packages/google-api-apikeys/.prettierrc.js | 22 ------------------- .../google-api-cloudquotas/.prettierignore | 6 ----- .../google-api-cloudquotas/.prettierrc.js | 22 ------------------- .../google-api-servicecontrol/.prettierignore | 6 ----- .../google-api-servicecontrol/.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../google-api-serviceusage/.prettierignore | 6 ----- .../google-api-serviceusage/.prettierrc.js | 22 ------------------- packages/google-appengine/.prettierignore | 6 ----- packages/google-appengine/.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- packages/google-apps-meet/.prettierignore | 6 ----- packages/google-apps-meet/.prettierrc.js | 22 ------------------- .../google-area120-tables/.prettierignore | 6 ----- packages/google-area120-tables/.prettierrc.js | 22 ------------------- packages/google-chat/.prettierignore | 6 ----- packages/google-chat/.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../google-cloud-aiplatform/.prettierignore | 6 ----- .../google-cloud-aiplatform/.prettierrc.js | 22 ------------------- packages/google-cloud-alloydb/.prettierignore | 6 ----- packages/google-cloud-alloydb/.prettierrc.js | 22 ------------------- .../google-cloud-apigateway/.prettierignore | 6 ----- .../google-cloud-apigateway/.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../google-cloud-apigeeconnect/.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- packages/google-cloud-apihub/.prettierignore | 6 ----- packages/google-cloud-apihub/.prettierrc.js | 22 ------------------- .../google-cloud-apiregistry/.prettierignore | 6 ----- .../google-cloud-apiregistry/.prettierrc.js | 22 ------------------- packages/google-cloud-apphub/.prettierignore | 6 ----- packages/google-cloud-apphub/.prettierrc.js | 22 ------------------- packages/google-cloud-asset/.prettierignore | 6 ----- packages/google-cloud-asset/.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../google-cloud-auditmanager/.prettierignore | 6 ----- .../google-cloud-auditmanager/.prettierrc.js | 22 ------------------- packages/google-cloud-automl/.prettierignore | 6 ----- packages/google-cloud-automl/.prettierrc.js | 22 ------------------- .../google-cloud-backupdr/.prettierignore | 6 ----- packages/google-cloud-backupdr/.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- packages/google-cloud-batch/.prettierignore | 6 ----- packages/google-cloud-batch/.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- packages/google-cloud-billing/.prettierignore | 6 ----- packages/google-cloud-billing/.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 2 +- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- packages/google-cloud-ces/.prettierignore | 6 ----- packages/google-cloud-ces/.prettierrc.js | 22 ------------------- packages/google-cloud-channel/.prettierignore | 6 ----- packages/google-cloud-channel/.prettierrc.js | 22 ------------------- .../google-cloud-chronicle/.prettierignore | 6 ----- .../google-cloud-chronicle/.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../google-cloud-clouddms/.prettierignore | 6 ----- packages/google-cloud-clouddms/.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- packages/google-cloud-compute/.prettierignore | 6 ----- packages/google-cloud-compute/.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- packages/google-cloud-config/.prettierignore | 6 ----- packages/google-cloud-config/.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../google-cloud-connectors/.prettierignore | 6 ----- .../google-cloud-connectors/.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../google-cloud-datacatalog/.prettierignore | 6 ----- .../google-cloud-datacatalog/.prettierrc.js | 22 ------------------- .../google-cloud-dataform/.prettierignore | 6 ----- packages/google-cloud-dataform/.prettierrc.js | 22 ------------------- .../google-cloud-datafusion/.prettierignore | 6 ----- .../google-cloud-datafusion/.prettierrc.js | 22 ------------------- .../google-cloud-datalabeling/.prettierignore | 6 ----- .../google-cloud-datalabeling/.prettierrc.js | 22 ------------------- .../google-cloud-dataplex/.prettierignore | 6 ----- packages/google-cloud-dataplex/.prettierrc.js | 22 ------------------- .../google-cloud-dataproc/.prettierignore | 6 ----- packages/google-cloud-dataproc/.prettierrc.js | 22 ------------------- packages/google-cloud-dataqna/.prettierignore | 6 ----- packages/google-cloud-dataqna/.prettierrc.js | 22 ------------------- .../google-cloud-datastream/.prettierignore | 6 ----- .../google-cloud-datastream/.prettierrc.js | 22 ------------------- packages/google-cloud-deploy/.prettierignore | 6 ----- packages/google-cloud-deploy/.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../google-cloud-dialogflow-cx/.prettierrc.js | 22 ------------------- .../google-cloud-dialogflow/.prettierignore | 6 ----- .../google-cloud-dialogflow/.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- packages/google-cloud-dns/.prettierignore | 6 ----- packages/google-cloud-dns/.prettierrc.js | 17 -------------- .../google-cloud-documentai/.prettierignore | 6 ----- .../google-cloud-documentai/.prettierrc.js | 22 ------------------- packages/google-cloud-domains/.prettierignore | 6 ----- packages/google-cloud-domains/.prettierrc.js | 17 -------------- .../.prettierignore | 6 ----- .../google-cloud-edgecontainer/.prettierrc.js | 22 ------------------- .../google-cloud-edgenetwork/.prettierignore | 6 ----- .../google-cloud-edgenetwork/.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../google-cloud-eventarc/.prettierignore | 6 ----- packages/google-cloud-eventarc/.prettierrc.js | 22 ------------------- .../google-cloud-filestore/.prettierignore | 6 ----- .../google-cloud-filestore/.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../google-cloud-functions/.prettierignore | 6 ----- .../google-cloud-functions/.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../google-cloud-gkebackup/.prettierignore | 6 ----- .../google-cloud-gkebackup/.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- packages/google-cloud-gkehub/.prettierignore | 6 ----- packages/google-cloud-gkehub/.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../google-cloud-gkemulticloud/.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../google-cloud-gsuiteaddons/.prettierignore | 6 ----- .../google-cloud-gsuiteaddons/.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- packages/google-cloud-iap/.prettierignore | 6 ----- packages/google-cloud-iap/.prettierrc.js | 22 ------------------- packages/google-cloud-ids/.prettierignore | 6 ----- packages/google-cloud-ids/.prettierrc.js | 22 ------------------- packages/google-cloud-iot/.prettierignore | 6 ----- packages/google-cloud-iot/.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../google-cloud-kms-inventory/.prettierrc.js | 22 ------------------- packages/google-cloud-kms/.prettierignore | 6 ----- packages/google-cloud-kms/.prettierrc.js | 22 ------------------- .../google-cloud-language/.prettierignore | 6 ----- packages/google-cloud-language/.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../google-cloud-lifesciences/.prettierignore | 6 ----- .../google-cloud-lifesciences/.prettierrc.js | 22 ------------------- .../$1/.prettierignore | 6 ----- .../$1/.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 17 -------------- packages/google-cloud-lustre/.prettierignore | 6 ----- packages/google-cloud-lustre/.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../google-cloud-managedkafka/.prettierignore | 6 ----- .../google-cloud-managedkafka/.prettierrc.js | 22 ------------------- .../v1/.prettierignore | 6 ----- .../v1/.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../google-cloud-memcache/.prettierignore | 6 ----- packages/google-cloud-memcache/.prettierrc.js | 22 ------------------- .../google-cloud-memorystore/.prettierignore | 6 ----- .../google-cloud-memorystore/.prettierrc.js | 22 ------------------- .../google-cloud-metastore/.prettierignore | 6 ----- .../google-cloud-metastore/.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../google-cloud-modelarmor/.prettierignore | 6 ----- .../google-cloud-modelarmor/.prettierrc.js | 22 ------------------- .../google-cloud-monitoring/.prettierignore | 6 ----- .../google-cloud-monitoring/.prettierrc.js | 17 -------------- packages/google-cloud-netapp/.prettierignore | 6 ----- packages/google-cloud-netapp/.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../google-cloud-notebooks/.prettierignore | 6 ----- .../google-cloud-notebooks/.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../google-cloud-orgpolicy/.prettierignore | 6 ----- .../google-cloud-orgpolicy/.prettierrc.js | 22 ------------------- .../google-cloud-osconfig/.prettierignore | 6 ----- packages/google-cloud-osconfig/.prettierrc.js | 22 ------------------- packages/google-cloud-oslogin/.prettierignore | 6 ----- packages/google-cloud-oslogin/.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../google-cloud-parallelstore/.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../google-cloud-recommender/.prettierignore | 6 ----- .../google-cloud-recommender/.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../google-cloud-redis-cluster/.prettierrc.js | 22 ------------------- packages/google-cloud-redis/.prettierignore | 6 ----- packages/google-cloud-redis/.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- packages/google-cloud-retail/.prettierignore | 6 ----- packages/google-cloud-retail/.prettierrc.js | 22 ------------------- packages/google-cloud-run/.prettierignore | 6 ----- packages/google-cloud-run/.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../google-cloud-scheduler/.prettierignore | 6 ----- .../google-cloud-scheduler/.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../google-cloud-secretmanager/.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../google-cloud-servicehealth/.prettierrc.js | 22 ------------------- packages/google-cloud-shell/.prettierignore | 6 ----- packages/google-cloud-shell/.prettierrc.js | 22 ------------------- packages/google-cloud-speech/.prettierignore | 6 ----- packages/google-cloud-speech/.prettierrc.js | 22 ------------------- packages/google-cloud-sql/.prettierignore | 6 ----- packages/google-cloud-sql/.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- packages/google-cloud-support/.prettierignore | 6 ----- packages/google-cloud-support/.prettierrc.js | 22 ------------------- packages/google-cloud-talent/.prettierignore | 6 ----- packages/google-cloud-talent/.prettierrc.js | 22 ------------------- packages/google-cloud-tasks/.prettierignore | 6 ----- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../google-cloud-texttospeech/.prettierignore | 6 ----- .../google-cloud-texttospeech/.prettierrc.js | 22 ------------------- packages/google-cloud-tpu/.prettierignore | 6 ----- packages/google-cloud-tpu/.prettierrc.js | 22 ------------------- .../google-cloud-translate/.prettierignore | 6 ----- .../google-cloud-translate/.prettierrc.js | 22 ------------------- .../google-cloud-vectorsearch/.prettierignore | 6 ----- .../google-cloud-vectorsearch/.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- packages/google-cloud-vision/.prettierignore | 6 ----- packages/google-cloud-vision/.prettierrc.js | 22 ------------------- .../google-cloud-visionai/.prettierignore | 6 ----- packages/google-cloud-visionai/.prettierrc.js | 22 ------------------- .../google-cloud-vmmigration/.prettierignore | 6 ----- .../google-cloud-vmmigration/.prettierrc.js | 22 ------------------- .../google-cloud-vmwareengine/.prettierignore | 6 ----- .../google-cloud-vmwareengine/.prettierrc.js | 22 ------------------- .../google-cloud-vpcaccess/.prettierignore | 6 ----- .../google-cloud-vpcaccess/.prettierrc.js | 22 ------------------- packages/google-cloud-webrisk/.prettierignore | 6 ----- packages/google-cloud-webrisk/.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../google-cloud-workflows/.prettierignore | 6 ----- .../google-cloud-workflows/.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../google-cloud-workstations/.prettierignore | 6 ----- .../google-cloud-workstations/.prettierrc.js | 22 ------------------- packages/google-container/.prettierignore | 6 ----- packages/google-container/.prettierrc.js | 22 ------------------- packages/google-dataflow/.prettierignore | 6 ----- packages/google-dataflow/.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../google-devtools-cloudbuild/.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../google-iam-credentials/.prettierignore | 6 ----- .../google-iam-credentials/.prettierrc.js | 22 ------------------- packages/google-iam/.prettierignore | 6 ----- packages/google-iam/.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../google-maps-areainsights/.prettierignore | 6 ----- .../google-maps-areainsights/.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../google-maps-fleetengine/.prettierignore | 6 ----- .../google-maps-fleetengine/.prettierrc.js | 22 ------------------- .../v1/.prettierignore | 6 ----- .../google-maps-fleetengine/v1/.prettierrc.js | 22 ------------------- packages/google-maps-geocode/.prettierignore | 6 ----- packages/google-maps-geocode/.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../google-maps-navconnect/.prettierignore | 6 ----- .../google-maps-navconnect/.prettierrc.js | 22 ------------------- packages/google-maps-places/.prettierignore | 6 ----- packages/google-maps-places/.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- packages/google-maps-routing/.prettierignore | 6 ----- packages/google-maps-routing/.prettierrc.js | 22 ------------------- packages/google-maps-solar/.prettierignore | 6 ----- packages/google-maps-solar/.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 17 -------------- packages/google-privacy-dlp/.prettierignore | 6 ----- packages/google-privacy-dlp/.prettierrc.js | 22 ------------------- packages/google-shopping-css/.prettierignore | 6 ----- packages/google-shopping-css/.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../.prettierignore | 6 ----- .../.prettierrc.js | 22 ------------------- .../google-storage-control/.prettierignore | 6 ----- .../google-storage-control/.prettierrc.js | 22 ------------------- .../google-storagetransfer/.prettierignore | 6 ----- .../google-storagetransfer/.prettierrc.js | 22 ------------------- .../google-streetview-publish/.prettierignore | 6 ----- .../google-streetview-publish/.prettierrc.js | 22 ------------------- packages/grafeas/.prettierignore | 6 ----- packages/grafeas/.prettierrc.js | 17 -------------- 472 files changed, 6 insertions(+), 6528 deletions(-) diff --git a/package.json b/package.json index 821e84b0a6fe..d14984434c95 100644 --- a/package.json +++ b/package.json @@ -39,8 +39,10 @@ "gaxios": "^7.0.0-rc", "parse-link-header": "^2.0.0" }, - "devDependencies": {}, + "devDependencies": { + "gts": "^7.0.0" + }, "engines": { "node": ">=18" } -} \ No newline at end of file +} diff --git a/packages/gapic-node-processing/.prettierignore b/packages/gapic-node-processing/.prettierignore index 875811edb566..e69de29bb2d1 100644 --- a/packages/gapic-node-processing/.prettierignore +++ b/packages/gapic-node-processing/.prettierignore @@ -1,7 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ -__snapshots__/ diff --git a/packages/gapic-node-processing/.prettierrc.js b/packages/gapic-node-processing/.prettierrc.js index d546a4ad5460..e69de29bb2d1 100644 --- a/packages/gapic-node-processing/.prettierrc.js +++ b/packages/gapic-node-processing/.prettierrc.js @@ -1,17 +0,0 @@ -// 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. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/gapic-node-processing/test/combine-libraries.test.ts b/packages/gapic-node-processing/test/combine-libraries.test.ts index cf7915f0c51b..5d2bb6efab82 100644 --- a/packages/gapic-node-processing/test/combine-libraries.test.ts +++ b/packages/gapic-node-processing/test/combine-libraries.test.ts @@ -84,7 +84,7 @@ describe('combine libraries', () => { it('should generate unique final directory paths', async () => { const libraryPaths = await generateFinalDirectoryPath(libraryConfigCJS); // This should be the amount of unique file paths in the tree directory - assert.deepStrictEqual(libraryPaths.length, 103); + assert.deepStrictEqual(libraryPaths.length, 102); // Confirm there are only unique items in the array assert.deepStrictEqual( diff --git a/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/.prettierignore b/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/.prettierignore +++ b/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/.prettierrc.js b/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/.prettierrc.js index d89a632f90b0..e69de29bb2d1 100644 --- a/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/.prettierrc.js +++ b/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2025 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/google-analytics-data-v1beta-nodejs/.prettierignore b/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/google-analytics-data-v1beta-nodejs/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/google-analytics-data-v1beta-nodejs/.prettierignore +++ b/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/google-analytics-data-v1beta-nodejs/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/google-analytics-data-v1beta-nodejs/.prettierrc.js b/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/google-analytics-data-v1beta-nodejs/.prettierrc.js index d89a632f90b0..e69de29bb2d1 100644 --- a/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/google-analytics-data-v1beta-nodejs/.prettierrc.js +++ b/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/google-analytics-data-v1beta-nodejs/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2025 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data/.prettierignore b/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data/.prettierignore +++ b/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data/.prettierrc.js b/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data/.prettierrc.js index d89a632f90b0..e69de29bb2d1 100644 --- a/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data/.prettierrc.js +++ b/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2025 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-speech-nodejs/speech-v1-nodejs/.prettierrc.js b/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-speech-nodejs/speech-v1-nodejs/.prettierrc.js index d89a632f90b0..e69de29bb2d1 100644 --- a/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-speech-nodejs/speech-v1-nodejs/.prettierrc.js +++ b/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-speech-nodejs/speech-v1-nodejs/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2025 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-speech-nodejs/speech-v1p1beta1-nodejs/.prettierrc.js b/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-speech-nodejs/speech-v1p1beta1-nodejs/.prettierrc.js index d89a632f90b0..e69de29bb2d1 100644 --- a/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-speech-nodejs/speech-v1p1beta1-nodejs/.prettierrc.js +++ b/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-speech-nodejs/speech-v1p1beta1-nodejs/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2025 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-speech-nodejs/speech-v2-nodejs/.prettierrc.js b/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-speech-nodejs/speech-v2-nodejs/.prettierrc.js index d89a632f90b0..e69de29bb2d1 100644 --- a/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-speech-nodejs/speech-v2-nodejs/.prettierrc.js +++ b/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-speech-nodejs/speech-v2-nodejs/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2025 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-speech/.prettierrc.js b/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-speech/.prettierrc.js index d89a632f90b0..e69de29bb2d1 100644 --- a/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-speech/.prettierrc.js +++ b/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-speech/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2025 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-tasks-nodejs/tasks-v2-nodejs/.prettierignore b/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-tasks-nodejs/tasks-v2-nodejs/.prettierignore index a27d1f92d1b7..e69de29bb2d1 100644 --- a/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-tasks-nodejs/tasks-v2-nodejs/.prettierignore +++ b/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-tasks-nodejs/tasks-v2-nodejs/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ \ No newline at end of file diff --git a/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-tasks-nodejs/tasks-v2beta2-nodejs/.prettierignore b/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-tasks-nodejs/tasks-v2beta2-nodejs/.prettierignore index a27d1f92d1b7..e69de29bb2d1 100644 --- a/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-tasks-nodejs/tasks-v2beta2-nodejs/.prettierignore +++ b/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-tasks-nodejs/tasks-v2beta2-nodejs/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ \ No newline at end of file diff --git a/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-tasks/.prettierignore b/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-tasks/.prettierignore index a27d1f92d1b7..e69de29bb2d1 100644 --- a/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-tasks/.prettierignore +++ b/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-tasks/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ \ No newline at end of file diff --git a/packages/google-ads-admanager/.prettierignore b/packages/google-ads-admanager/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-ads-admanager/.prettierignore +++ b/packages/google-ads-admanager/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-ads-admanager/.prettierrc.js b/packages/google-ads-admanager/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-ads-admanager/.prettierrc.js +++ b/packages/google-ads-admanager/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-ads-datamanager/.prettierignore b/packages/google-ads-datamanager/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-ads-datamanager/.prettierignore +++ b/packages/google-ads-datamanager/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-ads-datamanager/.prettierrc.js b/packages/google-ads-datamanager/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-ads-datamanager/.prettierrc.js +++ b/packages/google-ads-datamanager/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-ai-generativelanguage/.prettierignore b/packages/google-ai-generativelanguage/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-ai-generativelanguage/.prettierignore +++ b/packages/google-ai-generativelanguage/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-ai-generativelanguage/.prettierrc.js b/packages/google-ai-generativelanguage/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-ai-generativelanguage/.prettierrc.js +++ b/packages/google-ai-generativelanguage/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-analytics-admin/.prettierignore b/packages/google-analytics-admin/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-analytics-admin/.prettierignore +++ b/packages/google-analytics-admin/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-analytics-admin/.prettierrc.js b/packages/google-analytics-admin/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-analytics-admin/.prettierrc.js +++ b/packages/google-analytics-admin/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-analytics-data/.prettierignore b/packages/google-analytics-data/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-analytics-data/.prettierignore +++ b/packages/google-analytics-data/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-analytics-data/.prettierrc.js b/packages/google-analytics-data/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-analytics-data/.prettierrc.js +++ b/packages/google-analytics-data/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-api-apikeys/.prettierignore b/packages/google-api-apikeys/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-api-apikeys/.prettierignore +++ b/packages/google-api-apikeys/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-api-apikeys/.prettierrc.js b/packages/google-api-apikeys/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-api-apikeys/.prettierrc.js +++ b/packages/google-api-apikeys/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-api-cloudquotas/.prettierignore b/packages/google-api-cloudquotas/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-api-cloudquotas/.prettierignore +++ b/packages/google-api-cloudquotas/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-api-cloudquotas/.prettierrc.js b/packages/google-api-cloudquotas/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-api-cloudquotas/.prettierrc.js +++ b/packages/google-api-cloudquotas/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-api-servicecontrol/.prettierignore b/packages/google-api-servicecontrol/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-api-servicecontrol/.prettierignore +++ b/packages/google-api-servicecontrol/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-api-servicecontrol/.prettierrc.js b/packages/google-api-servicecontrol/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-api-servicecontrol/.prettierrc.js +++ b/packages/google-api-servicecontrol/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-api-servicemanagement/.prettierignore b/packages/google-api-servicemanagement/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-api-servicemanagement/.prettierignore +++ b/packages/google-api-servicemanagement/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-api-servicemanagement/.prettierrc.js b/packages/google-api-servicemanagement/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-api-servicemanagement/.prettierrc.js +++ b/packages/google-api-servicemanagement/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-api-serviceusage/.prettierignore b/packages/google-api-serviceusage/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-api-serviceusage/.prettierignore +++ b/packages/google-api-serviceusage/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-api-serviceusage/.prettierrc.js b/packages/google-api-serviceusage/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-api-serviceusage/.prettierrc.js +++ b/packages/google-api-serviceusage/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-appengine/.prettierignore b/packages/google-appengine/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-appengine/.prettierignore +++ b/packages/google-appengine/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-appengine/.prettierrc.js b/packages/google-appengine/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-appengine/.prettierrc.js +++ b/packages/google-appengine/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-apps-events-subscriptions/.prettierignore b/packages/google-apps-events-subscriptions/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-apps-events-subscriptions/.prettierignore +++ b/packages/google-apps-events-subscriptions/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-apps-events-subscriptions/.prettierrc.js b/packages/google-apps-events-subscriptions/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-apps-events-subscriptions/.prettierrc.js +++ b/packages/google-apps-events-subscriptions/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-apps-meet/.prettierignore b/packages/google-apps-meet/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-apps-meet/.prettierignore +++ b/packages/google-apps-meet/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-apps-meet/.prettierrc.js b/packages/google-apps-meet/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-apps-meet/.prettierrc.js +++ b/packages/google-apps-meet/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-area120-tables/.prettierignore b/packages/google-area120-tables/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-area120-tables/.prettierignore +++ b/packages/google-area120-tables/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-area120-tables/.prettierrc.js b/packages/google-area120-tables/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-area120-tables/.prettierrc.js +++ b/packages/google-area120-tables/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-chat/.prettierignore b/packages/google-chat/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-chat/.prettierignore +++ b/packages/google-chat/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-chat/.prettierrc.js b/packages/google-chat/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-chat/.prettierrc.js +++ b/packages/google-chat/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-accessapproval/.prettierignore b/packages/google-cloud-accessapproval/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-accessapproval/.prettierignore +++ b/packages/google-cloud-accessapproval/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-accessapproval/.prettierrc.js b/packages/google-cloud-accessapproval/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-accessapproval/.prettierrc.js +++ b/packages/google-cloud-accessapproval/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-advisorynotifications/.prettierignore b/packages/google-cloud-advisorynotifications/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-advisorynotifications/.prettierignore +++ b/packages/google-cloud-advisorynotifications/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-advisorynotifications/.prettierrc.js b/packages/google-cloud-advisorynotifications/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-advisorynotifications/.prettierrc.js +++ b/packages/google-cloud-advisorynotifications/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-aiplatform/.prettierignore b/packages/google-cloud-aiplatform/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-aiplatform/.prettierignore +++ b/packages/google-cloud-aiplatform/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-aiplatform/.prettierrc.js b/packages/google-cloud-aiplatform/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-aiplatform/.prettierrc.js +++ b/packages/google-cloud-aiplatform/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-alloydb/.prettierignore b/packages/google-cloud-alloydb/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-alloydb/.prettierignore +++ b/packages/google-cloud-alloydb/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-alloydb/.prettierrc.js b/packages/google-cloud-alloydb/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-alloydb/.prettierrc.js +++ b/packages/google-cloud-alloydb/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-apigateway/.prettierignore b/packages/google-cloud-apigateway/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-apigateway/.prettierignore +++ b/packages/google-cloud-apigateway/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-apigateway/.prettierrc.js b/packages/google-cloud-apigateway/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-apigateway/.prettierrc.js +++ b/packages/google-cloud-apigateway/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-apigeeconnect/.prettierignore b/packages/google-cloud-apigeeconnect/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-apigeeconnect/.prettierignore +++ b/packages/google-cloud-apigeeconnect/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-apigeeconnect/.prettierrc.js b/packages/google-cloud-apigeeconnect/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-apigeeconnect/.prettierrc.js +++ b/packages/google-cloud-apigeeconnect/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-apigeeregistry/.prettierignore b/packages/google-cloud-apigeeregistry/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-apigeeregistry/.prettierignore +++ b/packages/google-cloud-apigeeregistry/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-apigeeregistry/.prettierrc.js b/packages/google-cloud-apigeeregistry/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-apigeeregistry/.prettierrc.js +++ b/packages/google-cloud-apigeeregistry/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-apihub/.prettierignore b/packages/google-cloud-apihub/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-apihub/.prettierignore +++ b/packages/google-cloud-apihub/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-apihub/.prettierrc.js b/packages/google-cloud-apihub/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-apihub/.prettierrc.js +++ b/packages/google-cloud-apihub/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-apiregistry/.prettierignore b/packages/google-cloud-apiregistry/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-apiregistry/.prettierignore +++ b/packages/google-cloud-apiregistry/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-apiregistry/.prettierrc.js b/packages/google-cloud-apiregistry/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-apiregistry/.prettierrc.js +++ b/packages/google-cloud-apiregistry/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-apphub/.prettierignore b/packages/google-cloud-apphub/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-apphub/.prettierignore +++ b/packages/google-cloud-apphub/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-apphub/.prettierrc.js b/packages/google-cloud-apphub/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-apphub/.prettierrc.js +++ b/packages/google-cloud-apphub/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-asset/.prettierignore b/packages/google-cloud-asset/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-asset/.prettierignore +++ b/packages/google-cloud-asset/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-asset/.prettierrc.js b/packages/google-cloud-asset/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-asset/.prettierrc.js +++ b/packages/google-cloud-asset/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-assuredworkloads/.prettierignore b/packages/google-cloud-assuredworkloads/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-assuredworkloads/.prettierignore +++ b/packages/google-cloud-assuredworkloads/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-assuredworkloads/.prettierrc.js b/packages/google-cloud-assuredworkloads/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-assuredworkloads/.prettierrc.js +++ b/packages/google-cloud-assuredworkloads/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-auditmanager/.prettierignore b/packages/google-cloud-auditmanager/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-auditmanager/.prettierignore +++ b/packages/google-cloud-auditmanager/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-auditmanager/.prettierrc.js b/packages/google-cloud-auditmanager/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-auditmanager/.prettierrc.js +++ b/packages/google-cloud-auditmanager/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-automl/.prettierignore b/packages/google-cloud-automl/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-automl/.prettierignore +++ b/packages/google-cloud-automl/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-automl/.prettierrc.js b/packages/google-cloud-automl/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-automl/.prettierrc.js +++ b/packages/google-cloud-automl/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-backupdr/.prettierignore b/packages/google-cloud-backupdr/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-backupdr/.prettierignore +++ b/packages/google-cloud-backupdr/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-backupdr/.prettierrc.js b/packages/google-cloud-backupdr/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-backupdr/.prettierrc.js +++ b/packages/google-cloud-backupdr/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-baremetalsolution/.prettierignore b/packages/google-cloud-baremetalsolution/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-baremetalsolution/.prettierignore +++ b/packages/google-cloud-baremetalsolution/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-baremetalsolution/.prettierrc.js b/packages/google-cloud-baremetalsolution/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-baremetalsolution/.prettierrc.js +++ b/packages/google-cloud-baremetalsolution/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-batch/.prettierignore b/packages/google-cloud-batch/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-batch/.prettierignore +++ b/packages/google-cloud-batch/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-batch/.prettierrc.js b/packages/google-cloud-batch/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-batch/.prettierrc.js +++ b/packages/google-cloud-batch/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-beyondcorp-appconnections/.prettierignore b/packages/google-cloud-beyondcorp-appconnections/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-beyondcorp-appconnections/.prettierignore +++ b/packages/google-cloud-beyondcorp-appconnections/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-beyondcorp-appconnections/.prettierrc.js b/packages/google-cloud-beyondcorp-appconnections/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-beyondcorp-appconnections/.prettierrc.js +++ b/packages/google-cloud-beyondcorp-appconnections/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-beyondcorp-appconnectors/.prettierignore b/packages/google-cloud-beyondcorp-appconnectors/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-beyondcorp-appconnectors/.prettierignore +++ b/packages/google-cloud-beyondcorp-appconnectors/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-beyondcorp-appconnectors/.prettierrc.js b/packages/google-cloud-beyondcorp-appconnectors/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-beyondcorp-appconnectors/.prettierrc.js +++ b/packages/google-cloud-beyondcorp-appconnectors/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-beyondcorp-appgateways/.prettierignore b/packages/google-cloud-beyondcorp-appgateways/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-beyondcorp-appgateways/.prettierignore +++ b/packages/google-cloud-beyondcorp-appgateways/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-beyondcorp-appgateways/.prettierrc.js b/packages/google-cloud-beyondcorp-appgateways/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-beyondcorp-appgateways/.prettierrc.js +++ b/packages/google-cloud-beyondcorp-appgateways/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-beyondcorp-clientconnectorservices/.prettierignore b/packages/google-cloud-beyondcorp-clientconnectorservices/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-beyondcorp-clientconnectorservices/.prettierignore +++ b/packages/google-cloud-beyondcorp-clientconnectorservices/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-beyondcorp-clientconnectorservices/.prettierrc.js b/packages/google-cloud-beyondcorp-clientconnectorservices/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-beyondcorp-clientconnectorservices/.prettierrc.js +++ b/packages/google-cloud-beyondcorp-clientconnectorservices/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-beyondcorp-clientgateways/.prettierignore b/packages/google-cloud-beyondcorp-clientgateways/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-beyondcorp-clientgateways/.prettierignore +++ b/packages/google-cloud-beyondcorp-clientgateways/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-beyondcorp-clientgateways/.prettierrc.js b/packages/google-cloud-beyondcorp-clientgateways/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-beyondcorp-clientgateways/.prettierrc.js +++ b/packages/google-cloud-beyondcorp-clientgateways/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-bigquery-analyticshub/.prettierignore b/packages/google-cloud-bigquery-analyticshub/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-bigquery-analyticshub/.prettierignore +++ b/packages/google-cloud-bigquery-analyticshub/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-bigquery-analyticshub/.prettierrc.js b/packages/google-cloud-bigquery-analyticshub/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-bigquery-analyticshub/.prettierrc.js +++ b/packages/google-cloud-bigquery-analyticshub/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-bigquery-connection/.prettierignore b/packages/google-cloud-bigquery-connection/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-bigquery-connection/.prettierignore +++ b/packages/google-cloud-bigquery-connection/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-bigquery-connection/.prettierrc.js b/packages/google-cloud-bigquery-connection/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-bigquery-connection/.prettierrc.js +++ b/packages/google-cloud-bigquery-connection/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-bigquery-dataexchange/.prettierignore b/packages/google-cloud-bigquery-dataexchange/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-bigquery-dataexchange/.prettierignore +++ b/packages/google-cloud-bigquery-dataexchange/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-bigquery-dataexchange/.prettierrc.js b/packages/google-cloud-bigquery-dataexchange/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-bigquery-dataexchange/.prettierrc.js +++ b/packages/google-cloud-bigquery-dataexchange/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-bigquery-datapolicies/.prettierignore b/packages/google-cloud-bigquery-datapolicies/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-bigquery-datapolicies/.prettierignore +++ b/packages/google-cloud-bigquery-datapolicies/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-bigquery-datapolicies/.prettierrc.js b/packages/google-cloud-bigquery-datapolicies/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-bigquery-datapolicies/.prettierrc.js +++ b/packages/google-cloud-bigquery-datapolicies/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-bigquery-datatransfer/.prettierignore b/packages/google-cloud-bigquery-datatransfer/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-bigquery-datatransfer/.prettierignore +++ b/packages/google-cloud-bigquery-datatransfer/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-bigquery-datatransfer/.prettierrc.js b/packages/google-cloud-bigquery-datatransfer/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-bigquery-datatransfer/.prettierrc.js +++ b/packages/google-cloud-bigquery-datatransfer/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-bigquery-migration/.prettierignore b/packages/google-cloud-bigquery-migration/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-bigquery-migration/.prettierignore +++ b/packages/google-cloud-bigquery-migration/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-bigquery-migration/.prettierrc.js b/packages/google-cloud-bigquery-migration/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-bigquery-migration/.prettierrc.js +++ b/packages/google-cloud-bigquery-migration/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-bigquery-reservation/.prettierignore b/packages/google-cloud-bigquery-reservation/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-bigquery-reservation/.prettierignore +++ b/packages/google-cloud-bigquery-reservation/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-bigquery-reservation/.prettierrc.js b/packages/google-cloud-bigquery-reservation/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-bigquery-reservation/.prettierrc.js +++ b/packages/google-cloud-bigquery-reservation/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-billing-budgets/.prettierignore b/packages/google-cloud-billing-budgets/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-billing-budgets/.prettierignore +++ b/packages/google-cloud-billing-budgets/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-billing-budgets/.prettierrc.js b/packages/google-cloud-billing-budgets/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-billing-budgets/.prettierrc.js +++ b/packages/google-cloud-billing-budgets/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-billing/.prettierignore b/packages/google-cloud-billing/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-billing/.prettierignore +++ b/packages/google-cloud-billing/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-billing/.prettierrc.js b/packages/google-cloud-billing/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-billing/.prettierrc.js +++ b/packages/google-cloud-billing/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-binaryauthorization/.prettierignore b/packages/google-cloud-binaryauthorization/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-binaryauthorization/.prettierignore +++ b/packages/google-cloud-binaryauthorization/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-binaryauthorization/.prettierrc.js b/packages/google-cloud-binaryauthorization/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-binaryauthorization/.prettierrc.js +++ b/packages/google-cloud-binaryauthorization/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-capacityplanner/.prettierignore b/packages/google-cloud-capacityplanner/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-capacityplanner/.prettierignore +++ b/packages/google-cloud-capacityplanner/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-capacityplanner/.prettierrc.js b/packages/google-cloud-capacityplanner/.prettierrc.js index b189724933b2..d2eddc2ed894 100644 --- a/packages/google-cloud-capacityplanner/.prettierrc.js +++ b/packages/google-cloud-capacityplanner/.prettierrc.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-certificatemanager/.prettierignore b/packages/google-cloud-certificatemanager/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-certificatemanager/.prettierignore +++ b/packages/google-cloud-certificatemanager/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-certificatemanager/.prettierrc.js b/packages/google-cloud-certificatemanager/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-certificatemanager/.prettierrc.js +++ b/packages/google-cloud-certificatemanager/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-ces/.prettierignore b/packages/google-cloud-ces/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-ces/.prettierignore +++ b/packages/google-cloud-ces/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-ces/.prettierrc.js b/packages/google-cloud-ces/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-ces/.prettierrc.js +++ b/packages/google-cloud-ces/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-channel/.prettierignore b/packages/google-cloud-channel/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-channel/.prettierignore +++ b/packages/google-cloud-channel/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-channel/.prettierrc.js b/packages/google-cloud-channel/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-channel/.prettierrc.js +++ b/packages/google-cloud-channel/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-chronicle/.prettierignore b/packages/google-cloud-chronicle/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-chronicle/.prettierignore +++ b/packages/google-cloud-chronicle/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-chronicle/.prettierrc.js b/packages/google-cloud-chronicle/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-chronicle/.prettierrc.js +++ b/packages/google-cloud-chronicle/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-cloudcontrolspartner/.prettierignore b/packages/google-cloud-cloudcontrolspartner/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-cloudcontrolspartner/.prettierignore +++ b/packages/google-cloud-cloudcontrolspartner/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-cloudcontrolspartner/.prettierrc.js b/packages/google-cloud-cloudcontrolspartner/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-cloudcontrolspartner/.prettierrc.js +++ b/packages/google-cloud-cloudcontrolspartner/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-clouddms/.prettierignore b/packages/google-cloud-clouddms/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-clouddms/.prettierignore +++ b/packages/google-cloud-clouddms/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-clouddms/.prettierrc.js b/packages/google-cloud-clouddms/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-clouddms/.prettierrc.js +++ b/packages/google-cloud-clouddms/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-cloudsecuritycompliance/.prettierignore b/packages/google-cloud-cloudsecuritycompliance/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-cloudsecuritycompliance/.prettierignore +++ b/packages/google-cloud-cloudsecuritycompliance/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-cloudsecuritycompliance/.prettierrc.js b/packages/google-cloud-cloudsecuritycompliance/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-cloudsecuritycompliance/.prettierrc.js +++ b/packages/google-cloud-cloudsecuritycompliance/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-commerce-consumer-procurement/.prettierignore b/packages/google-cloud-commerce-consumer-procurement/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-commerce-consumer-procurement/.prettierignore +++ b/packages/google-cloud-commerce-consumer-procurement/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-commerce-consumer-procurement/.prettierrc.js b/packages/google-cloud-commerce-consumer-procurement/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-commerce-consumer-procurement/.prettierrc.js +++ b/packages/google-cloud-commerce-consumer-procurement/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-compute/.prettierignore b/packages/google-cloud-compute/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-compute/.prettierignore +++ b/packages/google-cloud-compute/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-compute/.prettierrc.js b/packages/google-cloud-compute/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-compute/.prettierrc.js +++ b/packages/google-cloud-compute/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-confidentialcomputing/.prettierignore b/packages/google-cloud-confidentialcomputing/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-confidentialcomputing/.prettierignore +++ b/packages/google-cloud-confidentialcomputing/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-confidentialcomputing/.prettierrc.js b/packages/google-cloud-confidentialcomputing/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-confidentialcomputing/.prettierrc.js +++ b/packages/google-cloud-confidentialcomputing/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-config/.prettierignore b/packages/google-cloud-config/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-config/.prettierignore +++ b/packages/google-cloud-config/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-config/.prettierrc.js b/packages/google-cloud-config/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-config/.prettierrc.js +++ b/packages/google-cloud-config/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-configdelivery/.prettierignore b/packages/google-cloud-configdelivery/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-configdelivery/.prettierignore +++ b/packages/google-cloud-configdelivery/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-configdelivery/.prettierrc.js b/packages/google-cloud-configdelivery/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-configdelivery/.prettierrc.js +++ b/packages/google-cloud-configdelivery/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-connectors/.prettierignore b/packages/google-cloud-connectors/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-connectors/.prettierignore +++ b/packages/google-cloud-connectors/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-connectors/.prettierrc.js b/packages/google-cloud-connectors/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-connectors/.prettierrc.js +++ b/packages/google-cloud-connectors/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-contactcenterinsights/.prettierignore b/packages/google-cloud-contactcenterinsights/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-contactcenterinsights/.prettierignore +++ b/packages/google-cloud-contactcenterinsights/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-contactcenterinsights/.prettierrc.js b/packages/google-cloud-contactcenterinsights/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-contactcenterinsights/.prettierrc.js +++ b/packages/google-cloud-contactcenterinsights/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-contentwarehouse/.prettierignore b/packages/google-cloud-contentwarehouse/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-contentwarehouse/.prettierignore +++ b/packages/google-cloud-contentwarehouse/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-contentwarehouse/.prettierrc.js b/packages/google-cloud-contentwarehouse/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-contentwarehouse/.prettierrc.js +++ b/packages/google-cloud-contentwarehouse/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-datacatalog-lineage-configmanagement/.prettierignore b/packages/google-cloud-datacatalog-lineage-configmanagement/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-datacatalog-lineage-configmanagement/.prettierignore +++ b/packages/google-cloud-datacatalog-lineage-configmanagement/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-datacatalog-lineage-configmanagement/.prettierrc.js b/packages/google-cloud-datacatalog-lineage-configmanagement/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-datacatalog-lineage-configmanagement/.prettierrc.js +++ b/packages/google-cloud-datacatalog-lineage-configmanagement/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-datacatalog-lineage/.prettierignore b/packages/google-cloud-datacatalog-lineage/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-datacatalog-lineage/.prettierignore +++ b/packages/google-cloud-datacatalog-lineage/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-datacatalog-lineage/.prettierrc.js b/packages/google-cloud-datacatalog-lineage/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-datacatalog-lineage/.prettierrc.js +++ b/packages/google-cloud-datacatalog-lineage/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-datacatalog/.prettierignore b/packages/google-cloud-datacatalog/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-datacatalog/.prettierignore +++ b/packages/google-cloud-datacatalog/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-datacatalog/.prettierrc.js b/packages/google-cloud-datacatalog/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-datacatalog/.prettierrc.js +++ b/packages/google-cloud-datacatalog/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-dataform/.prettierignore b/packages/google-cloud-dataform/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-dataform/.prettierignore +++ b/packages/google-cloud-dataform/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-dataform/.prettierrc.js b/packages/google-cloud-dataform/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-dataform/.prettierrc.js +++ b/packages/google-cloud-dataform/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-datafusion/.prettierignore b/packages/google-cloud-datafusion/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-datafusion/.prettierignore +++ b/packages/google-cloud-datafusion/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-datafusion/.prettierrc.js b/packages/google-cloud-datafusion/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-datafusion/.prettierrc.js +++ b/packages/google-cloud-datafusion/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-datalabeling/.prettierignore b/packages/google-cloud-datalabeling/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-datalabeling/.prettierignore +++ b/packages/google-cloud-datalabeling/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-datalabeling/.prettierrc.js b/packages/google-cloud-datalabeling/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-datalabeling/.prettierrc.js +++ b/packages/google-cloud-datalabeling/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-dataplex/.prettierignore b/packages/google-cloud-dataplex/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-dataplex/.prettierignore +++ b/packages/google-cloud-dataplex/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-dataplex/.prettierrc.js b/packages/google-cloud-dataplex/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-dataplex/.prettierrc.js +++ b/packages/google-cloud-dataplex/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-dataproc/.prettierignore b/packages/google-cloud-dataproc/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-dataproc/.prettierignore +++ b/packages/google-cloud-dataproc/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-dataproc/.prettierrc.js b/packages/google-cloud-dataproc/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-dataproc/.prettierrc.js +++ b/packages/google-cloud-dataproc/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-dataqna/.prettierignore b/packages/google-cloud-dataqna/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-dataqna/.prettierignore +++ b/packages/google-cloud-dataqna/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-dataqna/.prettierrc.js b/packages/google-cloud-dataqna/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-dataqna/.prettierrc.js +++ b/packages/google-cloud-dataqna/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-datastream/.prettierignore b/packages/google-cloud-datastream/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-datastream/.prettierignore +++ b/packages/google-cloud-datastream/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-datastream/.prettierrc.js b/packages/google-cloud-datastream/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-datastream/.prettierrc.js +++ b/packages/google-cloud-datastream/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-deploy/.prettierignore b/packages/google-cloud-deploy/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-deploy/.prettierignore +++ b/packages/google-cloud-deploy/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-deploy/.prettierrc.js b/packages/google-cloud-deploy/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-deploy/.prettierrc.js +++ b/packages/google-cloud-deploy/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-developerconnect/.prettierignore b/packages/google-cloud-developerconnect/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-developerconnect/.prettierignore +++ b/packages/google-cloud-developerconnect/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-developerconnect/.prettierrc.js b/packages/google-cloud-developerconnect/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-developerconnect/.prettierrc.js +++ b/packages/google-cloud-developerconnect/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-devicestreaming/.prettierignore b/packages/google-cloud-devicestreaming/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-devicestreaming/.prettierignore +++ b/packages/google-cloud-devicestreaming/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-devicestreaming/.prettierrc.js b/packages/google-cloud-devicestreaming/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-devicestreaming/.prettierrc.js +++ b/packages/google-cloud-devicestreaming/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-dialogflow-cx/.prettierignore b/packages/google-cloud-dialogflow-cx/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-dialogflow-cx/.prettierignore +++ b/packages/google-cloud-dialogflow-cx/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-dialogflow-cx/.prettierrc.js b/packages/google-cloud-dialogflow-cx/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-dialogflow-cx/.prettierrc.js +++ b/packages/google-cloud-dialogflow-cx/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-dialogflow/.prettierignore b/packages/google-cloud-dialogflow/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-dialogflow/.prettierignore +++ b/packages/google-cloud-dialogflow/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-dialogflow/.prettierrc.js b/packages/google-cloud-dialogflow/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-dialogflow/.prettierrc.js +++ b/packages/google-cloud-dialogflow/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-discoveryengine/.prettierignore b/packages/google-cloud-discoveryengine/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-discoveryengine/.prettierignore +++ b/packages/google-cloud-discoveryengine/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-discoveryengine/.prettierrc.js b/packages/google-cloud-discoveryengine/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-discoveryengine/.prettierrc.js +++ b/packages/google-cloud-discoveryengine/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-dns/.prettierignore b/packages/google-cloud-dns/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-dns/.prettierignore +++ b/packages/google-cloud-dns/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-dns/.prettierrc.js b/packages/google-cloud-dns/.prettierrc.js index b189724933b2..e69de29bb2d1 100644 --- a/packages/google-cloud-dns/.prettierrc.js +++ b/packages/google-cloud-dns/.prettierrc.js @@ -1,17 +0,0 @@ -// Copyright 2025 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-documentai/.prettierignore b/packages/google-cloud-documentai/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-documentai/.prettierignore +++ b/packages/google-cloud-documentai/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-documentai/.prettierrc.js b/packages/google-cloud-documentai/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-documentai/.prettierrc.js +++ b/packages/google-cloud-documentai/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-domains/.prettierignore b/packages/google-cloud-domains/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-domains/.prettierignore +++ b/packages/google-cloud-domains/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-domains/.prettierrc.js b/packages/google-cloud-domains/.prettierrc.js index b189724933b2..e69de29bb2d1 100644 --- a/packages/google-cloud-domains/.prettierrc.js +++ b/packages/google-cloud-domains/.prettierrc.js @@ -1,17 +0,0 @@ -// Copyright 2025 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-edgecontainer/.prettierignore b/packages/google-cloud-edgecontainer/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-edgecontainer/.prettierignore +++ b/packages/google-cloud-edgecontainer/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-edgecontainer/.prettierrc.js b/packages/google-cloud-edgecontainer/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-edgecontainer/.prettierrc.js +++ b/packages/google-cloud-edgecontainer/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-edgenetwork/.prettierignore b/packages/google-cloud-edgenetwork/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-edgenetwork/.prettierignore +++ b/packages/google-cloud-edgenetwork/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-edgenetwork/.prettierrc.js b/packages/google-cloud-edgenetwork/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-edgenetwork/.prettierrc.js +++ b/packages/google-cloud-edgenetwork/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-essentialcontacts/.prettierignore b/packages/google-cloud-essentialcontacts/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-essentialcontacts/.prettierignore +++ b/packages/google-cloud-essentialcontacts/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-essentialcontacts/.prettierrc.js b/packages/google-cloud-essentialcontacts/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-essentialcontacts/.prettierrc.js +++ b/packages/google-cloud-essentialcontacts/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-eventarc-publishing/.prettierignore b/packages/google-cloud-eventarc-publishing/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-eventarc-publishing/.prettierignore +++ b/packages/google-cloud-eventarc-publishing/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-eventarc-publishing/.prettierrc.js b/packages/google-cloud-eventarc-publishing/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-eventarc-publishing/.prettierrc.js +++ b/packages/google-cloud-eventarc-publishing/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-eventarc/.prettierignore b/packages/google-cloud-eventarc/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-eventarc/.prettierignore +++ b/packages/google-cloud-eventarc/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-eventarc/.prettierrc.js b/packages/google-cloud-eventarc/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-eventarc/.prettierrc.js +++ b/packages/google-cloud-eventarc/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-filestore/.prettierignore b/packages/google-cloud-filestore/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-filestore/.prettierignore +++ b/packages/google-cloud-filestore/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-filestore/.prettierrc.js b/packages/google-cloud-filestore/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-filestore/.prettierrc.js +++ b/packages/google-cloud-filestore/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-financialservices/.prettierignore b/packages/google-cloud-financialservices/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-financialservices/.prettierignore +++ b/packages/google-cloud-financialservices/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-financialservices/.prettierrc.js b/packages/google-cloud-financialservices/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-financialservices/.prettierrc.js +++ b/packages/google-cloud-financialservices/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-functions/.prettierignore b/packages/google-cloud-functions/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-functions/.prettierignore +++ b/packages/google-cloud-functions/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-functions/.prettierrc.js b/packages/google-cloud-functions/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-functions/.prettierrc.js +++ b/packages/google-cloud-functions/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-gdchardwaremanagement/.prettierignore b/packages/google-cloud-gdchardwaremanagement/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-gdchardwaremanagement/.prettierignore +++ b/packages/google-cloud-gdchardwaremanagement/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-gdchardwaremanagement/.prettierrc.js b/packages/google-cloud-gdchardwaremanagement/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-gdchardwaremanagement/.prettierrc.js +++ b/packages/google-cloud-gdchardwaremanagement/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-geminidataanalytics/.prettierignore b/packages/google-cloud-geminidataanalytics/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-geminidataanalytics/.prettierignore +++ b/packages/google-cloud-geminidataanalytics/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-geminidataanalytics/.prettierrc.js b/packages/google-cloud-geminidataanalytics/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-geminidataanalytics/.prettierrc.js +++ b/packages/google-cloud-geminidataanalytics/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-gkebackup/.prettierignore b/packages/google-cloud-gkebackup/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-gkebackup/.prettierignore +++ b/packages/google-cloud-gkebackup/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-gkebackup/.prettierrc.js b/packages/google-cloud-gkebackup/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-gkebackup/.prettierrc.js +++ b/packages/google-cloud-gkebackup/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-gkeconnect-gateway/.prettierignore b/packages/google-cloud-gkeconnect-gateway/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-gkeconnect-gateway/.prettierignore +++ b/packages/google-cloud-gkeconnect-gateway/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-gkeconnect-gateway/.prettierrc.js b/packages/google-cloud-gkeconnect-gateway/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-gkeconnect-gateway/.prettierrc.js +++ b/packages/google-cloud-gkeconnect-gateway/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-gkehub/.prettierignore b/packages/google-cloud-gkehub/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-gkehub/.prettierignore +++ b/packages/google-cloud-gkehub/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-gkehub/.prettierrc.js b/packages/google-cloud-gkehub/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-gkehub/.prettierrc.js +++ b/packages/google-cloud-gkehub/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-gkemulticloud/.prettierignore b/packages/google-cloud-gkemulticloud/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-gkemulticloud/.prettierignore +++ b/packages/google-cloud-gkemulticloud/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-gkemulticloud/.prettierrc.js b/packages/google-cloud-gkemulticloud/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-gkemulticloud/.prettierrc.js +++ b/packages/google-cloud-gkemulticloud/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-gkerecommender/.prettierignore b/packages/google-cloud-gkerecommender/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-gkerecommender/.prettierignore +++ b/packages/google-cloud-gkerecommender/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-gkerecommender/.prettierrc.js b/packages/google-cloud-gkerecommender/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-gkerecommender/.prettierrc.js +++ b/packages/google-cloud-gkerecommender/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-gsuiteaddons/.prettierignore b/packages/google-cloud-gsuiteaddons/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-gsuiteaddons/.prettierignore +++ b/packages/google-cloud-gsuiteaddons/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-gsuiteaddons/.prettierrc.js b/packages/google-cloud-gsuiteaddons/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-gsuiteaddons/.prettierrc.js +++ b/packages/google-cloud-gsuiteaddons/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-hypercomputecluster/.prettierignore b/packages/google-cloud-hypercomputecluster/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-hypercomputecluster/.prettierignore +++ b/packages/google-cloud-hypercomputecluster/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-hypercomputecluster/.prettierrc.js b/packages/google-cloud-hypercomputecluster/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-hypercomputecluster/.prettierrc.js +++ b/packages/google-cloud-hypercomputecluster/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-iap/.prettierignore b/packages/google-cloud-iap/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-iap/.prettierignore +++ b/packages/google-cloud-iap/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-iap/.prettierrc.js b/packages/google-cloud-iap/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-iap/.prettierrc.js +++ b/packages/google-cloud-iap/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-ids/.prettierignore b/packages/google-cloud-ids/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-ids/.prettierignore +++ b/packages/google-cloud-ids/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-ids/.prettierrc.js b/packages/google-cloud-ids/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-ids/.prettierrc.js +++ b/packages/google-cloud-ids/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-iot/.prettierignore b/packages/google-cloud-iot/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-iot/.prettierignore +++ b/packages/google-cloud-iot/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-iot/.prettierrc.js b/packages/google-cloud-iot/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-iot/.prettierrc.js +++ b/packages/google-cloud-iot/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-kms-inventory/.prettierignore b/packages/google-cloud-kms-inventory/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-kms-inventory/.prettierignore +++ b/packages/google-cloud-kms-inventory/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-kms-inventory/.prettierrc.js b/packages/google-cloud-kms-inventory/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-kms-inventory/.prettierrc.js +++ b/packages/google-cloud-kms-inventory/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-kms/.prettierignore b/packages/google-cloud-kms/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-kms/.prettierignore +++ b/packages/google-cloud-kms/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-kms/.prettierrc.js b/packages/google-cloud-kms/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-kms/.prettierrc.js +++ b/packages/google-cloud-kms/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-language/.prettierignore b/packages/google-cloud-language/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-language/.prettierignore +++ b/packages/google-cloud-language/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-language/.prettierrc.js b/packages/google-cloud-language/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-language/.prettierrc.js +++ b/packages/google-cloud-language/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-licensemanager/.prettierignore b/packages/google-cloud-licensemanager/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-licensemanager/.prettierignore +++ b/packages/google-cloud-licensemanager/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-licensemanager/.prettierrc.js b/packages/google-cloud-licensemanager/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-licensemanager/.prettierrc.js +++ b/packages/google-cloud-licensemanager/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-lifesciences/.prettierignore b/packages/google-cloud-lifesciences/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-lifesciences/.prettierignore +++ b/packages/google-cloud-lifesciences/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-lifesciences/.prettierrc.js b/packages/google-cloud-lifesciences/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-lifesciences/.prettierrc.js +++ b/packages/google-cloud-lifesciences/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-locationfinder/$1/.prettierignore b/packages/google-cloud-locationfinder/$1/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-locationfinder/$1/.prettierignore +++ b/packages/google-cloud-locationfinder/$1/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-locationfinder/$1/.prettierrc.js b/packages/google-cloud-locationfinder/$1/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-locationfinder/$1/.prettierrc.js +++ b/packages/google-cloud-locationfinder/$1/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-locationfinder/.prettierignore b/packages/google-cloud-locationfinder/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-locationfinder/.prettierignore +++ b/packages/google-cloud-locationfinder/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-locationfinder/.prettierrc.js b/packages/google-cloud-locationfinder/.prettierrc.js index b189724933b2..e69de29bb2d1 100644 --- a/packages/google-cloud-locationfinder/.prettierrc.js +++ b/packages/google-cloud-locationfinder/.prettierrc.js @@ -1,17 +0,0 @@ -// Copyright 2025 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-lustre/.prettierignore b/packages/google-cloud-lustre/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-lustre/.prettierignore +++ b/packages/google-cloud-lustre/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-lustre/.prettierrc.js b/packages/google-cloud-lustre/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-lustre/.prettierrc.js +++ b/packages/google-cloud-lustre/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-maintenance-api/.prettierignore b/packages/google-cloud-maintenance-api/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-maintenance-api/.prettierignore +++ b/packages/google-cloud-maintenance-api/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-maintenance-api/.prettierrc.js b/packages/google-cloud-maintenance-api/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-maintenance-api/.prettierrc.js +++ b/packages/google-cloud-maintenance-api/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-managedidentities/.prettierignore b/packages/google-cloud-managedidentities/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-managedidentities/.prettierignore +++ b/packages/google-cloud-managedidentities/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-managedidentities/.prettierrc.js b/packages/google-cloud-managedidentities/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-managedidentities/.prettierrc.js +++ b/packages/google-cloud-managedidentities/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-managedkafka-schemaregistry/.prettierignore b/packages/google-cloud-managedkafka-schemaregistry/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-managedkafka-schemaregistry/.prettierignore +++ b/packages/google-cloud-managedkafka-schemaregistry/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-managedkafka-schemaregistry/.prettierrc.js b/packages/google-cloud-managedkafka-schemaregistry/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-managedkafka-schemaregistry/.prettierrc.js +++ b/packages/google-cloud-managedkafka-schemaregistry/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-managedkafka/.prettierignore b/packages/google-cloud-managedkafka/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-managedkafka/.prettierignore +++ b/packages/google-cloud-managedkafka/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-managedkafka/.prettierrc.js b/packages/google-cloud-managedkafka/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-managedkafka/.prettierrc.js +++ b/packages/google-cloud-managedkafka/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-managedkafka/v1/.prettierignore b/packages/google-cloud-managedkafka/v1/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-managedkafka/v1/.prettierignore +++ b/packages/google-cloud-managedkafka/v1/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-managedkafka/v1/.prettierrc.js b/packages/google-cloud-managedkafka/v1/.prettierrc.js index d89a632f90b0..e69de29bb2d1 100644 --- a/packages/google-cloud-managedkafka/v1/.prettierrc.js +++ b/packages/google-cloud-managedkafka/v1/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2025 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-mediatranslation/.prettierignore b/packages/google-cloud-mediatranslation/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-mediatranslation/.prettierignore +++ b/packages/google-cloud-mediatranslation/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-mediatranslation/.prettierrc.js b/packages/google-cloud-mediatranslation/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-mediatranslation/.prettierrc.js +++ b/packages/google-cloud-mediatranslation/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-memcache/.prettierignore b/packages/google-cloud-memcache/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-memcache/.prettierignore +++ b/packages/google-cloud-memcache/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-memcache/.prettierrc.js b/packages/google-cloud-memcache/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-memcache/.prettierrc.js +++ b/packages/google-cloud-memcache/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-memorystore/.prettierignore b/packages/google-cloud-memorystore/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-memorystore/.prettierignore +++ b/packages/google-cloud-memorystore/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-memorystore/.prettierrc.js b/packages/google-cloud-memorystore/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-memorystore/.prettierrc.js +++ b/packages/google-cloud-memorystore/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-metastore/.prettierignore b/packages/google-cloud-metastore/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-metastore/.prettierignore +++ b/packages/google-cloud-metastore/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-metastore/.prettierrc.js b/packages/google-cloud-metastore/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-metastore/.prettierrc.js +++ b/packages/google-cloud-metastore/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-migrationcenter/.prettierignore b/packages/google-cloud-migrationcenter/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-migrationcenter/.prettierignore +++ b/packages/google-cloud-migrationcenter/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-migrationcenter/.prettierrc.js b/packages/google-cloud-migrationcenter/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-migrationcenter/.prettierrc.js +++ b/packages/google-cloud-migrationcenter/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-modelarmor/.prettierignore b/packages/google-cloud-modelarmor/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-modelarmor/.prettierignore +++ b/packages/google-cloud-modelarmor/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-modelarmor/.prettierrc.js b/packages/google-cloud-modelarmor/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-modelarmor/.prettierrc.js +++ b/packages/google-cloud-modelarmor/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-monitoring/.prettierignore b/packages/google-cloud-monitoring/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-monitoring/.prettierignore +++ b/packages/google-cloud-monitoring/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-monitoring/.prettierrc.js b/packages/google-cloud-monitoring/.prettierrc.js index b189724933b2..e69de29bb2d1 100644 --- a/packages/google-cloud-monitoring/.prettierrc.js +++ b/packages/google-cloud-monitoring/.prettierrc.js @@ -1,17 +0,0 @@ -// Copyright 2025 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-netapp/.prettierignore b/packages/google-cloud-netapp/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-netapp/.prettierignore +++ b/packages/google-cloud-netapp/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-netapp/.prettierrc.js b/packages/google-cloud-netapp/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-netapp/.prettierrc.js +++ b/packages/google-cloud-netapp/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-networkconnectivity/.prettierignore b/packages/google-cloud-networkconnectivity/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-networkconnectivity/.prettierignore +++ b/packages/google-cloud-networkconnectivity/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-networkconnectivity/.prettierrc.js b/packages/google-cloud-networkconnectivity/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-networkconnectivity/.prettierrc.js +++ b/packages/google-cloud-networkconnectivity/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-networkmanagement/.prettierignore b/packages/google-cloud-networkmanagement/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-networkmanagement/.prettierignore +++ b/packages/google-cloud-networkmanagement/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-networkmanagement/.prettierrc.js b/packages/google-cloud-networkmanagement/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-networkmanagement/.prettierrc.js +++ b/packages/google-cloud-networkmanagement/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-networksecurity/.prettierignore b/packages/google-cloud-networksecurity/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-networksecurity/.prettierignore +++ b/packages/google-cloud-networksecurity/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-networksecurity/.prettierrc.js b/packages/google-cloud-networksecurity/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-networksecurity/.prettierrc.js +++ b/packages/google-cloud-networksecurity/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-networkservices/.prettierignore b/packages/google-cloud-networkservices/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-networkservices/.prettierignore +++ b/packages/google-cloud-networkservices/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-networkservices/.prettierrc.js b/packages/google-cloud-networkservices/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-networkservices/.prettierrc.js +++ b/packages/google-cloud-networkservices/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-notebooks/.prettierignore b/packages/google-cloud-notebooks/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-notebooks/.prettierignore +++ b/packages/google-cloud-notebooks/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-notebooks/.prettierrc.js b/packages/google-cloud-notebooks/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-notebooks/.prettierrc.js +++ b/packages/google-cloud-notebooks/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-oracledatabase/.prettierignore b/packages/google-cloud-oracledatabase/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-oracledatabase/.prettierignore +++ b/packages/google-cloud-oracledatabase/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-oracledatabase/.prettierrc.js b/packages/google-cloud-oracledatabase/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-oracledatabase/.prettierrc.js +++ b/packages/google-cloud-oracledatabase/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-orchestration-airflow-service/.prettierignore b/packages/google-cloud-orchestration-airflow-service/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-orchestration-airflow-service/.prettierignore +++ b/packages/google-cloud-orchestration-airflow-service/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-orchestration-airflow-service/.prettierrc.js b/packages/google-cloud-orchestration-airflow-service/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-orchestration-airflow-service/.prettierrc.js +++ b/packages/google-cloud-orchestration-airflow-service/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-orgpolicy/.prettierignore b/packages/google-cloud-orgpolicy/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-orgpolicy/.prettierignore +++ b/packages/google-cloud-orgpolicy/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-orgpolicy/.prettierrc.js b/packages/google-cloud-orgpolicy/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-orgpolicy/.prettierrc.js +++ b/packages/google-cloud-orgpolicy/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-osconfig/.prettierignore b/packages/google-cloud-osconfig/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-osconfig/.prettierignore +++ b/packages/google-cloud-osconfig/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-osconfig/.prettierrc.js b/packages/google-cloud-osconfig/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-osconfig/.prettierrc.js +++ b/packages/google-cloud-osconfig/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-oslogin/.prettierignore b/packages/google-cloud-oslogin/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-oslogin/.prettierignore +++ b/packages/google-cloud-oslogin/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-oslogin/.prettierrc.js b/packages/google-cloud-oslogin/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-oslogin/.prettierrc.js +++ b/packages/google-cloud-oslogin/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-parallelstore/.prettierignore b/packages/google-cloud-parallelstore/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-parallelstore/.prettierignore +++ b/packages/google-cloud-parallelstore/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-parallelstore/.prettierrc.js b/packages/google-cloud-parallelstore/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-parallelstore/.prettierrc.js +++ b/packages/google-cloud-parallelstore/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-parametermanager/.prettierignore b/packages/google-cloud-parametermanager/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-parametermanager/.prettierignore +++ b/packages/google-cloud-parametermanager/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-parametermanager/.prettierrc.js b/packages/google-cloud-parametermanager/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-parametermanager/.prettierrc.js +++ b/packages/google-cloud-parametermanager/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-phishingprotection/.prettierignore b/packages/google-cloud-phishingprotection/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-phishingprotection/.prettierignore +++ b/packages/google-cloud-phishingprotection/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-phishingprotection/.prettierrc.js b/packages/google-cloud-phishingprotection/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-phishingprotection/.prettierrc.js +++ b/packages/google-cloud-phishingprotection/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-policysimulator/.prettierignore b/packages/google-cloud-policysimulator/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-policysimulator/.prettierignore +++ b/packages/google-cloud-policysimulator/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-policysimulator/.prettierrc.js b/packages/google-cloud-policysimulator/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-policysimulator/.prettierrc.js +++ b/packages/google-cloud-policysimulator/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-policytroubleshooter-iam/.prettierignore b/packages/google-cloud-policytroubleshooter-iam/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-policytroubleshooter-iam/.prettierignore +++ b/packages/google-cloud-policytroubleshooter-iam/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-policytroubleshooter-iam/.prettierrc.js b/packages/google-cloud-policytroubleshooter-iam/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-policytroubleshooter-iam/.prettierrc.js +++ b/packages/google-cloud-policytroubleshooter-iam/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-policytroubleshooter/.prettierignore b/packages/google-cloud-policytroubleshooter/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-policytroubleshooter/.prettierignore +++ b/packages/google-cloud-policytroubleshooter/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-policytroubleshooter/.prettierrc.js b/packages/google-cloud-policytroubleshooter/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-policytroubleshooter/.prettierrc.js +++ b/packages/google-cloud-policytroubleshooter/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-privatecatalog/.prettierignore b/packages/google-cloud-privatecatalog/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-privatecatalog/.prettierignore +++ b/packages/google-cloud-privatecatalog/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-privatecatalog/.prettierrc.js b/packages/google-cloud-privatecatalog/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-privatecatalog/.prettierrc.js +++ b/packages/google-cloud-privatecatalog/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-privilegedaccessmanager/.prettierignore b/packages/google-cloud-privilegedaccessmanager/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-privilegedaccessmanager/.prettierignore +++ b/packages/google-cloud-privilegedaccessmanager/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-privilegedaccessmanager/.prettierrc.js b/packages/google-cloud-privilegedaccessmanager/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-privilegedaccessmanager/.prettierrc.js +++ b/packages/google-cloud-privilegedaccessmanager/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-rapidmigrationassessment/.prettierignore b/packages/google-cloud-rapidmigrationassessment/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-rapidmigrationassessment/.prettierignore +++ b/packages/google-cloud-rapidmigrationassessment/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-rapidmigrationassessment/.prettierrc.js b/packages/google-cloud-rapidmigrationassessment/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-rapidmigrationassessment/.prettierrc.js +++ b/packages/google-cloud-rapidmigrationassessment/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-recaptchaenterprise/.prettierignore b/packages/google-cloud-recaptchaenterprise/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-recaptchaenterprise/.prettierignore +++ b/packages/google-cloud-recaptchaenterprise/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-recaptchaenterprise/.prettierrc.js b/packages/google-cloud-recaptchaenterprise/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-recaptchaenterprise/.prettierrc.js +++ b/packages/google-cloud-recaptchaenterprise/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-recommender/.prettierignore b/packages/google-cloud-recommender/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-recommender/.prettierignore +++ b/packages/google-cloud-recommender/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-recommender/.prettierrc.js b/packages/google-cloud-recommender/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-recommender/.prettierrc.js +++ b/packages/google-cloud-recommender/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-redis-cluster/.prettierignore b/packages/google-cloud-redis-cluster/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-redis-cluster/.prettierignore +++ b/packages/google-cloud-redis-cluster/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-redis-cluster/.prettierrc.js b/packages/google-cloud-redis-cluster/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-redis-cluster/.prettierrc.js +++ b/packages/google-cloud-redis-cluster/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-redis/.prettierignore b/packages/google-cloud-redis/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-redis/.prettierignore +++ b/packages/google-cloud-redis/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-redis/.prettierrc.js b/packages/google-cloud-redis/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-redis/.prettierrc.js +++ b/packages/google-cloud-redis/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-resourcemanager/.prettierignore b/packages/google-cloud-resourcemanager/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-resourcemanager/.prettierignore +++ b/packages/google-cloud-resourcemanager/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-resourcemanager/.prettierrc.js b/packages/google-cloud-resourcemanager/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-resourcemanager/.prettierrc.js +++ b/packages/google-cloud-resourcemanager/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-retail/.prettierignore b/packages/google-cloud-retail/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-retail/.prettierignore +++ b/packages/google-cloud-retail/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-retail/.prettierrc.js b/packages/google-cloud-retail/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-retail/.prettierrc.js +++ b/packages/google-cloud-retail/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-run/.prettierignore b/packages/google-cloud-run/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-run/.prettierignore +++ b/packages/google-cloud-run/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-run/.prettierrc.js b/packages/google-cloud-run/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-run/.prettierrc.js +++ b/packages/google-cloud-run/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-saasplatform-saasservicemgmt/.prettierignore b/packages/google-cloud-saasplatform-saasservicemgmt/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-saasplatform-saasservicemgmt/.prettierignore +++ b/packages/google-cloud-saasplatform-saasservicemgmt/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-saasplatform-saasservicemgmt/.prettierrc.js b/packages/google-cloud-saasplatform-saasservicemgmt/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-saasplatform-saasservicemgmt/.prettierrc.js +++ b/packages/google-cloud-saasplatform-saasservicemgmt/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-scheduler/.prettierignore b/packages/google-cloud-scheduler/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-scheduler/.prettierignore +++ b/packages/google-cloud-scheduler/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-scheduler/.prettierrc.js b/packages/google-cloud-scheduler/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-scheduler/.prettierrc.js +++ b/packages/google-cloud-scheduler/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-secretmanager/.prettierignore b/packages/google-cloud-secretmanager/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-secretmanager/.prettierignore +++ b/packages/google-cloud-secretmanager/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-secretmanager/.prettierrc.js b/packages/google-cloud-secretmanager/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-secretmanager/.prettierrc.js +++ b/packages/google-cloud-secretmanager/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-securesourcemanager/.prettierignore b/packages/google-cloud-securesourcemanager/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-securesourcemanager/.prettierignore +++ b/packages/google-cloud-securesourcemanager/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-securesourcemanager/.prettierrc.js b/packages/google-cloud-securesourcemanager/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-securesourcemanager/.prettierrc.js +++ b/packages/google-cloud-securesourcemanager/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-security-privateca/.prettierignore b/packages/google-cloud-security-privateca/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-security-privateca/.prettierignore +++ b/packages/google-cloud-security-privateca/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-security-privateca/.prettierrc.js b/packages/google-cloud-security-privateca/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-security-privateca/.prettierrc.js +++ b/packages/google-cloud-security-privateca/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-security-publicca/.prettierignore b/packages/google-cloud-security-publicca/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-security-publicca/.prettierignore +++ b/packages/google-cloud-security-publicca/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-security-publicca/.prettierrc.js b/packages/google-cloud-security-publicca/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-security-publicca/.prettierrc.js +++ b/packages/google-cloud-security-publicca/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-securitycenter/.prettierignore b/packages/google-cloud-securitycenter/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-securitycenter/.prettierignore +++ b/packages/google-cloud-securitycenter/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-securitycenter/.prettierrc.js b/packages/google-cloud-securitycenter/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-securitycenter/.prettierrc.js +++ b/packages/google-cloud-securitycenter/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-securitycentermanagement/.prettierignore b/packages/google-cloud-securitycentermanagement/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-securitycentermanagement/.prettierignore +++ b/packages/google-cloud-securitycentermanagement/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-securitycentermanagement/.prettierrc.js b/packages/google-cloud-securitycentermanagement/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-securitycentermanagement/.prettierrc.js +++ b/packages/google-cloud-securitycentermanagement/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-servicedirectory/.prettierignore b/packages/google-cloud-servicedirectory/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-servicedirectory/.prettierignore +++ b/packages/google-cloud-servicedirectory/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-servicedirectory/.prettierrc.js b/packages/google-cloud-servicedirectory/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-servicedirectory/.prettierrc.js +++ b/packages/google-cloud-servicedirectory/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-servicehealth/.prettierignore b/packages/google-cloud-servicehealth/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-servicehealth/.prettierignore +++ b/packages/google-cloud-servicehealth/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-servicehealth/.prettierrc.js b/packages/google-cloud-servicehealth/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-servicehealth/.prettierrc.js +++ b/packages/google-cloud-servicehealth/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-shell/.prettierignore b/packages/google-cloud-shell/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-shell/.prettierignore +++ b/packages/google-cloud-shell/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-shell/.prettierrc.js b/packages/google-cloud-shell/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-shell/.prettierrc.js +++ b/packages/google-cloud-shell/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-speech/.prettierignore b/packages/google-cloud-speech/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-speech/.prettierignore +++ b/packages/google-cloud-speech/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-speech/.prettierrc.js b/packages/google-cloud-speech/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-speech/.prettierrc.js +++ b/packages/google-cloud-speech/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-sql/.prettierignore b/packages/google-cloud-sql/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-sql/.prettierignore +++ b/packages/google-cloud-sql/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-sql/.prettierrc.js b/packages/google-cloud-sql/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-sql/.prettierrc.js +++ b/packages/google-cloud-sql/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-storagebatchoperations/.prettierignore b/packages/google-cloud-storagebatchoperations/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-storagebatchoperations/.prettierignore +++ b/packages/google-cloud-storagebatchoperations/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-storagebatchoperations/.prettierrc.js b/packages/google-cloud-storagebatchoperations/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-storagebatchoperations/.prettierrc.js +++ b/packages/google-cloud-storagebatchoperations/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-storageinsights/.prettierignore b/packages/google-cloud-storageinsights/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-storageinsights/.prettierignore +++ b/packages/google-cloud-storageinsights/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-storageinsights/.prettierrc.js b/packages/google-cloud-storageinsights/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-storageinsights/.prettierrc.js +++ b/packages/google-cloud-storageinsights/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-support/.prettierignore b/packages/google-cloud-support/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-support/.prettierignore +++ b/packages/google-cloud-support/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-support/.prettierrc.js b/packages/google-cloud-support/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-support/.prettierrc.js +++ b/packages/google-cloud-support/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-talent/.prettierignore b/packages/google-cloud-talent/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-talent/.prettierignore +++ b/packages/google-cloud-talent/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-talent/.prettierrc.js b/packages/google-cloud-talent/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-talent/.prettierrc.js +++ b/packages/google-cloud-talent/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-tasks/.prettierignore b/packages/google-cloud-tasks/.prettierignore index a27d1f92d1b7..e69de29bb2d1 100644 --- a/packages/google-cloud-tasks/.prettierignore +++ b/packages/google-cloud-tasks/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ \ No newline at end of file diff --git a/packages/google-cloud-telcoautomation/.prettierignore b/packages/google-cloud-telcoautomation/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-telcoautomation/.prettierignore +++ b/packages/google-cloud-telcoautomation/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-telcoautomation/.prettierrc.js b/packages/google-cloud-telcoautomation/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-telcoautomation/.prettierrc.js +++ b/packages/google-cloud-telcoautomation/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-texttospeech/.prettierignore b/packages/google-cloud-texttospeech/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-texttospeech/.prettierignore +++ b/packages/google-cloud-texttospeech/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-texttospeech/.prettierrc.js b/packages/google-cloud-texttospeech/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-texttospeech/.prettierrc.js +++ b/packages/google-cloud-texttospeech/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-tpu/.prettierignore b/packages/google-cloud-tpu/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-tpu/.prettierignore +++ b/packages/google-cloud-tpu/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-tpu/.prettierrc.js b/packages/google-cloud-tpu/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-tpu/.prettierrc.js +++ b/packages/google-cloud-tpu/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-translate/.prettierignore b/packages/google-cloud-translate/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-translate/.prettierignore +++ b/packages/google-cloud-translate/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-translate/.prettierrc.js b/packages/google-cloud-translate/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-translate/.prettierrc.js +++ b/packages/google-cloud-translate/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-vectorsearch/.prettierignore b/packages/google-cloud-vectorsearch/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-vectorsearch/.prettierignore +++ b/packages/google-cloud-vectorsearch/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-vectorsearch/.prettierrc.js b/packages/google-cloud-vectorsearch/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-vectorsearch/.prettierrc.js +++ b/packages/google-cloud-vectorsearch/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-video-livestream/.prettierignore b/packages/google-cloud-video-livestream/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-video-livestream/.prettierignore +++ b/packages/google-cloud-video-livestream/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-video-livestream/.prettierrc.js b/packages/google-cloud-video-livestream/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-video-livestream/.prettierrc.js +++ b/packages/google-cloud-video-livestream/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-video-stitcher/.prettierignore b/packages/google-cloud-video-stitcher/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-video-stitcher/.prettierignore +++ b/packages/google-cloud-video-stitcher/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-video-stitcher/.prettierrc.js b/packages/google-cloud-video-stitcher/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-video-stitcher/.prettierrc.js +++ b/packages/google-cloud-video-stitcher/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-video-transcoder/.prettierignore b/packages/google-cloud-video-transcoder/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-video-transcoder/.prettierignore +++ b/packages/google-cloud-video-transcoder/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-video-transcoder/.prettierrc.js b/packages/google-cloud-video-transcoder/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-video-transcoder/.prettierrc.js +++ b/packages/google-cloud-video-transcoder/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-videointelligence/.prettierignore b/packages/google-cloud-videointelligence/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-videointelligence/.prettierignore +++ b/packages/google-cloud-videointelligence/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-videointelligence/.prettierrc.js b/packages/google-cloud-videointelligence/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-videointelligence/.prettierrc.js +++ b/packages/google-cloud-videointelligence/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-vision/.prettierignore b/packages/google-cloud-vision/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-vision/.prettierignore +++ b/packages/google-cloud-vision/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-vision/.prettierrc.js b/packages/google-cloud-vision/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-vision/.prettierrc.js +++ b/packages/google-cloud-vision/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-visionai/.prettierignore b/packages/google-cloud-visionai/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-visionai/.prettierignore +++ b/packages/google-cloud-visionai/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-visionai/.prettierrc.js b/packages/google-cloud-visionai/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-visionai/.prettierrc.js +++ b/packages/google-cloud-visionai/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-vmmigration/.prettierignore b/packages/google-cloud-vmmigration/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-vmmigration/.prettierignore +++ b/packages/google-cloud-vmmigration/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-vmmigration/.prettierrc.js b/packages/google-cloud-vmmigration/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-vmmigration/.prettierrc.js +++ b/packages/google-cloud-vmmigration/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-vmwareengine/.prettierignore b/packages/google-cloud-vmwareengine/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-vmwareengine/.prettierignore +++ b/packages/google-cloud-vmwareengine/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-vmwareengine/.prettierrc.js b/packages/google-cloud-vmwareengine/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-vmwareengine/.prettierrc.js +++ b/packages/google-cloud-vmwareengine/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-vpcaccess/.prettierignore b/packages/google-cloud-vpcaccess/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-vpcaccess/.prettierignore +++ b/packages/google-cloud-vpcaccess/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-vpcaccess/.prettierrc.js b/packages/google-cloud-vpcaccess/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-vpcaccess/.prettierrc.js +++ b/packages/google-cloud-vpcaccess/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-webrisk/.prettierignore b/packages/google-cloud-webrisk/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-webrisk/.prettierignore +++ b/packages/google-cloud-webrisk/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-webrisk/.prettierrc.js b/packages/google-cloud-webrisk/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-webrisk/.prettierrc.js +++ b/packages/google-cloud-webrisk/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-websecurityscanner/.prettierignore b/packages/google-cloud-websecurityscanner/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-websecurityscanner/.prettierignore +++ b/packages/google-cloud-websecurityscanner/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-websecurityscanner/.prettierrc.js b/packages/google-cloud-websecurityscanner/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-websecurityscanner/.prettierrc.js +++ b/packages/google-cloud-websecurityscanner/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-workflows/.prettierignore b/packages/google-cloud-workflows/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-workflows/.prettierignore +++ b/packages/google-cloud-workflows/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-workflows/.prettierrc.js b/packages/google-cloud-workflows/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-workflows/.prettierrc.js +++ b/packages/google-cloud-workflows/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-workloadmanager/.prettierignore b/packages/google-cloud-workloadmanager/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-workloadmanager/.prettierignore +++ b/packages/google-cloud-workloadmanager/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-workloadmanager/.prettierrc.js b/packages/google-cloud-workloadmanager/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-workloadmanager/.prettierrc.js +++ b/packages/google-cloud-workloadmanager/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-workstations/.prettierignore b/packages/google-cloud-workstations/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-cloud-workstations/.prettierignore +++ b/packages/google-cloud-workstations/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-cloud-workstations/.prettierrc.js b/packages/google-cloud-workstations/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-cloud-workstations/.prettierrc.js +++ b/packages/google-cloud-workstations/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-container/.prettierignore b/packages/google-container/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-container/.prettierignore +++ b/packages/google-container/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-container/.prettierrc.js b/packages/google-container/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-container/.prettierrc.js +++ b/packages/google-container/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-dataflow/.prettierignore b/packages/google-dataflow/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-dataflow/.prettierignore +++ b/packages/google-dataflow/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-dataflow/.prettierrc.js b/packages/google-dataflow/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-dataflow/.prettierrc.js +++ b/packages/google-dataflow/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-devtools-artifactregistry/.prettierignore b/packages/google-devtools-artifactregistry/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-devtools-artifactregistry/.prettierignore +++ b/packages/google-devtools-artifactregistry/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-devtools-artifactregistry/.prettierrc.js b/packages/google-devtools-artifactregistry/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-devtools-artifactregistry/.prettierrc.js +++ b/packages/google-devtools-artifactregistry/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-devtools-cloudbuild/.prettierignore b/packages/google-devtools-cloudbuild/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-devtools-cloudbuild/.prettierignore +++ b/packages/google-devtools-cloudbuild/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-devtools-cloudbuild/.prettierrc.js b/packages/google-devtools-cloudbuild/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-devtools-cloudbuild/.prettierrc.js +++ b/packages/google-devtools-cloudbuild/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-devtools-cloudprofiler/.prettierignore b/packages/google-devtools-cloudprofiler/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-devtools-cloudprofiler/.prettierignore +++ b/packages/google-devtools-cloudprofiler/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-devtools-cloudprofiler/.prettierrc.js b/packages/google-devtools-cloudprofiler/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-devtools-cloudprofiler/.prettierrc.js +++ b/packages/google-devtools-cloudprofiler/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-devtools-containeranalysis/.prettierignore b/packages/google-devtools-containeranalysis/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-devtools-containeranalysis/.prettierignore +++ b/packages/google-devtools-containeranalysis/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-devtools-containeranalysis/.prettierrc.js b/packages/google-devtools-containeranalysis/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-devtools-containeranalysis/.prettierrc.js +++ b/packages/google-devtools-containeranalysis/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-iam-credentials/.prettierignore b/packages/google-iam-credentials/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-iam-credentials/.prettierignore +++ b/packages/google-iam-credentials/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-iam-credentials/.prettierrc.js b/packages/google-iam-credentials/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-iam-credentials/.prettierrc.js +++ b/packages/google-iam-credentials/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-iam/.prettierignore b/packages/google-iam/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-iam/.prettierignore +++ b/packages/google-iam/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-iam/.prettierrc.js b/packages/google-iam/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-iam/.prettierrc.js +++ b/packages/google-iam/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-identity-accesscontextmanager/.prettierignore b/packages/google-identity-accesscontextmanager/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-identity-accesscontextmanager/.prettierignore +++ b/packages/google-identity-accesscontextmanager/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-identity-accesscontextmanager/.prettierrc.js b/packages/google-identity-accesscontextmanager/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-identity-accesscontextmanager/.prettierrc.js +++ b/packages/google-identity-accesscontextmanager/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-maps-addressvalidation/.prettierignore b/packages/google-maps-addressvalidation/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-maps-addressvalidation/.prettierignore +++ b/packages/google-maps-addressvalidation/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-maps-addressvalidation/.prettierrc.js b/packages/google-maps-addressvalidation/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-maps-addressvalidation/.prettierrc.js +++ b/packages/google-maps-addressvalidation/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-maps-areainsights/.prettierignore b/packages/google-maps-areainsights/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-maps-areainsights/.prettierignore +++ b/packages/google-maps-areainsights/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-maps-areainsights/.prettierrc.js b/packages/google-maps-areainsights/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-maps-areainsights/.prettierrc.js +++ b/packages/google-maps-areainsights/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-maps-fleetengine-delivery/.prettierignore b/packages/google-maps-fleetengine-delivery/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-maps-fleetengine-delivery/.prettierignore +++ b/packages/google-maps-fleetengine-delivery/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-maps-fleetengine-delivery/.prettierrc.js b/packages/google-maps-fleetengine-delivery/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-maps-fleetengine-delivery/.prettierrc.js +++ b/packages/google-maps-fleetengine-delivery/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-maps-fleetengine/.prettierignore b/packages/google-maps-fleetengine/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-maps-fleetengine/.prettierignore +++ b/packages/google-maps-fleetengine/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-maps-fleetengine/.prettierrc.js b/packages/google-maps-fleetengine/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-maps-fleetengine/.prettierrc.js +++ b/packages/google-maps-fleetengine/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-maps-fleetengine/v1/.prettierignore b/packages/google-maps-fleetengine/v1/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-maps-fleetengine/v1/.prettierignore +++ b/packages/google-maps-fleetengine/v1/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-maps-fleetengine/v1/.prettierrc.js b/packages/google-maps-fleetengine/v1/.prettierrc.js index d89a632f90b0..e69de29bb2d1 100644 --- a/packages/google-maps-fleetengine/v1/.prettierrc.js +++ b/packages/google-maps-fleetengine/v1/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2025 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-maps-geocode/.prettierignore b/packages/google-maps-geocode/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-maps-geocode/.prettierignore +++ b/packages/google-maps-geocode/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-maps-geocode/.prettierrc.js b/packages/google-maps-geocode/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-maps-geocode/.prettierrc.js +++ b/packages/google-maps-geocode/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-maps-mapsplatformdatasets/.prettierignore b/packages/google-maps-mapsplatformdatasets/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-maps-mapsplatformdatasets/.prettierignore +++ b/packages/google-maps-mapsplatformdatasets/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-maps-mapsplatformdatasets/.prettierrc.js b/packages/google-maps-mapsplatformdatasets/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-maps-mapsplatformdatasets/.prettierrc.js +++ b/packages/google-maps-mapsplatformdatasets/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-maps-navconnect/.prettierignore b/packages/google-maps-navconnect/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-maps-navconnect/.prettierignore +++ b/packages/google-maps-navconnect/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-maps-navconnect/.prettierrc.js b/packages/google-maps-navconnect/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-maps-navconnect/.prettierrc.js +++ b/packages/google-maps-navconnect/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-maps-places/.prettierignore b/packages/google-maps-places/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-maps-places/.prettierignore +++ b/packages/google-maps-places/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-maps-places/.prettierrc.js b/packages/google-maps-places/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-maps-places/.prettierrc.js +++ b/packages/google-maps-places/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-maps-routeoptimization/.prettierignore b/packages/google-maps-routeoptimization/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-maps-routeoptimization/.prettierignore +++ b/packages/google-maps-routeoptimization/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-maps-routeoptimization/.prettierrc.js b/packages/google-maps-routeoptimization/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-maps-routeoptimization/.prettierrc.js +++ b/packages/google-maps-routeoptimization/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-maps-routing/.prettierignore b/packages/google-maps-routing/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-maps-routing/.prettierignore +++ b/packages/google-maps-routing/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-maps-routing/.prettierrc.js b/packages/google-maps-routing/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-maps-routing/.prettierrc.js +++ b/packages/google-maps-routing/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-maps-solar/.prettierignore b/packages/google-maps-solar/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-maps-solar/.prettierignore +++ b/packages/google-maps-solar/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-maps-solar/.prettierrc.js b/packages/google-maps-solar/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-maps-solar/.prettierrc.js +++ b/packages/google-maps-solar/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-marketingplatform-admin/.prettierignore b/packages/google-marketingplatform-admin/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-marketingplatform-admin/.prettierignore +++ b/packages/google-marketingplatform-admin/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-marketingplatform-admin/.prettierrc.js b/packages/google-marketingplatform-admin/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-marketingplatform-admin/.prettierrc.js +++ b/packages/google-marketingplatform-admin/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-monitoring-dashboard/.prettierignore b/packages/google-monitoring-dashboard/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-monitoring-dashboard/.prettierignore +++ b/packages/google-monitoring-dashboard/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-monitoring-dashboard/.prettierrc.js b/packages/google-monitoring-dashboard/.prettierrc.js index b189724933b2..e69de29bb2d1 100644 --- a/packages/google-monitoring-dashboard/.prettierrc.js +++ b/packages/google-monitoring-dashboard/.prettierrc.js @@ -1,17 +0,0 @@ -// Copyright 2025 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-privacy-dlp/.prettierignore b/packages/google-privacy-dlp/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-privacy-dlp/.prettierignore +++ b/packages/google-privacy-dlp/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-privacy-dlp/.prettierrc.js b/packages/google-privacy-dlp/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-privacy-dlp/.prettierrc.js +++ b/packages/google-privacy-dlp/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-shopping-css/.prettierignore b/packages/google-shopping-css/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-shopping-css/.prettierignore +++ b/packages/google-shopping-css/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-shopping-css/.prettierrc.js b/packages/google-shopping-css/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-shopping-css/.prettierrc.js +++ b/packages/google-shopping-css/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-shopping-merchant-accounts/.prettierignore b/packages/google-shopping-merchant-accounts/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-shopping-merchant-accounts/.prettierignore +++ b/packages/google-shopping-merchant-accounts/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-shopping-merchant-accounts/.prettierrc.js b/packages/google-shopping-merchant-accounts/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-shopping-merchant-accounts/.prettierrc.js +++ b/packages/google-shopping-merchant-accounts/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-shopping-merchant-conversions/.prettierignore b/packages/google-shopping-merchant-conversions/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-shopping-merchant-conversions/.prettierignore +++ b/packages/google-shopping-merchant-conversions/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-shopping-merchant-conversions/.prettierrc.js b/packages/google-shopping-merchant-conversions/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-shopping-merchant-conversions/.prettierrc.js +++ b/packages/google-shopping-merchant-conversions/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-shopping-merchant-datasources/.prettierignore b/packages/google-shopping-merchant-datasources/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-shopping-merchant-datasources/.prettierignore +++ b/packages/google-shopping-merchant-datasources/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-shopping-merchant-datasources/.prettierrc.js b/packages/google-shopping-merchant-datasources/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-shopping-merchant-datasources/.prettierrc.js +++ b/packages/google-shopping-merchant-datasources/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-shopping-merchant-inventories/.prettierignore b/packages/google-shopping-merchant-inventories/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-shopping-merchant-inventories/.prettierignore +++ b/packages/google-shopping-merchant-inventories/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-shopping-merchant-inventories/.prettierrc.js b/packages/google-shopping-merchant-inventories/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-shopping-merchant-inventories/.prettierrc.js +++ b/packages/google-shopping-merchant-inventories/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-shopping-merchant-issueresolution/.prettierignore b/packages/google-shopping-merchant-issueresolution/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-shopping-merchant-issueresolution/.prettierignore +++ b/packages/google-shopping-merchant-issueresolution/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-shopping-merchant-issueresolution/.prettierrc.js b/packages/google-shopping-merchant-issueresolution/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-shopping-merchant-issueresolution/.prettierrc.js +++ b/packages/google-shopping-merchant-issueresolution/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-shopping-merchant-lfp/.prettierignore b/packages/google-shopping-merchant-lfp/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-shopping-merchant-lfp/.prettierignore +++ b/packages/google-shopping-merchant-lfp/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-shopping-merchant-lfp/.prettierrc.js b/packages/google-shopping-merchant-lfp/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-shopping-merchant-lfp/.prettierrc.js +++ b/packages/google-shopping-merchant-lfp/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-shopping-merchant-notifications/.prettierignore b/packages/google-shopping-merchant-notifications/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-shopping-merchant-notifications/.prettierignore +++ b/packages/google-shopping-merchant-notifications/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-shopping-merchant-notifications/.prettierrc.js b/packages/google-shopping-merchant-notifications/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-shopping-merchant-notifications/.prettierrc.js +++ b/packages/google-shopping-merchant-notifications/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-shopping-merchant-ordertracking/.prettierignore b/packages/google-shopping-merchant-ordertracking/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-shopping-merchant-ordertracking/.prettierignore +++ b/packages/google-shopping-merchant-ordertracking/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-shopping-merchant-ordertracking/.prettierrc.js b/packages/google-shopping-merchant-ordertracking/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-shopping-merchant-ordertracking/.prettierrc.js +++ b/packages/google-shopping-merchant-ordertracking/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-shopping-merchant-products/.prettierignore b/packages/google-shopping-merchant-products/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-shopping-merchant-products/.prettierignore +++ b/packages/google-shopping-merchant-products/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-shopping-merchant-products/.prettierrc.js b/packages/google-shopping-merchant-products/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-shopping-merchant-products/.prettierrc.js +++ b/packages/google-shopping-merchant-products/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-shopping-merchant-promotions/.prettierignore b/packages/google-shopping-merchant-promotions/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-shopping-merchant-promotions/.prettierignore +++ b/packages/google-shopping-merchant-promotions/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-shopping-merchant-promotions/.prettierrc.js b/packages/google-shopping-merchant-promotions/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-shopping-merchant-promotions/.prettierrc.js +++ b/packages/google-shopping-merchant-promotions/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-shopping-merchant-quota/.prettierignore b/packages/google-shopping-merchant-quota/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-shopping-merchant-quota/.prettierignore +++ b/packages/google-shopping-merchant-quota/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-shopping-merchant-quota/.prettierrc.js b/packages/google-shopping-merchant-quota/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-shopping-merchant-quota/.prettierrc.js +++ b/packages/google-shopping-merchant-quota/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-shopping-merchant-reports/.prettierignore b/packages/google-shopping-merchant-reports/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-shopping-merchant-reports/.prettierignore +++ b/packages/google-shopping-merchant-reports/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-shopping-merchant-reports/.prettierrc.js b/packages/google-shopping-merchant-reports/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-shopping-merchant-reports/.prettierrc.js +++ b/packages/google-shopping-merchant-reports/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-shopping-merchant-reviews/.prettierignore b/packages/google-shopping-merchant-reviews/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-shopping-merchant-reviews/.prettierignore +++ b/packages/google-shopping-merchant-reviews/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-shopping-merchant-reviews/.prettierrc.js b/packages/google-shopping-merchant-reviews/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-shopping-merchant-reviews/.prettierrc.js +++ b/packages/google-shopping-merchant-reviews/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-storage-control/.prettierignore b/packages/google-storage-control/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-storage-control/.prettierignore +++ b/packages/google-storage-control/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-storage-control/.prettierrc.js b/packages/google-storage-control/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-storage-control/.prettierrc.js +++ b/packages/google-storage-control/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-storagetransfer/.prettierignore b/packages/google-storagetransfer/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-storagetransfer/.prettierignore +++ b/packages/google-storagetransfer/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-storagetransfer/.prettierrc.js b/packages/google-storagetransfer/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-storagetransfer/.prettierrc.js +++ b/packages/google-storagetransfer/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-streetview-publish/.prettierignore b/packages/google-streetview-publish/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/google-streetview-publish/.prettierignore +++ b/packages/google-streetview-publish/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/google-streetview-publish/.prettierrc.js b/packages/google-streetview-publish/.prettierrc.js index 7649ee3c254e..e69de29bb2d1 100644 --- a/packages/google-streetview-publish/.prettierrc.js +++ b/packages/google-streetview-publish/.prettierrc.js @@ -1,22 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/grafeas/.prettierignore b/packages/grafeas/.prettierignore index 9340ad9b86d3..e69de29bb2d1 100644 --- a/packages/grafeas/.prettierignore +++ b/packages/grafeas/.prettierignore @@ -1,6 +0,0 @@ -**/node_modules -**/coverage -test/fixtures -build/ -docs/ -protos/ diff --git a/packages/grafeas/.prettierrc.js b/packages/grafeas/.prettierrc.js index b189724933b2..e69de29bb2d1 100644 --- a/packages/grafeas/.prettierrc.js +++ b/packages/grafeas/.prettierrc.js @@ -1,17 +0,0 @@ -// Copyright 2025 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -module.exports = { - ...require('gts/.prettierrc.json') -} From f4505a8deb065f0742a3504e3e42d734b31b889a Mon Sep 17 00:00:00 2001 From: feywind <57276408+feywind@users.noreply.github.com> Date: Mon, 20 Apr 2026 18:17:59 -0400 Subject: [PATCH 03/11] chore: remove blank files --- packages/gapic-node-processing/.prettierrc.js | 0 .../.prettierrc.js | 0 .../.prettierrc.js | 0 .../google-analytics-data/.prettierrc.js | 0 .../speech-v1-nodejs/.prettierrc.js | 0 .../speech-v1p1beta1-nodejs/.prettierrc.js | 0 .../speech-v2-nodejs/.prettierrc.js | 0 .../google-cloud-speech/.prettierrc.js | 0 packages/google-ads-admanager/.prettierrc.js | 0 packages/google-ads-datamanager/.prettierrc.js | 0 .../google-ai-generativelanguage/.prettierrc.js | 0 packages/google-analytics-admin/.prettierrc.js | 0 packages/google-analytics-data/.prettierrc.js | 0 packages/google-api-apikeys/.prettierrc.js | 0 packages/google-api-cloudquotas/.prettierrc.js | 0 .../google-api-servicecontrol/.prettierrc.js | 0 .../google-api-servicemanagement/.prettierrc.js | 0 packages/google-api-serviceusage/.prettierrc.js | 0 packages/google-appengine/.prettierrc.js | 0 .../.prettierrc.js | 0 packages/google-apps-meet/.prettierrc.js | 0 packages/google-area120-tables/.prettierrc.js | 0 packages/google-chat/.prettierrc.js | 0 .../google-cloud-accessapproval/.prettierrc.js | 0 .../.prettierrc.js | 0 packages/google-cloud-aiplatform/.prettierrc.js | 0 packages/google-cloud-alloydb/.prettierrc.js | 0 packages/google-cloud-apigateway/.prettierrc.js | 0 .../google-cloud-apigeeconnect/.prettierrc.js | 0 .../google-cloud-apigeeregistry/.prettierrc.js | 0 packages/google-cloud-apihub/.prettierrc.js | 0 .../google-cloud-apiregistry/.prettierrc.js | 0 packages/google-cloud-apphub/.prettierrc.js | 0 packages/google-cloud-asset/.prettierrc.js | 0 .../.prettierrc.js | 0 .../google-cloud-auditmanager/.prettierrc.js | 0 packages/google-cloud-automl/.prettierrc.js | 0 packages/google-cloud-backupdr/.prettierrc.js | 0 .../.prettierrc.js | 0 packages/google-cloud-batch/.prettierrc.js | 0 .../.prettierrc.js | 0 .../.prettierrc.js | 0 .../.prettierrc.js | 0 .../.prettierrc.js | 0 .../.prettierrc.js | 0 .../.prettierrc.js | 0 .../.prettierrc.js | 0 .../.prettierrc.js | 0 .../.prettierrc.js | 0 .../.prettierrc.js | 0 .../.prettierrc.js | 0 .../.prettierrc.js | 0 .../google-cloud-billing-budgets/.prettierrc.js | 0 packages/google-cloud-billing/.prettierrc.js | 0 .../.prettierrc.js | 0 .../google-cloud-capacityplanner/.prettierrc.js | 17 ----------------- .../.prettierrc.js | 0 packages/google-cloud-ces/.prettierrc.js | 0 packages/google-cloud-channel/.prettierrc.js | 0 packages/google-cloud-chronicle/.prettierrc.js | 0 .../.prettierrc.js | 0 packages/google-cloud-clouddms/.prettierrc.js | 0 .../.prettierrc.js | 0 .../.prettierrc.js | 0 packages/google-cloud-compute/.prettierrc.js | 0 .../.prettierrc.js | 0 packages/google-cloud-config/.prettierrc.js | 0 .../google-cloud-configdelivery/.prettierrc.js | 0 packages/google-cloud-connectors/.prettierrc.js | 0 .../.prettierrc.js | 0 .../.prettierrc.js | 0 .../.prettierrc.js | 0 .../.prettierrc.js | 0 .../google-cloud-datacatalog/.prettierrc.js | 0 packages/google-cloud-dataform/.prettierrc.js | 0 packages/google-cloud-datafusion/.prettierrc.js | 0 .../google-cloud-datalabeling/.prettierrc.js | 0 packages/google-cloud-dataplex/.prettierrc.js | 0 packages/google-cloud-dataproc/.prettierrc.js | 0 packages/google-cloud-dataqna/.prettierrc.js | 0 packages/google-cloud-datastream/.prettierrc.js | 0 packages/google-cloud-deploy/.prettierrc.js | 0 .../.prettierrc.js | 0 .../google-cloud-devicestreaming/.prettierrc.js | 0 .../google-cloud-dialogflow-cx/.prettierrc.js | 0 packages/google-cloud-dialogflow/.prettierrc.js | 0 .../google-cloud-discoveryengine/.prettierrc.js | 0 packages/google-cloud-dns/.prettierrc.js | 0 packages/google-cloud-documentai/.prettierrc.js | 0 packages/google-cloud-domains/.prettierrc.js | 0 .../google-cloud-edgecontainer/.prettierrc.js | 0 .../google-cloud-edgenetwork/.prettierrc.js | 0 .../.prettierrc.js | 0 .../.prettierrc.js | 0 packages/google-cloud-eventarc/.prettierrc.js | 0 packages/google-cloud-filestore/.prettierrc.js | 0 .../.prettierrc.js | 0 packages/google-cloud-functions/.prettierrc.js | 0 .../.prettierrc.js | 0 .../.prettierrc.js | 0 packages/google-cloud-gkebackup/.prettierrc.js | 0 .../.prettierrc.js | 0 packages/google-cloud-gkehub/.prettierrc.js | 0 .../google-cloud-gkemulticloud/.prettierrc.js | 0 .../google-cloud-gkerecommender/.prettierrc.js | 0 .../google-cloud-gsuiteaddons/.prettierrc.js | 0 .../.prettierrc.js | 0 packages/google-cloud-iap/.prettierrc.js | 0 packages/google-cloud-ids/.prettierrc.js | 0 packages/google-cloud-iot/.prettierrc.js | 0 .../google-cloud-kms-inventory/.prettierrc.js | 0 packages/google-cloud-kms/.prettierrc.js | 0 packages/google-cloud-language/.prettierrc.js | 0 .../google-cloud-licensemanager/.prettierrc.js | 0 .../google-cloud-lifesciences/.prettierrc.js | 0 .../$1/.prettierrc.js | 0 .../google-cloud-locationfinder/.prettierrc.js | 0 packages/google-cloud-lustre/.prettierrc.js | 0 .../google-cloud-maintenance-api/.prettierrc.js | 0 .../.prettierrc.js | 0 .../.prettierrc.js | 0 .../google-cloud-managedkafka/.prettierrc.js | 0 .../google-cloud-managedkafka/v1/.prettierrc.js | 0 .../.prettierrc.js | 0 packages/google-cloud-memcache/.prettierrc.js | 0 .../google-cloud-memorystore/.prettierrc.js | 0 packages/google-cloud-metastore/.prettierrc.js | 0 .../google-cloud-migrationcenter/.prettierrc.js | 0 packages/google-cloud-modelarmor/.prettierrc.js | 0 packages/google-cloud-monitoring/.prettierrc.js | 0 packages/google-cloud-netapp/.prettierrc.js | 0 .../.prettierrc.js | 0 .../.prettierrc.js | 0 .../google-cloud-networksecurity/.prettierrc.js | 0 .../google-cloud-networkservices/.prettierrc.js | 0 packages/google-cloud-notebooks/.prettierrc.js | 0 .../google-cloud-oracledatabase/.prettierrc.js | 0 .../.prettierrc.js | 0 packages/google-cloud-orgpolicy/.prettierrc.js | 0 packages/google-cloud-osconfig/.prettierrc.js | 0 packages/google-cloud-oslogin/.prettierrc.js | 0 .../google-cloud-parallelstore/.prettierrc.js | 0 .../.prettierrc.js | 0 .../.prettierrc.js | 0 .../google-cloud-policysimulator/.prettierrc.js | 0 .../.prettierrc.js | 0 .../.prettierrc.js | 0 .../google-cloud-privatecatalog/.prettierrc.js | 0 .../.prettierrc.js | 0 .../.prettierrc.js | 0 .../.prettierrc.js | 0 .../google-cloud-recommender/.prettierrc.js | 0 .../google-cloud-redis-cluster/.prettierrc.js | 0 packages/google-cloud-redis/.prettierrc.js | 0 .../google-cloud-resourcemanager/.prettierrc.js | 0 packages/google-cloud-retail/.prettierrc.js | 0 packages/google-cloud-run/.prettierrc.js | 0 .../.prettierrc.js | 0 packages/google-cloud-scheduler/.prettierrc.js | 0 .../google-cloud-secretmanager/.prettierrc.js | 0 .../.prettierrc.js | 0 .../.prettierrc.js | 0 .../.prettierrc.js | 0 .../google-cloud-securitycenter/.prettierrc.js | 0 .../.prettierrc.js | 0 .../.prettierrc.js | 0 .../google-cloud-servicehealth/.prettierrc.js | 0 packages/google-cloud-shell/.prettierrc.js | 0 packages/google-cloud-speech/.prettierrc.js | 0 packages/google-cloud-sql/.prettierrc.js | 0 .../.prettierrc.js | 0 .../google-cloud-storageinsights/.prettierrc.js | 0 packages/google-cloud-support/.prettierrc.js | 0 packages/google-cloud-talent/.prettierrc.js | 0 .../google-cloud-telcoautomation/.prettierrc.js | 0 .../google-cloud-texttospeech/.prettierrc.js | 0 packages/google-cloud-tpu/.prettierrc.js | 0 packages/google-cloud-translate/.prettierrc.js | 0 .../google-cloud-vectorsearch/.prettierrc.js | 0 .../.prettierrc.js | 0 .../google-cloud-video-stitcher/.prettierrc.js | 0 .../.prettierrc.js | 0 .../.prettierrc.js | 0 packages/google-cloud-vision/.prettierrc.js | 0 packages/google-cloud-visionai/.prettierrc.js | 0 .../google-cloud-vmmigration/.prettierrc.js | 0 .../google-cloud-vmwareengine/.prettierrc.js | 0 packages/google-cloud-vpcaccess/.prettierrc.js | 0 packages/google-cloud-webrisk/.prettierrc.js | 0 .../.prettierrc.js | 0 packages/google-cloud-workflows/.prettierrc.js | 0 .../google-cloud-workloadmanager/.prettierrc.js | 0 .../google-cloud-workstations/.prettierrc.js | 0 packages/google-container/.prettierrc.js | 0 packages/google-dataflow/.prettierrc.js | 0 .../.prettierrc.js | 0 .../google-devtools-cloudbuild/.prettierrc.js | 0 .../.prettierrc.js | 0 .../.prettierrc.js | 0 packages/google-iam-credentials/.prettierrc.js | 0 packages/google-iam/.prettierrc.js | 0 .../.prettierrc.js | 0 .../.prettierrc.js | 0 .../google-maps-areainsights/.prettierrc.js | 0 .../.prettierrc.js | 0 packages/google-maps-fleetengine/.prettierrc.js | 0 .../google-maps-fleetengine/v1/.prettierrc.js | 0 packages/google-maps-geocode/.prettierrc.js | 0 .../.prettierrc.js | 0 packages/google-maps-navconnect/.prettierrc.js | 0 packages/google-maps-places/.prettierrc.js | 0 .../.prettierrc.js | 0 packages/google-maps-routing/.prettierrc.js | 0 packages/google-maps-solar/.prettierrc.js | 0 .../.prettierrc.js | 0 .../google-monitoring-dashboard/.prettierrc.js | 0 packages/google-privacy-dlp/.prettierrc.js | 0 packages/google-shopping-css/.prettierrc.js | 0 .../.prettierrc.js | 0 .../.prettierrc.js | 0 .../.prettierrc.js | 0 .../.prettierrc.js | 0 .../.prettierrc.js | 0 .../google-shopping-merchant-lfp/.prettierrc.js | 0 .../.prettierrc.js | 0 .../.prettierrc.js | 0 .../.prettierrc.js | 0 .../.prettierrc.js | 0 .../.prettierrc.js | 0 .../.prettierrc.js | 0 .../.prettierrc.js | 0 packages/google-storage-control/.prettierrc.js | 0 packages/google-storagetransfer/.prettierrc.js | 0 .../google-streetview-publish/.prettierrc.js | 0 packages/grafeas/.prettierrc.js | 0 235 files changed, 17 deletions(-) delete mode 100644 packages/gapic-node-processing/.prettierrc.js delete mode 100644 packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/.prettierrc.js delete mode 100644 packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/google-analytics-data-v1beta-nodejs/.prettierrc.js delete mode 100644 packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data/.prettierrc.js delete mode 100644 packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-speech-nodejs/speech-v1-nodejs/.prettierrc.js delete mode 100644 packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-speech-nodejs/speech-v1p1beta1-nodejs/.prettierrc.js delete mode 100644 packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-speech-nodejs/speech-v2-nodejs/.prettierrc.js delete mode 100644 packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-speech/.prettierrc.js delete mode 100644 packages/google-ads-admanager/.prettierrc.js delete mode 100644 packages/google-ads-datamanager/.prettierrc.js delete mode 100644 packages/google-ai-generativelanguage/.prettierrc.js delete mode 100644 packages/google-analytics-admin/.prettierrc.js delete mode 100644 packages/google-analytics-data/.prettierrc.js delete mode 100644 packages/google-api-apikeys/.prettierrc.js delete mode 100644 packages/google-api-cloudquotas/.prettierrc.js delete mode 100644 packages/google-api-servicecontrol/.prettierrc.js delete mode 100644 packages/google-api-servicemanagement/.prettierrc.js delete mode 100644 packages/google-api-serviceusage/.prettierrc.js delete mode 100644 packages/google-appengine/.prettierrc.js delete mode 100644 packages/google-apps-events-subscriptions/.prettierrc.js delete mode 100644 packages/google-apps-meet/.prettierrc.js delete mode 100644 packages/google-area120-tables/.prettierrc.js delete mode 100644 packages/google-chat/.prettierrc.js delete mode 100644 packages/google-cloud-accessapproval/.prettierrc.js delete mode 100644 packages/google-cloud-advisorynotifications/.prettierrc.js delete mode 100644 packages/google-cloud-aiplatform/.prettierrc.js delete mode 100644 packages/google-cloud-alloydb/.prettierrc.js delete mode 100644 packages/google-cloud-apigateway/.prettierrc.js delete mode 100644 packages/google-cloud-apigeeconnect/.prettierrc.js delete mode 100644 packages/google-cloud-apigeeregistry/.prettierrc.js delete mode 100644 packages/google-cloud-apihub/.prettierrc.js delete mode 100644 packages/google-cloud-apiregistry/.prettierrc.js delete mode 100644 packages/google-cloud-apphub/.prettierrc.js delete mode 100644 packages/google-cloud-asset/.prettierrc.js delete mode 100644 packages/google-cloud-assuredworkloads/.prettierrc.js delete mode 100644 packages/google-cloud-auditmanager/.prettierrc.js delete mode 100644 packages/google-cloud-automl/.prettierrc.js delete mode 100644 packages/google-cloud-backupdr/.prettierrc.js delete mode 100644 packages/google-cloud-baremetalsolution/.prettierrc.js delete mode 100644 packages/google-cloud-batch/.prettierrc.js delete mode 100644 packages/google-cloud-beyondcorp-appconnections/.prettierrc.js delete mode 100644 packages/google-cloud-beyondcorp-appconnectors/.prettierrc.js delete mode 100644 packages/google-cloud-beyondcorp-appgateways/.prettierrc.js delete mode 100644 packages/google-cloud-beyondcorp-clientconnectorservices/.prettierrc.js delete mode 100644 packages/google-cloud-beyondcorp-clientgateways/.prettierrc.js delete mode 100644 packages/google-cloud-bigquery-analyticshub/.prettierrc.js delete mode 100644 packages/google-cloud-bigquery-connection/.prettierrc.js delete mode 100644 packages/google-cloud-bigquery-dataexchange/.prettierrc.js delete mode 100644 packages/google-cloud-bigquery-datapolicies/.prettierrc.js delete mode 100644 packages/google-cloud-bigquery-datatransfer/.prettierrc.js delete mode 100644 packages/google-cloud-bigquery-migration/.prettierrc.js delete mode 100644 packages/google-cloud-bigquery-reservation/.prettierrc.js delete mode 100644 packages/google-cloud-billing-budgets/.prettierrc.js delete mode 100644 packages/google-cloud-billing/.prettierrc.js delete mode 100644 packages/google-cloud-binaryauthorization/.prettierrc.js delete mode 100644 packages/google-cloud-capacityplanner/.prettierrc.js delete mode 100644 packages/google-cloud-certificatemanager/.prettierrc.js delete mode 100644 packages/google-cloud-ces/.prettierrc.js delete mode 100644 packages/google-cloud-channel/.prettierrc.js delete mode 100644 packages/google-cloud-chronicle/.prettierrc.js delete mode 100644 packages/google-cloud-cloudcontrolspartner/.prettierrc.js delete mode 100644 packages/google-cloud-clouddms/.prettierrc.js delete mode 100644 packages/google-cloud-cloudsecuritycompliance/.prettierrc.js delete mode 100644 packages/google-cloud-commerce-consumer-procurement/.prettierrc.js delete mode 100644 packages/google-cloud-compute/.prettierrc.js delete mode 100644 packages/google-cloud-confidentialcomputing/.prettierrc.js delete mode 100644 packages/google-cloud-config/.prettierrc.js delete mode 100644 packages/google-cloud-configdelivery/.prettierrc.js delete mode 100644 packages/google-cloud-connectors/.prettierrc.js delete mode 100644 packages/google-cloud-contactcenterinsights/.prettierrc.js delete mode 100644 packages/google-cloud-contentwarehouse/.prettierrc.js delete mode 100644 packages/google-cloud-datacatalog-lineage-configmanagement/.prettierrc.js delete mode 100644 packages/google-cloud-datacatalog-lineage/.prettierrc.js delete mode 100644 packages/google-cloud-datacatalog/.prettierrc.js delete mode 100644 packages/google-cloud-dataform/.prettierrc.js delete mode 100644 packages/google-cloud-datafusion/.prettierrc.js delete mode 100644 packages/google-cloud-datalabeling/.prettierrc.js delete mode 100644 packages/google-cloud-dataplex/.prettierrc.js delete mode 100644 packages/google-cloud-dataproc/.prettierrc.js delete mode 100644 packages/google-cloud-dataqna/.prettierrc.js delete mode 100644 packages/google-cloud-datastream/.prettierrc.js delete mode 100644 packages/google-cloud-deploy/.prettierrc.js delete mode 100644 packages/google-cloud-developerconnect/.prettierrc.js delete mode 100644 packages/google-cloud-devicestreaming/.prettierrc.js delete mode 100644 packages/google-cloud-dialogflow-cx/.prettierrc.js delete mode 100644 packages/google-cloud-dialogflow/.prettierrc.js delete mode 100644 packages/google-cloud-discoveryengine/.prettierrc.js delete mode 100644 packages/google-cloud-dns/.prettierrc.js delete mode 100644 packages/google-cloud-documentai/.prettierrc.js delete mode 100644 packages/google-cloud-domains/.prettierrc.js delete mode 100644 packages/google-cloud-edgecontainer/.prettierrc.js delete mode 100644 packages/google-cloud-edgenetwork/.prettierrc.js delete mode 100644 packages/google-cloud-essentialcontacts/.prettierrc.js delete mode 100644 packages/google-cloud-eventarc-publishing/.prettierrc.js delete mode 100644 packages/google-cloud-eventarc/.prettierrc.js delete mode 100644 packages/google-cloud-filestore/.prettierrc.js delete mode 100644 packages/google-cloud-financialservices/.prettierrc.js delete mode 100644 packages/google-cloud-functions/.prettierrc.js delete mode 100644 packages/google-cloud-gdchardwaremanagement/.prettierrc.js delete mode 100644 packages/google-cloud-geminidataanalytics/.prettierrc.js delete mode 100644 packages/google-cloud-gkebackup/.prettierrc.js delete mode 100644 packages/google-cloud-gkeconnect-gateway/.prettierrc.js delete mode 100644 packages/google-cloud-gkehub/.prettierrc.js delete mode 100644 packages/google-cloud-gkemulticloud/.prettierrc.js delete mode 100644 packages/google-cloud-gkerecommender/.prettierrc.js delete mode 100644 packages/google-cloud-gsuiteaddons/.prettierrc.js delete mode 100644 packages/google-cloud-hypercomputecluster/.prettierrc.js delete mode 100644 packages/google-cloud-iap/.prettierrc.js delete mode 100644 packages/google-cloud-ids/.prettierrc.js delete mode 100644 packages/google-cloud-iot/.prettierrc.js delete mode 100644 packages/google-cloud-kms-inventory/.prettierrc.js delete mode 100644 packages/google-cloud-kms/.prettierrc.js delete mode 100644 packages/google-cloud-language/.prettierrc.js delete mode 100644 packages/google-cloud-licensemanager/.prettierrc.js delete mode 100644 packages/google-cloud-lifesciences/.prettierrc.js delete mode 100644 packages/google-cloud-locationfinder/$1/.prettierrc.js delete mode 100644 packages/google-cloud-locationfinder/.prettierrc.js delete mode 100644 packages/google-cloud-lustre/.prettierrc.js delete mode 100644 packages/google-cloud-maintenance-api/.prettierrc.js delete mode 100644 packages/google-cloud-managedidentities/.prettierrc.js delete mode 100644 packages/google-cloud-managedkafka-schemaregistry/.prettierrc.js delete mode 100644 packages/google-cloud-managedkafka/.prettierrc.js delete mode 100644 packages/google-cloud-managedkafka/v1/.prettierrc.js delete mode 100644 packages/google-cloud-mediatranslation/.prettierrc.js delete mode 100644 packages/google-cloud-memcache/.prettierrc.js delete mode 100644 packages/google-cloud-memorystore/.prettierrc.js delete mode 100644 packages/google-cloud-metastore/.prettierrc.js delete mode 100644 packages/google-cloud-migrationcenter/.prettierrc.js delete mode 100644 packages/google-cloud-modelarmor/.prettierrc.js delete mode 100644 packages/google-cloud-monitoring/.prettierrc.js delete mode 100644 packages/google-cloud-netapp/.prettierrc.js delete mode 100644 packages/google-cloud-networkconnectivity/.prettierrc.js delete mode 100644 packages/google-cloud-networkmanagement/.prettierrc.js delete mode 100644 packages/google-cloud-networksecurity/.prettierrc.js delete mode 100644 packages/google-cloud-networkservices/.prettierrc.js delete mode 100644 packages/google-cloud-notebooks/.prettierrc.js delete mode 100644 packages/google-cloud-oracledatabase/.prettierrc.js delete mode 100644 packages/google-cloud-orchestration-airflow-service/.prettierrc.js delete mode 100644 packages/google-cloud-orgpolicy/.prettierrc.js delete mode 100644 packages/google-cloud-osconfig/.prettierrc.js delete mode 100644 packages/google-cloud-oslogin/.prettierrc.js delete mode 100644 packages/google-cloud-parallelstore/.prettierrc.js delete mode 100644 packages/google-cloud-parametermanager/.prettierrc.js delete mode 100644 packages/google-cloud-phishingprotection/.prettierrc.js delete mode 100644 packages/google-cloud-policysimulator/.prettierrc.js delete mode 100644 packages/google-cloud-policytroubleshooter-iam/.prettierrc.js delete mode 100644 packages/google-cloud-policytroubleshooter/.prettierrc.js delete mode 100644 packages/google-cloud-privatecatalog/.prettierrc.js delete mode 100644 packages/google-cloud-privilegedaccessmanager/.prettierrc.js delete mode 100644 packages/google-cloud-rapidmigrationassessment/.prettierrc.js delete mode 100644 packages/google-cloud-recaptchaenterprise/.prettierrc.js delete mode 100644 packages/google-cloud-recommender/.prettierrc.js delete mode 100644 packages/google-cloud-redis-cluster/.prettierrc.js delete mode 100644 packages/google-cloud-redis/.prettierrc.js delete mode 100644 packages/google-cloud-resourcemanager/.prettierrc.js delete mode 100644 packages/google-cloud-retail/.prettierrc.js delete mode 100644 packages/google-cloud-run/.prettierrc.js delete mode 100644 packages/google-cloud-saasplatform-saasservicemgmt/.prettierrc.js delete mode 100644 packages/google-cloud-scheduler/.prettierrc.js delete mode 100644 packages/google-cloud-secretmanager/.prettierrc.js delete mode 100644 packages/google-cloud-securesourcemanager/.prettierrc.js delete mode 100644 packages/google-cloud-security-privateca/.prettierrc.js delete mode 100644 packages/google-cloud-security-publicca/.prettierrc.js delete mode 100644 packages/google-cloud-securitycenter/.prettierrc.js delete mode 100644 packages/google-cloud-securitycentermanagement/.prettierrc.js delete mode 100644 packages/google-cloud-servicedirectory/.prettierrc.js delete mode 100644 packages/google-cloud-servicehealth/.prettierrc.js delete mode 100644 packages/google-cloud-shell/.prettierrc.js delete mode 100644 packages/google-cloud-speech/.prettierrc.js delete mode 100644 packages/google-cloud-sql/.prettierrc.js delete mode 100644 packages/google-cloud-storagebatchoperations/.prettierrc.js delete mode 100644 packages/google-cloud-storageinsights/.prettierrc.js delete mode 100644 packages/google-cloud-support/.prettierrc.js delete mode 100644 packages/google-cloud-talent/.prettierrc.js delete mode 100644 packages/google-cloud-telcoautomation/.prettierrc.js delete mode 100644 packages/google-cloud-texttospeech/.prettierrc.js delete mode 100644 packages/google-cloud-tpu/.prettierrc.js delete mode 100644 packages/google-cloud-translate/.prettierrc.js delete mode 100644 packages/google-cloud-vectorsearch/.prettierrc.js delete mode 100644 packages/google-cloud-video-livestream/.prettierrc.js delete mode 100644 packages/google-cloud-video-stitcher/.prettierrc.js delete mode 100644 packages/google-cloud-video-transcoder/.prettierrc.js delete mode 100644 packages/google-cloud-videointelligence/.prettierrc.js delete mode 100644 packages/google-cloud-vision/.prettierrc.js delete mode 100644 packages/google-cloud-visionai/.prettierrc.js delete mode 100644 packages/google-cloud-vmmigration/.prettierrc.js delete mode 100644 packages/google-cloud-vmwareengine/.prettierrc.js delete mode 100644 packages/google-cloud-vpcaccess/.prettierrc.js delete mode 100644 packages/google-cloud-webrisk/.prettierrc.js delete mode 100644 packages/google-cloud-websecurityscanner/.prettierrc.js delete mode 100644 packages/google-cloud-workflows/.prettierrc.js delete mode 100644 packages/google-cloud-workloadmanager/.prettierrc.js delete mode 100644 packages/google-cloud-workstations/.prettierrc.js delete mode 100644 packages/google-container/.prettierrc.js delete mode 100644 packages/google-dataflow/.prettierrc.js delete mode 100644 packages/google-devtools-artifactregistry/.prettierrc.js delete mode 100644 packages/google-devtools-cloudbuild/.prettierrc.js delete mode 100644 packages/google-devtools-cloudprofiler/.prettierrc.js delete mode 100644 packages/google-devtools-containeranalysis/.prettierrc.js delete mode 100644 packages/google-iam-credentials/.prettierrc.js delete mode 100644 packages/google-iam/.prettierrc.js delete mode 100644 packages/google-identity-accesscontextmanager/.prettierrc.js delete mode 100644 packages/google-maps-addressvalidation/.prettierrc.js delete mode 100644 packages/google-maps-areainsights/.prettierrc.js delete mode 100644 packages/google-maps-fleetengine-delivery/.prettierrc.js delete mode 100644 packages/google-maps-fleetengine/.prettierrc.js delete mode 100644 packages/google-maps-fleetengine/v1/.prettierrc.js delete mode 100644 packages/google-maps-geocode/.prettierrc.js delete mode 100644 packages/google-maps-mapsplatformdatasets/.prettierrc.js delete mode 100644 packages/google-maps-navconnect/.prettierrc.js delete mode 100644 packages/google-maps-places/.prettierrc.js delete mode 100644 packages/google-maps-routeoptimization/.prettierrc.js delete mode 100644 packages/google-maps-routing/.prettierrc.js delete mode 100644 packages/google-maps-solar/.prettierrc.js delete mode 100644 packages/google-marketingplatform-admin/.prettierrc.js delete mode 100644 packages/google-monitoring-dashboard/.prettierrc.js delete mode 100644 packages/google-privacy-dlp/.prettierrc.js delete mode 100644 packages/google-shopping-css/.prettierrc.js delete mode 100644 packages/google-shopping-merchant-accounts/.prettierrc.js delete mode 100644 packages/google-shopping-merchant-conversions/.prettierrc.js delete mode 100644 packages/google-shopping-merchant-datasources/.prettierrc.js delete mode 100644 packages/google-shopping-merchant-inventories/.prettierrc.js delete mode 100644 packages/google-shopping-merchant-issueresolution/.prettierrc.js delete mode 100644 packages/google-shopping-merchant-lfp/.prettierrc.js delete mode 100644 packages/google-shopping-merchant-notifications/.prettierrc.js delete mode 100644 packages/google-shopping-merchant-ordertracking/.prettierrc.js delete mode 100644 packages/google-shopping-merchant-products/.prettierrc.js delete mode 100644 packages/google-shopping-merchant-promotions/.prettierrc.js delete mode 100644 packages/google-shopping-merchant-quota/.prettierrc.js delete mode 100644 packages/google-shopping-merchant-reports/.prettierrc.js delete mode 100644 packages/google-shopping-merchant-reviews/.prettierrc.js delete mode 100644 packages/google-storage-control/.prettierrc.js delete mode 100644 packages/google-storagetransfer/.prettierrc.js delete mode 100644 packages/google-streetview-publish/.prettierrc.js delete mode 100644 packages/grafeas/.prettierrc.js diff --git a/packages/gapic-node-processing/.prettierrc.js b/packages/gapic-node-processing/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/.prettierrc.js b/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/google-analytics-data-v1beta-nodejs/.prettierrc.js b/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/google-analytics-data-v1beta-nodejs/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data/.prettierrc.js b/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-speech-nodejs/speech-v1-nodejs/.prettierrc.js b/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-speech-nodejs/speech-v1-nodejs/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-speech-nodejs/speech-v1p1beta1-nodejs/.prettierrc.js b/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-speech-nodejs/speech-v1p1beta1-nodejs/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-speech-nodejs/speech-v2-nodejs/.prettierrc.js b/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-speech-nodejs/speech-v2-nodejs/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-speech/.prettierrc.js b/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-speech/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-ads-admanager/.prettierrc.js b/packages/google-ads-admanager/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-ads-datamanager/.prettierrc.js b/packages/google-ads-datamanager/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-ai-generativelanguage/.prettierrc.js b/packages/google-ai-generativelanguage/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-analytics-admin/.prettierrc.js b/packages/google-analytics-admin/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-analytics-data/.prettierrc.js b/packages/google-analytics-data/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-api-apikeys/.prettierrc.js b/packages/google-api-apikeys/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-api-cloudquotas/.prettierrc.js b/packages/google-api-cloudquotas/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-api-servicecontrol/.prettierrc.js b/packages/google-api-servicecontrol/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-api-servicemanagement/.prettierrc.js b/packages/google-api-servicemanagement/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-api-serviceusage/.prettierrc.js b/packages/google-api-serviceusage/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-appengine/.prettierrc.js b/packages/google-appengine/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-apps-events-subscriptions/.prettierrc.js b/packages/google-apps-events-subscriptions/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-apps-meet/.prettierrc.js b/packages/google-apps-meet/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-area120-tables/.prettierrc.js b/packages/google-area120-tables/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-chat/.prettierrc.js b/packages/google-chat/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-accessapproval/.prettierrc.js b/packages/google-cloud-accessapproval/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-advisorynotifications/.prettierrc.js b/packages/google-cloud-advisorynotifications/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-aiplatform/.prettierrc.js b/packages/google-cloud-aiplatform/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-alloydb/.prettierrc.js b/packages/google-cloud-alloydb/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-apigateway/.prettierrc.js b/packages/google-cloud-apigateway/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-apigeeconnect/.prettierrc.js b/packages/google-cloud-apigeeconnect/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-apigeeregistry/.prettierrc.js b/packages/google-cloud-apigeeregistry/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-apihub/.prettierrc.js b/packages/google-cloud-apihub/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-apiregistry/.prettierrc.js b/packages/google-cloud-apiregistry/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-apphub/.prettierrc.js b/packages/google-cloud-apphub/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-asset/.prettierrc.js b/packages/google-cloud-asset/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-assuredworkloads/.prettierrc.js b/packages/google-cloud-assuredworkloads/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-auditmanager/.prettierrc.js b/packages/google-cloud-auditmanager/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-automl/.prettierrc.js b/packages/google-cloud-automl/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-backupdr/.prettierrc.js b/packages/google-cloud-backupdr/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-baremetalsolution/.prettierrc.js b/packages/google-cloud-baremetalsolution/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-batch/.prettierrc.js b/packages/google-cloud-batch/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-beyondcorp-appconnections/.prettierrc.js b/packages/google-cloud-beyondcorp-appconnections/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-beyondcorp-appconnectors/.prettierrc.js b/packages/google-cloud-beyondcorp-appconnectors/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-beyondcorp-appgateways/.prettierrc.js b/packages/google-cloud-beyondcorp-appgateways/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-beyondcorp-clientconnectorservices/.prettierrc.js b/packages/google-cloud-beyondcorp-clientconnectorservices/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-beyondcorp-clientgateways/.prettierrc.js b/packages/google-cloud-beyondcorp-clientgateways/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-bigquery-analyticshub/.prettierrc.js b/packages/google-cloud-bigquery-analyticshub/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-bigquery-connection/.prettierrc.js b/packages/google-cloud-bigquery-connection/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-bigquery-dataexchange/.prettierrc.js b/packages/google-cloud-bigquery-dataexchange/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-bigquery-datapolicies/.prettierrc.js b/packages/google-cloud-bigquery-datapolicies/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-bigquery-datatransfer/.prettierrc.js b/packages/google-cloud-bigquery-datatransfer/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-bigquery-migration/.prettierrc.js b/packages/google-cloud-bigquery-migration/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-bigquery-reservation/.prettierrc.js b/packages/google-cloud-bigquery-reservation/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-billing-budgets/.prettierrc.js b/packages/google-cloud-billing-budgets/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-billing/.prettierrc.js b/packages/google-cloud-billing/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-binaryauthorization/.prettierrc.js b/packages/google-cloud-binaryauthorization/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-capacityplanner/.prettierrc.js b/packages/google-cloud-capacityplanner/.prettierrc.js deleted file mode 100644 index d2eddc2ed894..000000000000 --- a/packages/google-cloud-capacityplanner/.prettierrc.js +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/packages/google-cloud-certificatemanager/.prettierrc.js b/packages/google-cloud-certificatemanager/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-ces/.prettierrc.js b/packages/google-cloud-ces/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-channel/.prettierrc.js b/packages/google-cloud-channel/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-chronicle/.prettierrc.js b/packages/google-cloud-chronicle/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-cloudcontrolspartner/.prettierrc.js b/packages/google-cloud-cloudcontrolspartner/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-clouddms/.prettierrc.js b/packages/google-cloud-clouddms/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-cloudsecuritycompliance/.prettierrc.js b/packages/google-cloud-cloudsecuritycompliance/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-commerce-consumer-procurement/.prettierrc.js b/packages/google-cloud-commerce-consumer-procurement/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-compute/.prettierrc.js b/packages/google-cloud-compute/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-confidentialcomputing/.prettierrc.js b/packages/google-cloud-confidentialcomputing/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-config/.prettierrc.js b/packages/google-cloud-config/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-configdelivery/.prettierrc.js b/packages/google-cloud-configdelivery/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-connectors/.prettierrc.js b/packages/google-cloud-connectors/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-contactcenterinsights/.prettierrc.js b/packages/google-cloud-contactcenterinsights/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-contentwarehouse/.prettierrc.js b/packages/google-cloud-contentwarehouse/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-datacatalog-lineage-configmanagement/.prettierrc.js b/packages/google-cloud-datacatalog-lineage-configmanagement/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-datacatalog-lineage/.prettierrc.js b/packages/google-cloud-datacatalog-lineage/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-datacatalog/.prettierrc.js b/packages/google-cloud-datacatalog/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-dataform/.prettierrc.js b/packages/google-cloud-dataform/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-datafusion/.prettierrc.js b/packages/google-cloud-datafusion/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-datalabeling/.prettierrc.js b/packages/google-cloud-datalabeling/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-dataplex/.prettierrc.js b/packages/google-cloud-dataplex/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-dataproc/.prettierrc.js b/packages/google-cloud-dataproc/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-dataqna/.prettierrc.js b/packages/google-cloud-dataqna/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-datastream/.prettierrc.js b/packages/google-cloud-datastream/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-deploy/.prettierrc.js b/packages/google-cloud-deploy/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-developerconnect/.prettierrc.js b/packages/google-cloud-developerconnect/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-devicestreaming/.prettierrc.js b/packages/google-cloud-devicestreaming/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-dialogflow-cx/.prettierrc.js b/packages/google-cloud-dialogflow-cx/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-dialogflow/.prettierrc.js b/packages/google-cloud-dialogflow/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-discoveryengine/.prettierrc.js b/packages/google-cloud-discoveryengine/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-dns/.prettierrc.js b/packages/google-cloud-dns/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-documentai/.prettierrc.js b/packages/google-cloud-documentai/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-domains/.prettierrc.js b/packages/google-cloud-domains/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-edgecontainer/.prettierrc.js b/packages/google-cloud-edgecontainer/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-edgenetwork/.prettierrc.js b/packages/google-cloud-edgenetwork/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-essentialcontacts/.prettierrc.js b/packages/google-cloud-essentialcontacts/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-eventarc-publishing/.prettierrc.js b/packages/google-cloud-eventarc-publishing/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-eventarc/.prettierrc.js b/packages/google-cloud-eventarc/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-filestore/.prettierrc.js b/packages/google-cloud-filestore/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-financialservices/.prettierrc.js b/packages/google-cloud-financialservices/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-functions/.prettierrc.js b/packages/google-cloud-functions/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-gdchardwaremanagement/.prettierrc.js b/packages/google-cloud-gdchardwaremanagement/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-geminidataanalytics/.prettierrc.js b/packages/google-cloud-geminidataanalytics/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-gkebackup/.prettierrc.js b/packages/google-cloud-gkebackup/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-gkeconnect-gateway/.prettierrc.js b/packages/google-cloud-gkeconnect-gateway/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-gkehub/.prettierrc.js b/packages/google-cloud-gkehub/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-gkemulticloud/.prettierrc.js b/packages/google-cloud-gkemulticloud/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-gkerecommender/.prettierrc.js b/packages/google-cloud-gkerecommender/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-gsuiteaddons/.prettierrc.js b/packages/google-cloud-gsuiteaddons/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-hypercomputecluster/.prettierrc.js b/packages/google-cloud-hypercomputecluster/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-iap/.prettierrc.js b/packages/google-cloud-iap/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-ids/.prettierrc.js b/packages/google-cloud-ids/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-iot/.prettierrc.js b/packages/google-cloud-iot/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-kms-inventory/.prettierrc.js b/packages/google-cloud-kms-inventory/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-kms/.prettierrc.js b/packages/google-cloud-kms/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-language/.prettierrc.js b/packages/google-cloud-language/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-licensemanager/.prettierrc.js b/packages/google-cloud-licensemanager/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-lifesciences/.prettierrc.js b/packages/google-cloud-lifesciences/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-locationfinder/$1/.prettierrc.js b/packages/google-cloud-locationfinder/$1/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-locationfinder/.prettierrc.js b/packages/google-cloud-locationfinder/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-lustre/.prettierrc.js b/packages/google-cloud-lustre/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-maintenance-api/.prettierrc.js b/packages/google-cloud-maintenance-api/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-managedidentities/.prettierrc.js b/packages/google-cloud-managedidentities/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-managedkafka-schemaregistry/.prettierrc.js b/packages/google-cloud-managedkafka-schemaregistry/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-managedkafka/.prettierrc.js b/packages/google-cloud-managedkafka/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-managedkafka/v1/.prettierrc.js b/packages/google-cloud-managedkafka/v1/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-mediatranslation/.prettierrc.js b/packages/google-cloud-mediatranslation/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-memcache/.prettierrc.js b/packages/google-cloud-memcache/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-memorystore/.prettierrc.js b/packages/google-cloud-memorystore/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-metastore/.prettierrc.js b/packages/google-cloud-metastore/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-migrationcenter/.prettierrc.js b/packages/google-cloud-migrationcenter/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-modelarmor/.prettierrc.js b/packages/google-cloud-modelarmor/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-monitoring/.prettierrc.js b/packages/google-cloud-monitoring/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-netapp/.prettierrc.js b/packages/google-cloud-netapp/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-networkconnectivity/.prettierrc.js b/packages/google-cloud-networkconnectivity/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-networkmanagement/.prettierrc.js b/packages/google-cloud-networkmanagement/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-networksecurity/.prettierrc.js b/packages/google-cloud-networksecurity/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-networkservices/.prettierrc.js b/packages/google-cloud-networkservices/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-notebooks/.prettierrc.js b/packages/google-cloud-notebooks/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-oracledatabase/.prettierrc.js b/packages/google-cloud-oracledatabase/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-orchestration-airflow-service/.prettierrc.js b/packages/google-cloud-orchestration-airflow-service/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-orgpolicy/.prettierrc.js b/packages/google-cloud-orgpolicy/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-osconfig/.prettierrc.js b/packages/google-cloud-osconfig/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-oslogin/.prettierrc.js b/packages/google-cloud-oslogin/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-parallelstore/.prettierrc.js b/packages/google-cloud-parallelstore/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-parametermanager/.prettierrc.js b/packages/google-cloud-parametermanager/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-phishingprotection/.prettierrc.js b/packages/google-cloud-phishingprotection/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-policysimulator/.prettierrc.js b/packages/google-cloud-policysimulator/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-policytroubleshooter-iam/.prettierrc.js b/packages/google-cloud-policytroubleshooter-iam/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-policytroubleshooter/.prettierrc.js b/packages/google-cloud-policytroubleshooter/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-privatecatalog/.prettierrc.js b/packages/google-cloud-privatecatalog/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-privilegedaccessmanager/.prettierrc.js b/packages/google-cloud-privilegedaccessmanager/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-rapidmigrationassessment/.prettierrc.js b/packages/google-cloud-rapidmigrationassessment/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-recaptchaenterprise/.prettierrc.js b/packages/google-cloud-recaptchaenterprise/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-recommender/.prettierrc.js b/packages/google-cloud-recommender/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-redis-cluster/.prettierrc.js b/packages/google-cloud-redis-cluster/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-redis/.prettierrc.js b/packages/google-cloud-redis/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-resourcemanager/.prettierrc.js b/packages/google-cloud-resourcemanager/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-retail/.prettierrc.js b/packages/google-cloud-retail/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-run/.prettierrc.js b/packages/google-cloud-run/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-saasplatform-saasservicemgmt/.prettierrc.js b/packages/google-cloud-saasplatform-saasservicemgmt/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-scheduler/.prettierrc.js b/packages/google-cloud-scheduler/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-secretmanager/.prettierrc.js b/packages/google-cloud-secretmanager/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-securesourcemanager/.prettierrc.js b/packages/google-cloud-securesourcemanager/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-security-privateca/.prettierrc.js b/packages/google-cloud-security-privateca/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-security-publicca/.prettierrc.js b/packages/google-cloud-security-publicca/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-securitycenter/.prettierrc.js b/packages/google-cloud-securitycenter/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-securitycentermanagement/.prettierrc.js b/packages/google-cloud-securitycentermanagement/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-servicedirectory/.prettierrc.js b/packages/google-cloud-servicedirectory/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-servicehealth/.prettierrc.js b/packages/google-cloud-servicehealth/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-shell/.prettierrc.js b/packages/google-cloud-shell/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-speech/.prettierrc.js b/packages/google-cloud-speech/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-sql/.prettierrc.js b/packages/google-cloud-sql/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-storagebatchoperations/.prettierrc.js b/packages/google-cloud-storagebatchoperations/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-storageinsights/.prettierrc.js b/packages/google-cloud-storageinsights/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-support/.prettierrc.js b/packages/google-cloud-support/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-talent/.prettierrc.js b/packages/google-cloud-talent/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-telcoautomation/.prettierrc.js b/packages/google-cloud-telcoautomation/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-texttospeech/.prettierrc.js b/packages/google-cloud-texttospeech/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-tpu/.prettierrc.js b/packages/google-cloud-tpu/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-translate/.prettierrc.js b/packages/google-cloud-translate/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-vectorsearch/.prettierrc.js b/packages/google-cloud-vectorsearch/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-video-livestream/.prettierrc.js b/packages/google-cloud-video-livestream/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-video-stitcher/.prettierrc.js b/packages/google-cloud-video-stitcher/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-video-transcoder/.prettierrc.js b/packages/google-cloud-video-transcoder/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-videointelligence/.prettierrc.js b/packages/google-cloud-videointelligence/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-vision/.prettierrc.js b/packages/google-cloud-vision/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-visionai/.prettierrc.js b/packages/google-cloud-visionai/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-vmmigration/.prettierrc.js b/packages/google-cloud-vmmigration/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-vmwareengine/.prettierrc.js b/packages/google-cloud-vmwareengine/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-vpcaccess/.prettierrc.js b/packages/google-cloud-vpcaccess/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-webrisk/.prettierrc.js b/packages/google-cloud-webrisk/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-websecurityscanner/.prettierrc.js b/packages/google-cloud-websecurityscanner/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-workflows/.prettierrc.js b/packages/google-cloud-workflows/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-workloadmanager/.prettierrc.js b/packages/google-cloud-workloadmanager/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-workstations/.prettierrc.js b/packages/google-cloud-workstations/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-container/.prettierrc.js b/packages/google-container/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-dataflow/.prettierrc.js b/packages/google-dataflow/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-devtools-artifactregistry/.prettierrc.js b/packages/google-devtools-artifactregistry/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-devtools-cloudbuild/.prettierrc.js b/packages/google-devtools-cloudbuild/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-devtools-cloudprofiler/.prettierrc.js b/packages/google-devtools-cloudprofiler/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-devtools-containeranalysis/.prettierrc.js b/packages/google-devtools-containeranalysis/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-iam-credentials/.prettierrc.js b/packages/google-iam-credentials/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-iam/.prettierrc.js b/packages/google-iam/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-identity-accesscontextmanager/.prettierrc.js b/packages/google-identity-accesscontextmanager/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-maps-addressvalidation/.prettierrc.js b/packages/google-maps-addressvalidation/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-maps-areainsights/.prettierrc.js b/packages/google-maps-areainsights/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-maps-fleetengine-delivery/.prettierrc.js b/packages/google-maps-fleetengine-delivery/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-maps-fleetengine/.prettierrc.js b/packages/google-maps-fleetengine/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-maps-fleetengine/v1/.prettierrc.js b/packages/google-maps-fleetengine/v1/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-maps-geocode/.prettierrc.js b/packages/google-maps-geocode/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-maps-mapsplatformdatasets/.prettierrc.js b/packages/google-maps-mapsplatformdatasets/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-maps-navconnect/.prettierrc.js b/packages/google-maps-navconnect/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-maps-places/.prettierrc.js b/packages/google-maps-places/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-maps-routeoptimization/.prettierrc.js b/packages/google-maps-routeoptimization/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-maps-routing/.prettierrc.js b/packages/google-maps-routing/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-maps-solar/.prettierrc.js b/packages/google-maps-solar/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-marketingplatform-admin/.prettierrc.js b/packages/google-marketingplatform-admin/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-monitoring-dashboard/.prettierrc.js b/packages/google-monitoring-dashboard/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-privacy-dlp/.prettierrc.js b/packages/google-privacy-dlp/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-shopping-css/.prettierrc.js b/packages/google-shopping-css/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-shopping-merchant-accounts/.prettierrc.js b/packages/google-shopping-merchant-accounts/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-shopping-merchant-conversions/.prettierrc.js b/packages/google-shopping-merchant-conversions/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-shopping-merchant-datasources/.prettierrc.js b/packages/google-shopping-merchant-datasources/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-shopping-merchant-inventories/.prettierrc.js b/packages/google-shopping-merchant-inventories/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-shopping-merchant-issueresolution/.prettierrc.js b/packages/google-shopping-merchant-issueresolution/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-shopping-merchant-lfp/.prettierrc.js b/packages/google-shopping-merchant-lfp/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-shopping-merchant-notifications/.prettierrc.js b/packages/google-shopping-merchant-notifications/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-shopping-merchant-ordertracking/.prettierrc.js b/packages/google-shopping-merchant-ordertracking/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-shopping-merchant-products/.prettierrc.js b/packages/google-shopping-merchant-products/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-shopping-merchant-promotions/.prettierrc.js b/packages/google-shopping-merchant-promotions/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-shopping-merchant-quota/.prettierrc.js b/packages/google-shopping-merchant-quota/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-shopping-merchant-reports/.prettierrc.js b/packages/google-shopping-merchant-reports/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-shopping-merchant-reviews/.prettierrc.js b/packages/google-shopping-merchant-reviews/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-storage-control/.prettierrc.js b/packages/google-storage-control/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-storagetransfer/.prettierrc.js b/packages/google-storagetransfer/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-streetview-publish/.prettierrc.js b/packages/google-streetview-publish/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/grafeas/.prettierrc.js b/packages/grafeas/.prettierrc.js deleted file mode 100644 index e69de29bb2d1..000000000000 From b9fe2d42f0da95fa611b348de0a41132d04145ef Mon Sep 17 00:00:00 2001 From: feywind <57276408+feywind@users.noreply.github.com> Date: Mon, 20 Apr 2026 18:19:52 -0400 Subject: [PATCH 04/11] chore: more empty files --- packages/gapic-node-processing/.prettierignore | 0 .../analytics-data-v1alpha-nodejs/.prettierignore | 0 .../google-analytics-data-v1beta-nodejs/.prettierignore | 0 .../combined-library/google-analytics-data/.prettierignore | 0 .../google-cloud-tasks-nodejs/tasks-v2-nodejs/.prettierignore | 0 .../tasks-v2beta2-nodejs/.prettierignore | 0 .../fixtures/combined-library/google-cloud-tasks/.prettierignore | 0 packages/google-ads-admanager/.prettierignore | 0 packages/google-ads-datamanager/.prettierignore | 0 packages/google-ai-generativelanguage/.prettierignore | 0 packages/google-analytics-admin/.prettierignore | 0 packages/google-analytics-data/.prettierignore | 0 packages/google-api-apikeys/.prettierignore | 0 packages/google-api-cloudquotas/.prettierignore | 0 packages/google-api-servicecontrol/.prettierignore | 0 packages/google-api-servicemanagement/.prettierignore | 0 packages/google-api-serviceusage/.prettierignore | 0 packages/google-appengine/.prettierignore | 0 packages/google-apps-events-subscriptions/.prettierignore | 0 packages/google-apps-meet/.prettierignore | 0 packages/google-area120-tables/.prettierignore | 0 packages/google-chat/.prettierignore | 0 packages/google-cloud-accessapproval/.prettierignore | 0 packages/google-cloud-advisorynotifications/.prettierignore | 0 packages/google-cloud-aiplatform/.prettierignore | 0 packages/google-cloud-alloydb/.prettierignore | 0 packages/google-cloud-apigateway/.prettierignore | 0 packages/google-cloud-apigeeconnect/.prettierignore | 0 packages/google-cloud-apigeeregistry/.prettierignore | 0 packages/google-cloud-apihub/.prettierignore | 0 packages/google-cloud-apiregistry/.prettierignore | 0 packages/google-cloud-apphub/.prettierignore | 0 packages/google-cloud-asset/.prettierignore | 0 packages/google-cloud-assuredworkloads/.prettierignore | 0 packages/google-cloud-auditmanager/.prettierignore | 0 packages/google-cloud-automl/.prettierignore | 0 packages/google-cloud-backupdr/.prettierignore | 0 packages/google-cloud-baremetalsolution/.prettierignore | 0 packages/google-cloud-batch/.prettierignore | 0 packages/google-cloud-beyondcorp-appconnections/.prettierignore | 0 packages/google-cloud-beyondcorp-appconnectors/.prettierignore | 0 packages/google-cloud-beyondcorp-appgateways/.prettierignore | 0 .../.prettierignore | 0 packages/google-cloud-beyondcorp-clientgateways/.prettierignore | 0 packages/google-cloud-bigquery-analyticshub/.prettierignore | 0 packages/google-cloud-bigquery-connection/.prettierignore | 0 packages/google-cloud-bigquery-dataexchange/.prettierignore | 0 packages/google-cloud-bigquery-datapolicies/.prettierignore | 0 packages/google-cloud-bigquery-datatransfer/.prettierignore | 0 packages/google-cloud-bigquery-migration/.prettierignore | 0 packages/google-cloud-bigquery-reservation/.prettierignore | 0 packages/google-cloud-billing-budgets/.prettierignore | 0 packages/google-cloud-billing/.prettierignore | 0 packages/google-cloud-binaryauthorization/.prettierignore | 0 packages/google-cloud-capacityplanner/.prettierignore | 0 packages/google-cloud-certificatemanager/.prettierignore | 0 packages/google-cloud-ces/.prettierignore | 0 packages/google-cloud-channel/.prettierignore | 0 packages/google-cloud-chronicle/.prettierignore | 0 packages/google-cloud-cloudcontrolspartner/.prettierignore | 0 packages/google-cloud-clouddms/.prettierignore | 0 packages/google-cloud-cloudsecuritycompliance/.prettierignore | 0 .../google-cloud-commerce-consumer-procurement/.prettierignore | 0 packages/google-cloud-compute/.prettierignore | 0 packages/google-cloud-confidentialcomputing/.prettierignore | 0 packages/google-cloud-config/.prettierignore | 0 packages/google-cloud-configdelivery/.prettierignore | 0 packages/google-cloud-connectors/.prettierignore | 0 packages/google-cloud-contactcenterinsights/.prettierignore | 0 packages/google-cloud-contentwarehouse/.prettierignore | 0 .../.prettierignore | 0 packages/google-cloud-datacatalog-lineage/.prettierignore | 0 packages/google-cloud-datacatalog/.prettierignore | 0 packages/google-cloud-dataform/.prettierignore | 0 packages/google-cloud-datafusion/.prettierignore | 0 packages/google-cloud-datalabeling/.prettierignore | 0 packages/google-cloud-dataplex/.prettierignore | 0 packages/google-cloud-dataproc/.prettierignore | 0 packages/google-cloud-dataqna/.prettierignore | 0 packages/google-cloud-datastream/.prettierignore | 0 packages/google-cloud-deploy/.prettierignore | 0 packages/google-cloud-developerconnect/.prettierignore | 0 packages/google-cloud-devicestreaming/.prettierignore | 0 packages/google-cloud-dialogflow-cx/.prettierignore | 0 packages/google-cloud-dialogflow/.prettierignore | 0 packages/google-cloud-discoveryengine/.prettierignore | 0 packages/google-cloud-dns/.prettierignore | 0 packages/google-cloud-documentai/.prettierignore | 0 packages/google-cloud-domains/.prettierignore | 0 packages/google-cloud-edgecontainer/.prettierignore | 0 packages/google-cloud-edgenetwork/.prettierignore | 0 packages/google-cloud-essentialcontacts/.prettierignore | 0 packages/google-cloud-eventarc-publishing/.prettierignore | 0 packages/google-cloud-eventarc/.prettierignore | 0 packages/google-cloud-filestore/.prettierignore | 0 packages/google-cloud-financialservices/.prettierignore | 0 packages/google-cloud-functions/.prettierignore | 0 packages/google-cloud-gdchardwaremanagement/.prettierignore | 0 packages/google-cloud-geminidataanalytics/.prettierignore | 0 packages/google-cloud-gkebackup/.prettierignore | 0 packages/google-cloud-gkeconnect-gateway/.prettierignore | 0 packages/google-cloud-gkehub/.prettierignore | 0 packages/google-cloud-gkemulticloud/.prettierignore | 0 packages/google-cloud-gkerecommender/.prettierignore | 0 packages/google-cloud-gsuiteaddons/.prettierignore | 0 packages/google-cloud-hypercomputecluster/.prettierignore | 0 packages/google-cloud-iap/.prettierignore | 0 packages/google-cloud-ids/.prettierignore | 0 packages/google-cloud-iot/.prettierignore | 0 packages/google-cloud-kms-inventory/.prettierignore | 0 packages/google-cloud-kms/.prettierignore | 0 packages/google-cloud-language/.prettierignore | 0 packages/google-cloud-licensemanager/.prettierignore | 0 packages/google-cloud-lifesciences/.prettierignore | 0 packages/google-cloud-locationfinder/$1/.prettierignore | 0 packages/google-cloud-locationfinder/.prettierignore | 0 packages/google-cloud-lustre/.prettierignore | 0 packages/google-cloud-maintenance-api/.prettierignore | 0 packages/google-cloud-managedidentities/.prettierignore | 0 packages/google-cloud-managedkafka-schemaregistry/.prettierignore | 0 packages/google-cloud-managedkafka/.prettierignore | 0 packages/google-cloud-managedkafka/v1/.prettierignore | 0 packages/google-cloud-mediatranslation/.prettierignore | 0 packages/google-cloud-memcache/.prettierignore | 0 packages/google-cloud-memorystore/.prettierignore | 0 packages/google-cloud-metastore/.prettierignore | 0 packages/google-cloud-migrationcenter/.prettierignore | 0 packages/google-cloud-modelarmor/.prettierignore | 0 packages/google-cloud-monitoring/.prettierignore | 0 packages/google-cloud-netapp/.prettierignore | 0 packages/google-cloud-networkconnectivity/.prettierignore | 0 packages/google-cloud-networkmanagement/.prettierignore | 0 packages/google-cloud-networksecurity/.prettierignore | 0 packages/google-cloud-networkservices/.prettierignore | 0 packages/google-cloud-notebooks/.prettierignore | 0 packages/google-cloud-oracledatabase/.prettierignore | 0 .../google-cloud-orchestration-airflow-service/.prettierignore | 0 packages/google-cloud-orgpolicy/.prettierignore | 0 packages/google-cloud-osconfig/.prettierignore | 0 packages/google-cloud-oslogin/.prettierignore | 0 packages/google-cloud-parallelstore/.prettierignore | 0 packages/google-cloud-parametermanager/.prettierignore | 0 packages/google-cloud-phishingprotection/.prettierignore | 0 packages/google-cloud-policysimulator/.prettierignore | 0 packages/google-cloud-policytroubleshooter-iam/.prettierignore | 0 packages/google-cloud-policytroubleshooter/.prettierignore | 0 packages/google-cloud-privatecatalog/.prettierignore | 0 packages/google-cloud-privilegedaccessmanager/.prettierignore | 0 packages/google-cloud-rapidmigrationassessment/.prettierignore | 0 packages/google-cloud-recaptchaenterprise/.prettierignore | 0 packages/google-cloud-recommender/.prettierignore | 0 packages/google-cloud-redis-cluster/.prettierignore | 0 packages/google-cloud-redis/.prettierignore | 0 packages/google-cloud-resourcemanager/.prettierignore | 0 packages/google-cloud-retail/.prettierignore | 0 packages/google-cloud-run/.prettierignore | 0 .../google-cloud-saasplatform-saasservicemgmt/.prettierignore | 0 packages/google-cloud-scheduler/.prettierignore | 0 packages/google-cloud-secretmanager/.prettierignore | 0 packages/google-cloud-securesourcemanager/.prettierignore | 0 packages/google-cloud-security-privateca/.prettierignore | 0 packages/google-cloud-security-publicca/.prettierignore | 0 packages/google-cloud-securitycenter/.prettierignore | 0 packages/google-cloud-securitycentermanagement/.prettierignore | 0 packages/google-cloud-servicedirectory/.prettierignore | 0 packages/google-cloud-servicehealth/.prettierignore | 0 packages/google-cloud-shell/.prettierignore | 0 packages/google-cloud-speech/.prettierignore | 0 packages/google-cloud-sql/.prettierignore | 0 packages/google-cloud-storagebatchoperations/.prettierignore | 0 packages/google-cloud-storageinsights/.prettierignore | 0 packages/google-cloud-support/.prettierignore | 0 packages/google-cloud-talent/.prettierignore | 0 packages/google-cloud-tasks/.prettierignore | 0 packages/google-cloud-telcoautomation/.prettierignore | 0 packages/google-cloud-texttospeech/.prettierignore | 0 packages/google-cloud-tpu/.prettierignore | 0 packages/google-cloud-translate/.prettierignore | 0 packages/google-cloud-vectorsearch/.prettierignore | 0 packages/google-cloud-video-livestream/.prettierignore | 0 packages/google-cloud-video-stitcher/.prettierignore | 0 packages/google-cloud-video-transcoder/.prettierignore | 0 packages/google-cloud-videointelligence/.prettierignore | 0 packages/google-cloud-vision/.prettierignore | 0 packages/google-cloud-visionai/.prettierignore | 0 packages/google-cloud-vmmigration/.prettierignore | 0 packages/google-cloud-vmwareengine/.prettierignore | 0 packages/google-cloud-vpcaccess/.prettierignore | 0 packages/google-cloud-webrisk/.prettierignore | 0 packages/google-cloud-websecurityscanner/.prettierignore | 0 packages/google-cloud-workflows/.prettierignore | 0 packages/google-cloud-workloadmanager/.prettierignore | 0 packages/google-cloud-workstations/.prettierignore | 0 packages/google-container/.prettierignore | 0 packages/google-dataflow/.prettierignore | 0 packages/google-devtools-artifactregistry/.prettierignore | 0 packages/google-devtools-cloudbuild/.prettierignore | 0 packages/google-devtools-cloudprofiler/.prettierignore | 0 packages/google-devtools-containeranalysis/.prettierignore | 0 packages/google-iam-credentials/.prettierignore | 0 packages/google-iam/.prettierignore | 0 packages/google-identity-accesscontextmanager/.prettierignore | 0 packages/google-maps-addressvalidation/.prettierignore | 0 packages/google-maps-areainsights/.prettierignore | 0 packages/google-maps-fleetengine-delivery/.prettierignore | 0 packages/google-maps-fleetengine/.prettierignore | 0 packages/google-maps-fleetengine/v1/.prettierignore | 0 packages/google-maps-geocode/.prettierignore | 0 packages/google-maps-mapsplatformdatasets/.prettierignore | 0 packages/google-maps-navconnect/.prettierignore | 0 packages/google-maps-places/.prettierignore | 0 packages/google-maps-routeoptimization/.prettierignore | 0 packages/google-maps-routing/.prettierignore | 0 packages/google-maps-solar/.prettierignore | 0 packages/google-marketingplatform-admin/.prettierignore | 0 packages/google-monitoring-dashboard/.prettierignore | 0 packages/google-privacy-dlp/.prettierignore | 0 packages/google-shopping-css/.prettierignore | 0 packages/google-shopping-merchant-accounts/.prettierignore | 0 packages/google-shopping-merchant-conversions/.prettierignore | 0 packages/google-shopping-merchant-datasources/.prettierignore | 0 packages/google-shopping-merchant-inventories/.prettierignore | 0 packages/google-shopping-merchant-issueresolution/.prettierignore | 0 packages/google-shopping-merchant-lfp/.prettierignore | 0 packages/google-shopping-merchant-notifications/.prettierignore | 0 packages/google-shopping-merchant-ordertracking/.prettierignore | 0 packages/google-shopping-merchant-products/.prettierignore | 0 packages/google-shopping-merchant-promotions/.prettierignore | 0 packages/google-shopping-merchant-quota/.prettierignore | 0 packages/google-shopping-merchant-reports/.prettierignore | 0 packages/google-shopping-merchant-reviews/.prettierignore | 0 packages/google-storage-control/.prettierignore | 0 packages/google-storagetransfer/.prettierignore | 0 packages/google-streetview-publish/.prettierignore | 0 packages/grafeas/.prettierignore | 0 235 files changed, 0 insertions(+), 0 deletions(-) delete mode 100644 packages/gapic-node-processing/.prettierignore delete mode 100644 packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/.prettierignore delete mode 100644 packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/google-analytics-data-v1beta-nodejs/.prettierignore delete mode 100644 packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data/.prettierignore delete mode 100644 packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-tasks-nodejs/tasks-v2-nodejs/.prettierignore delete mode 100644 packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-tasks-nodejs/tasks-v2beta2-nodejs/.prettierignore delete mode 100644 packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-tasks/.prettierignore delete mode 100644 packages/google-ads-admanager/.prettierignore delete mode 100644 packages/google-ads-datamanager/.prettierignore delete mode 100644 packages/google-ai-generativelanguage/.prettierignore delete mode 100644 packages/google-analytics-admin/.prettierignore delete mode 100644 packages/google-analytics-data/.prettierignore delete mode 100644 packages/google-api-apikeys/.prettierignore delete mode 100644 packages/google-api-cloudquotas/.prettierignore delete mode 100644 packages/google-api-servicecontrol/.prettierignore delete mode 100644 packages/google-api-servicemanagement/.prettierignore delete mode 100644 packages/google-api-serviceusage/.prettierignore delete mode 100644 packages/google-appengine/.prettierignore delete mode 100644 packages/google-apps-events-subscriptions/.prettierignore delete mode 100644 packages/google-apps-meet/.prettierignore delete mode 100644 packages/google-area120-tables/.prettierignore delete mode 100644 packages/google-chat/.prettierignore delete mode 100644 packages/google-cloud-accessapproval/.prettierignore delete mode 100644 packages/google-cloud-advisorynotifications/.prettierignore delete mode 100644 packages/google-cloud-aiplatform/.prettierignore delete mode 100644 packages/google-cloud-alloydb/.prettierignore delete mode 100644 packages/google-cloud-apigateway/.prettierignore delete mode 100644 packages/google-cloud-apigeeconnect/.prettierignore delete mode 100644 packages/google-cloud-apigeeregistry/.prettierignore delete mode 100644 packages/google-cloud-apihub/.prettierignore delete mode 100644 packages/google-cloud-apiregistry/.prettierignore delete mode 100644 packages/google-cloud-apphub/.prettierignore delete mode 100644 packages/google-cloud-asset/.prettierignore delete mode 100644 packages/google-cloud-assuredworkloads/.prettierignore delete mode 100644 packages/google-cloud-auditmanager/.prettierignore delete mode 100644 packages/google-cloud-automl/.prettierignore delete mode 100644 packages/google-cloud-backupdr/.prettierignore delete mode 100644 packages/google-cloud-baremetalsolution/.prettierignore delete mode 100644 packages/google-cloud-batch/.prettierignore delete mode 100644 packages/google-cloud-beyondcorp-appconnections/.prettierignore delete mode 100644 packages/google-cloud-beyondcorp-appconnectors/.prettierignore delete mode 100644 packages/google-cloud-beyondcorp-appgateways/.prettierignore delete mode 100644 packages/google-cloud-beyondcorp-clientconnectorservices/.prettierignore delete mode 100644 packages/google-cloud-beyondcorp-clientgateways/.prettierignore delete mode 100644 packages/google-cloud-bigquery-analyticshub/.prettierignore delete mode 100644 packages/google-cloud-bigquery-connection/.prettierignore delete mode 100644 packages/google-cloud-bigquery-dataexchange/.prettierignore delete mode 100644 packages/google-cloud-bigquery-datapolicies/.prettierignore delete mode 100644 packages/google-cloud-bigquery-datatransfer/.prettierignore delete mode 100644 packages/google-cloud-bigquery-migration/.prettierignore delete mode 100644 packages/google-cloud-bigquery-reservation/.prettierignore delete mode 100644 packages/google-cloud-billing-budgets/.prettierignore delete mode 100644 packages/google-cloud-billing/.prettierignore delete mode 100644 packages/google-cloud-binaryauthorization/.prettierignore delete mode 100644 packages/google-cloud-capacityplanner/.prettierignore delete mode 100644 packages/google-cloud-certificatemanager/.prettierignore delete mode 100644 packages/google-cloud-ces/.prettierignore delete mode 100644 packages/google-cloud-channel/.prettierignore delete mode 100644 packages/google-cloud-chronicle/.prettierignore delete mode 100644 packages/google-cloud-cloudcontrolspartner/.prettierignore delete mode 100644 packages/google-cloud-clouddms/.prettierignore delete mode 100644 packages/google-cloud-cloudsecuritycompliance/.prettierignore delete mode 100644 packages/google-cloud-commerce-consumer-procurement/.prettierignore delete mode 100644 packages/google-cloud-compute/.prettierignore delete mode 100644 packages/google-cloud-confidentialcomputing/.prettierignore delete mode 100644 packages/google-cloud-config/.prettierignore delete mode 100644 packages/google-cloud-configdelivery/.prettierignore delete mode 100644 packages/google-cloud-connectors/.prettierignore delete mode 100644 packages/google-cloud-contactcenterinsights/.prettierignore delete mode 100644 packages/google-cloud-contentwarehouse/.prettierignore delete mode 100644 packages/google-cloud-datacatalog-lineage-configmanagement/.prettierignore delete mode 100644 packages/google-cloud-datacatalog-lineage/.prettierignore delete mode 100644 packages/google-cloud-datacatalog/.prettierignore delete mode 100644 packages/google-cloud-dataform/.prettierignore delete mode 100644 packages/google-cloud-datafusion/.prettierignore delete mode 100644 packages/google-cloud-datalabeling/.prettierignore delete mode 100644 packages/google-cloud-dataplex/.prettierignore delete mode 100644 packages/google-cloud-dataproc/.prettierignore delete mode 100644 packages/google-cloud-dataqna/.prettierignore delete mode 100644 packages/google-cloud-datastream/.prettierignore delete mode 100644 packages/google-cloud-deploy/.prettierignore delete mode 100644 packages/google-cloud-developerconnect/.prettierignore delete mode 100644 packages/google-cloud-devicestreaming/.prettierignore delete mode 100644 packages/google-cloud-dialogflow-cx/.prettierignore delete mode 100644 packages/google-cloud-dialogflow/.prettierignore delete mode 100644 packages/google-cloud-discoveryengine/.prettierignore delete mode 100644 packages/google-cloud-dns/.prettierignore delete mode 100644 packages/google-cloud-documentai/.prettierignore delete mode 100644 packages/google-cloud-domains/.prettierignore delete mode 100644 packages/google-cloud-edgecontainer/.prettierignore delete mode 100644 packages/google-cloud-edgenetwork/.prettierignore delete mode 100644 packages/google-cloud-essentialcontacts/.prettierignore delete mode 100644 packages/google-cloud-eventarc-publishing/.prettierignore delete mode 100644 packages/google-cloud-eventarc/.prettierignore delete mode 100644 packages/google-cloud-filestore/.prettierignore delete mode 100644 packages/google-cloud-financialservices/.prettierignore delete mode 100644 packages/google-cloud-functions/.prettierignore delete mode 100644 packages/google-cloud-gdchardwaremanagement/.prettierignore delete mode 100644 packages/google-cloud-geminidataanalytics/.prettierignore delete mode 100644 packages/google-cloud-gkebackup/.prettierignore delete mode 100644 packages/google-cloud-gkeconnect-gateway/.prettierignore delete mode 100644 packages/google-cloud-gkehub/.prettierignore delete mode 100644 packages/google-cloud-gkemulticloud/.prettierignore delete mode 100644 packages/google-cloud-gkerecommender/.prettierignore delete mode 100644 packages/google-cloud-gsuiteaddons/.prettierignore delete mode 100644 packages/google-cloud-hypercomputecluster/.prettierignore delete mode 100644 packages/google-cloud-iap/.prettierignore delete mode 100644 packages/google-cloud-ids/.prettierignore delete mode 100644 packages/google-cloud-iot/.prettierignore delete mode 100644 packages/google-cloud-kms-inventory/.prettierignore delete mode 100644 packages/google-cloud-kms/.prettierignore delete mode 100644 packages/google-cloud-language/.prettierignore delete mode 100644 packages/google-cloud-licensemanager/.prettierignore delete mode 100644 packages/google-cloud-lifesciences/.prettierignore delete mode 100644 packages/google-cloud-locationfinder/$1/.prettierignore delete mode 100644 packages/google-cloud-locationfinder/.prettierignore delete mode 100644 packages/google-cloud-lustre/.prettierignore delete mode 100644 packages/google-cloud-maintenance-api/.prettierignore delete mode 100644 packages/google-cloud-managedidentities/.prettierignore delete mode 100644 packages/google-cloud-managedkafka-schemaregistry/.prettierignore delete mode 100644 packages/google-cloud-managedkafka/.prettierignore delete mode 100644 packages/google-cloud-managedkafka/v1/.prettierignore delete mode 100644 packages/google-cloud-mediatranslation/.prettierignore delete mode 100644 packages/google-cloud-memcache/.prettierignore delete mode 100644 packages/google-cloud-memorystore/.prettierignore delete mode 100644 packages/google-cloud-metastore/.prettierignore delete mode 100644 packages/google-cloud-migrationcenter/.prettierignore delete mode 100644 packages/google-cloud-modelarmor/.prettierignore delete mode 100644 packages/google-cloud-monitoring/.prettierignore delete mode 100644 packages/google-cloud-netapp/.prettierignore delete mode 100644 packages/google-cloud-networkconnectivity/.prettierignore delete mode 100644 packages/google-cloud-networkmanagement/.prettierignore delete mode 100644 packages/google-cloud-networksecurity/.prettierignore delete mode 100644 packages/google-cloud-networkservices/.prettierignore delete mode 100644 packages/google-cloud-notebooks/.prettierignore delete mode 100644 packages/google-cloud-oracledatabase/.prettierignore delete mode 100644 packages/google-cloud-orchestration-airflow-service/.prettierignore delete mode 100644 packages/google-cloud-orgpolicy/.prettierignore delete mode 100644 packages/google-cloud-osconfig/.prettierignore delete mode 100644 packages/google-cloud-oslogin/.prettierignore delete mode 100644 packages/google-cloud-parallelstore/.prettierignore delete mode 100644 packages/google-cloud-parametermanager/.prettierignore delete mode 100644 packages/google-cloud-phishingprotection/.prettierignore delete mode 100644 packages/google-cloud-policysimulator/.prettierignore delete mode 100644 packages/google-cloud-policytroubleshooter-iam/.prettierignore delete mode 100644 packages/google-cloud-policytroubleshooter/.prettierignore delete mode 100644 packages/google-cloud-privatecatalog/.prettierignore delete mode 100644 packages/google-cloud-privilegedaccessmanager/.prettierignore delete mode 100644 packages/google-cloud-rapidmigrationassessment/.prettierignore delete mode 100644 packages/google-cloud-recaptchaenterprise/.prettierignore delete mode 100644 packages/google-cloud-recommender/.prettierignore delete mode 100644 packages/google-cloud-redis-cluster/.prettierignore delete mode 100644 packages/google-cloud-redis/.prettierignore delete mode 100644 packages/google-cloud-resourcemanager/.prettierignore delete mode 100644 packages/google-cloud-retail/.prettierignore delete mode 100644 packages/google-cloud-run/.prettierignore delete mode 100644 packages/google-cloud-saasplatform-saasservicemgmt/.prettierignore delete mode 100644 packages/google-cloud-scheduler/.prettierignore delete mode 100644 packages/google-cloud-secretmanager/.prettierignore delete mode 100644 packages/google-cloud-securesourcemanager/.prettierignore delete mode 100644 packages/google-cloud-security-privateca/.prettierignore delete mode 100644 packages/google-cloud-security-publicca/.prettierignore delete mode 100644 packages/google-cloud-securitycenter/.prettierignore delete mode 100644 packages/google-cloud-securitycentermanagement/.prettierignore delete mode 100644 packages/google-cloud-servicedirectory/.prettierignore delete mode 100644 packages/google-cloud-servicehealth/.prettierignore delete mode 100644 packages/google-cloud-shell/.prettierignore delete mode 100644 packages/google-cloud-speech/.prettierignore delete mode 100644 packages/google-cloud-sql/.prettierignore delete mode 100644 packages/google-cloud-storagebatchoperations/.prettierignore delete mode 100644 packages/google-cloud-storageinsights/.prettierignore delete mode 100644 packages/google-cloud-support/.prettierignore delete mode 100644 packages/google-cloud-talent/.prettierignore delete mode 100644 packages/google-cloud-tasks/.prettierignore delete mode 100644 packages/google-cloud-telcoautomation/.prettierignore delete mode 100644 packages/google-cloud-texttospeech/.prettierignore delete mode 100644 packages/google-cloud-tpu/.prettierignore delete mode 100644 packages/google-cloud-translate/.prettierignore delete mode 100644 packages/google-cloud-vectorsearch/.prettierignore delete mode 100644 packages/google-cloud-video-livestream/.prettierignore delete mode 100644 packages/google-cloud-video-stitcher/.prettierignore delete mode 100644 packages/google-cloud-video-transcoder/.prettierignore delete mode 100644 packages/google-cloud-videointelligence/.prettierignore delete mode 100644 packages/google-cloud-vision/.prettierignore delete mode 100644 packages/google-cloud-visionai/.prettierignore delete mode 100644 packages/google-cloud-vmmigration/.prettierignore delete mode 100644 packages/google-cloud-vmwareengine/.prettierignore delete mode 100644 packages/google-cloud-vpcaccess/.prettierignore delete mode 100644 packages/google-cloud-webrisk/.prettierignore delete mode 100644 packages/google-cloud-websecurityscanner/.prettierignore delete mode 100644 packages/google-cloud-workflows/.prettierignore delete mode 100644 packages/google-cloud-workloadmanager/.prettierignore delete mode 100644 packages/google-cloud-workstations/.prettierignore delete mode 100644 packages/google-container/.prettierignore delete mode 100644 packages/google-dataflow/.prettierignore delete mode 100644 packages/google-devtools-artifactregistry/.prettierignore delete mode 100644 packages/google-devtools-cloudbuild/.prettierignore delete mode 100644 packages/google-devtools-cloudprofiler/.prettierignore delete mode 100644 packages/google-devtools-containeranalysis/.prettierignore delete mode 100644 packages/google-iam-credentials/.prettierignore delete mode 100644 packages/google-iam/.prettierignore delete mode 100644 packages/google-identity-accesscontextmanager/.prettierignore delete mode 100644 packages/google-maps-addressvalidation/.prettierignore delete mode 100644 packages/google-maps-areainsights/.prettierignore delete mode 100644 packages/google-maps-fleetengine-delivery/.prettierignore delete mode 100644 packages/google-maps-fleetengine/.prettierignore delete mode 100644 packages/google-maps-fleetengine/v1/.prettierignore delete mode 100644 packages/google-maps-geocode/.prettierignore delete mode 100644 packages/google-maps-mapsplatformdatasets/.prettierignore delete mode 100644 packages/google-maps-navconnect/.prettierignore delete mode 100644 packages/google-maps-places/.prettierignore delete mode 100644 packages/google-maps-routeoptimization/.prettierignore delete mode 100644 packages/google-maps-routing/.prettierignore delete mode 100644 packages/google-maps-solar/.prettierignore delete mode 100644 packages/google-marketingplatform-admin/.prettierignore delete mode 100644 packages/google-monitoring-dashboard/.prettierignore delete mode 100644 packages/google-privacy-dlp/.prettierignore delete mode 100644 packages/google-shopping-css/.prettierignore delete mode 100644 packages/google-shopping-merchant-accounts/.prettierignore delete mode 100644 packages/google-shopping-merchant-conversions/.prettierignore delete mode 100644 packages/google-shopping-merchant-datasources/.prettierignore delete mode 100644 packages/google-shopping-merchant-inventories/.prettierignore delete mode 100644 packages/google-shopping-merchant-issueresolution/.prettierignore delete mode 100644 packages/google-shopping-merchant-lfp/.prettierignore delete mode 100644 packages/google-shopping-merchant-notifications/.prettierignore delete mode 100644 packages/google-shopping-merchant-ordertracking/.prettierignore delete mode 100644 packages/google-shopping-merchant-products/.prettierignore delete mode 100644 packages/google-shopping-merchant-promotions/.prettierignore delete mode 100644 packages/google-shopping-merchant-quota/.prettierignore delete mode 100644 packages/google-shopping-merchant-reports/.prettierignore delete mode 100644 packages/google-shopping-merchant-reviews/.prettierignore delete mode 100644 packages/google-storage-control/.prettierignore delete mode 100644 packages/google-storagetransfer/.prettierignore delete mode 100644 packages/google-streetview-publish/.prettierignore delete mode 100644 packages/grafeas/.prettierignore diff --git a/packages/gapic-node-processing/.prettierignore b/packages/gapic-node-processing/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/.prettierignore b/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/google-analytics-data-v1beta-nodejs/.prettierignore b/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/google-analytics-data-v1beta-nodejs/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data/.prettierignore b/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-tasks-nodejs/tasks-v2-nodejs/.prettierignore b/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-tasks-nodejs/tasks-v2-nodejs/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-tasks-nodejs/tasks-v2beta2-nodejs/.prettierignore b/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-tasks-nodejs/tasks-v2beta2-nodejs/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-tasks/.prettierignore b/packages/gapic-node-processing/test/fixtures/combined-library/google-cloud-tasks/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-ads-admanager/.prettierignore b/packages/google-ads-admanager/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-ads-datamanager/.prettierignore b/packages/google-ads-datamanager/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-ai-generativelanguage/.prettierignore b/packages/google-ai-generativelanguage/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-analytics-admin/.prettierignore b/packages/google-analytics-admin/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-analytics-data/.prettierignore b/packages/google-analytics-data/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-api-apikeys/.prettierignore b/packages/google-api-apikeys/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-api-cloudquotas/.prettierignore b/packages/google-api-cloudquotas/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-api-servicecontrol/.prettierignore b/packages/google-api-servicecontrol/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-api-servicemanagement/.prettierignore b/packages/google-api-servicemanagement/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-api-serviceusage/.prettierignore b/packages/google-api-serviceusage/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-appengine/.prettierignore b/packages/google-appengine/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-apps-events-subscriptions/.prettierignore b/packages/google-apps-events-subscriptions/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-apps-meet/.prettierignore b/packages/google-apps-meet/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-area120-tables/.prettierignore b/packages/google-area120-tables/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-chat/.prettierignore b/packages/google-chat/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-accessapproval/.prettierignore b/packages/google-cloud-accessapproval/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-advisorynotifications/.prettierignore b/packages/google-cloud-advisorynotifications/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-aiplatform/.prettierignore b/packages/google-cloud-aiplatform/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-alloydb/.prettierignore b/packages/google-cloud-alloydb/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-apigateway/.prettierignore b/packages/google-cloud-apigateway/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-apigeeconnect/.prettierignore b/packages/google-cloud-apigeeconnect/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-apigeeregistry/.prettierignore b/packages/google-cloud-apigeeregistry/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-apihub/.prettierignore b/packages/google-cloud-apihub/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-apiregistry/.prettierignore b/packages/google-cloud-apiregistry/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-apphub/.prettierignore b/packages/google-cloud-apphub/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-asset/.prettierignore b/packages/google-cloud-asset/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-assuredworkloads/.prettierignore b/packages/google-cloud-assuredworkloads/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-auditmanager/.prettierignore b/packages/google-cloud-auditmanager/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-automl/.prettierignore b/packages/google-cloud-automl/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-backupdr/.prettierignore b/packages/google-cloud-backupdr/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-baremetalsolution/.prettierignore b/packages/google-cloud-baremetalsolution/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-batch/.prettierignore b/packages/google-cloud-batch/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-beyondcorp-appconnections/.prettierignore b/packages/google-cloud-beyondcorp-appconnections/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-beyondcorp-appconnectors/.prettierignore b/packages/google-cloud-beyondcorp-appconnectors/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-beyondcorp-appgateways/.prettierignore b/packages/google-cloud-beyondcorp-appgateways/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-beyondcorp-clientconnectorservices/.prettierignore b/packages/google-cloud-beyondcorp-clientconnectorservices/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-beyondcorp-clientgateways/.prettierignore b/packages/google-cloud-beyondcorp-clientgateways/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-bigquery-analyticshub/.prettierignore b/packages/google-cloud-bigquery-analyticshub/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-bigquery-connection/.prettierignore b/packages/google-cloud-bigquery-connection/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-bigquery-dataexchange/.prettierignore b/packages/google-cloud-bigquery-dataexchange/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-bigquery-datapolicies/.prettierignore b/packages/google-cloud-bigquery-datapolicies/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-bigquery-datatransfer/.prettierignore b/packages/google-cloud-bigquery-datatransfer/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-bigquery-migration/.prettierignore b/packages/google-cloud-bigquery-migration/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-bigquery-reservation/.prettierignore b/packages/google-cloud-bigquery-reservation/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-billing-budgets/.prettierignore b/packages/google-cloud-billing-budgets/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-billing/.prettierignore b/packages/google-cloud-billing/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-binaryauthorization/.prettierignore b/packages/google-cloud-binaryauthorization/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-capacityplanner/.prettierignore b/packages/google-cloud-capacityplanner/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-certificatemanager/.prettierignore b/packages/google-cloud-certificatemanager/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-ces/.prettierignore b/packages/google-cloud-ces/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-channel/.prettierignore b/packages/google-cloud-channel/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-chronicle/.prettierignore b/packages/google-cloud-chronicle/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-cloudcontrolspartner/.prettierignore b/packages/google-cloud-cloudcontrolspartner/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-clouddms/.prettierignore b/packages/google-cloud-clouddms/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-cloudsecuritycompliance/.prettierignore b/packages/google-cloud-cloudsecuritycompliance/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-commerce-consumer-procurement/.prettierignore b/packages/google-cloud-commerce-consumer-procurement/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-compute/.prettierignore b/packages/google-cloud-compute/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-confidentialcomputing/.prettierignore b/packages/google-cloud-confidentialcomputing/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-config/.prettierignore b/packages/google-cloud-config/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-configdelivery/.prettierignore b/packages/google-cloud-configdelivery/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-connectors/.prettierignore b/packages/google-cloud-connectors/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-contactcenterinsights/.prettierignore b/packages/google-cloud-contactcenterinsights/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-contentwarehouse/.prettierignore b/packages/google-cloud-contentwarehouse/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-datacatalog-lineage-configmanagement/.prettierignore b/packages/google-cloud-datacatalog-lineage-configmanagement/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-datacatalog-lineage/.prettierignore b/packages/google-cloud-datacatalog-lineage/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-datacatalog/.prettierignore b/packages/google-cloud-datacatalog/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-dataform/.prettierignore b/packages/google-cloud-dataform/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-datafusion/.prettierignore b/packages/google-cloud-datafusion/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-datalabeling/.prettierignore b/packages/google-cloud-datalabeling/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-dataplex/.prettierignore b/packages/google-cloud-dataplex/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-dataproc/.prettierignore b/packages/google-cloud-dataproc/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-dataqna/.prettierignore b/packages/google-cloud-dataqna/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-datastream/.prettierignore b/packages/google-cloud-datastream/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-deploy/.prettierignore b/packages/google-cloud-deploy/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-developerconnect/.prettierignore b/packages/google-cloud-developerconnect/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-devicestreaming/.prettierignore b/packages/google-cloud-devicestreaming/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-dialogflow-cx/.prettierignore b/packages/google-cloud-dialogflow-cx/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-dialogflow/.prettierignore b/packages/google-cloud-dialogflow/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-discoveryengine/.prettierignore b/packages/google-cloud-discoveryengine/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-dns/.prettierignore b/packages/google-cloud-dns/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-documentai/.prettierignore b/packages/google-cloud-documentai/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-domains/.prettierignore b/packages/google-cloud-domains/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-edgecontainer/.prettierignore b/packages/google-cloud-edgecontainer/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-edgenetwork/.prettierignore b/packages/google-cloud-edgenetwork/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-essentialcontacts/.prettierignore b/packages/google-cloud-essentialcontacts/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-eventarc-publishing/.prettierignore b/packages/google-cloud-eventarc-publishing/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-eventarc/.prettierignore b/packages/google-cloud-eventarc/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-filestore/.prettierignore b/packages/google-cloud-filestore/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-financialservices/.prettierignore b/packages/google-cloud-financialservices/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-functions/.prettierignore b/packages/google-cloud-functions/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-gdchardwaremanagement/.prettierignore b/packages/google-cloud-gdchardwaremanagement/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-geminidataanalytics/.prettierignore b/packages/google-cloud-geminidataanalytics/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-gkebackup/.prettierignore b/packages/google-cloud-gkebackup/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-gkeconnect-gateway/.prettierignore b/packages/google-cloud-gkeconnect-gateway/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-gkehub/.prettierignore b/packages/google-cloud-gkehub/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-gkemulticloud/.prettierignore b/packages/google-cloud-gkemulticloud/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-gkerecommender/.prettierignore b/packages/google-cloud-gkerecommender/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-gsuiteaddons/.prettierignore b/packages/google-cloud-gsuiteaddons/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-hypercomputecluster/.prettierignore b/packages/google-cloud-hypercomputecluster/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-iap/.prettierignore b/packages/google-cloud-iap/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-ids/.prettierignore b/packages/google-cloud-ids/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-iot/.prettierignore b/packages/google-cloud-iot/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-kms-inventory/.prettierignore b/packages/google-cloud-kms-inventory/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-kms/.prettierignore b/packages/google-cloud-kms/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-language/.prettierignore b/packages/google-cloud-language/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-licensemanager/.prettierignore b/packages/google-cloud-licensemanager/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-lifesciences/.prettierignore b/packages/google-cloud-lifesciences/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-locationfinder/$1/.prettierignore b/packages/google-cloud-locationfinder/$1/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-locationfinder/.prettierignore b/packages/google-cloud-locationfinder/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-lustre/.prettierignore b/packages/google-cloud-lustre/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-maintenance-api/.prettierignore b/packages/google-cloud-maintenance-api/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-managedidentities/.prettierignore b/packages/google-cloud-managedidentities/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-managedkafka-schemaregistry/.prettierignore b/packages/google-cloud-managedkafka-schemaregistry/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-managedkafka/.prettierignore b/packages/google-cloud-managedkafka/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-managedkafka/v1/.prettierignore b/packages/google-cloud-managedkafka/v1/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-mediatranslation/.prettierignore b/packages/google-cloud-mediatranslation/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-memcache/.prettierignore b/packages/google-cloud-memcache/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-memorystore/.prettierignore b/packages/google-cloud-memorystore/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-metastore/.prettierignore b/packages/google-cloud-metastore/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-migrationcenter/.prettierignore b/packages/google-cloud-migrationcenter/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-modelarmor/.prettierignore b/packages/google-cloud-modelarmor/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-monitoring/.prettierignore b/packages/google-cloud-monitoring/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-netapp/.prettierignore b/packages/google-cloud-netapp/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-networkconnectivity/.prettierignore b/packages/google-cloud-networkconnectivity/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-networkmanagement/.prettierignore b/packages/google-cloud-networkmanagement/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-networksecurity/.prettierignore b/packages/google-cloud-networksecurity/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-networkservices/.prettierignore b/packages/google-cloud-networkservices/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-notebooks/.prettierignore b/packages/google-cloud-notebooks/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-oracledatabase/.prettierignore b/packages/google-cloud-oracledatabase/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-orchestration-airflow-service/.prettierignore b/packages/google-cloud-orchestration-airflow-service/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-orgpolicy/.prettierignore b/packages/google-cloud-orgpolicy/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-osconfig/.prettierignore b/packages/google-cloud-osconfig/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-oslogin/.prettierignore b/packages/google-cloud-oslogin/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-parallelstore/.prettierignore b/packages/google-cloud-parallelstore/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-parametermanager/.prettierignore b/packages/google-cloud-parametermanager/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-phishingprotection/.prettierignore b/packages/google-cloud-phishingprotection/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-policysimulator/.prettierignore b/packages/google-cloud-policysimulator/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-policytroubleshooter-iam/.prettierignore b/packages/google-cloud-policytroubleshooter-iam/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-policytroubleshooter/.prettierignore b/packages/google-cloud-policytroubleshooter/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-privatecatalog/.prettierignore b/packages/google-cloud-privatecatalog/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-privilegedaccessmanager/.prettierignore b/packages/google-cloud-privilegedaccessmanager/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-rapidmigrationassessment/.prettierignore b/packages/google-cloud-rapidmigrationassessment/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-recaptchaenterprise/.prettierignore b/packages/google-cloud-recaptchaenterprise/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-recommender/.prettierignore b/packages/google-cloud-recommender/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-redis-cluster/.prettierignore b/packages/google-cloud-redis-cluster/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-redis/.prettierignore b/packages/google-cloud-redis/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-resourcemanager/.prettierignore b/packages/google-cloud-resourcemanager/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-retail/.prettierignore b/packages/google-cloud-retail/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-run/.prettierignore b/packages/google-cloud-run/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-saasplatform-saasservicemgmt/.prettierignore b/packages/google-cloud-saasplatform-saasservicemgmt/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-scheduler/.prettierignore b/packages/google-cloud-scheduler/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-secretmanager/.prettierignore b/packages/google-cloud-secretmanager/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-securesourcemanager/.prettierignore b/packages/google-cloud-securesourcemanager/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-security-privateca/.prettierignore b/packages/google-cloud-security-privateca/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-security-publicca/.prettierignore b/packages/google-cloud-security-publicca/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-securitycenter/.prettierignore b/packages/google-cloud-securitycenter/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-securitycentermanagement/.prettierignore b/packages/google-cloud-securitycentermanagement/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-servicedirectory/.prettierignore b/packages/google-cloud-servicedirectory/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-servicehealth/.prettierignore b/packages/google-cloud-servicehealth/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-shell/.prettierignore b/packages/google-cloud-shell/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-speech/.prettierignore b/packages/google-cloud-speech/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-sql/.prettierignore b/packages/google-cloud-sql/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-storagebatchoperations/.prettierignore b/packages/google-cloud-storagebatchoperations/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-storageinsights/.prettierignore b/packages/google-cloud-storageinsights/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-support/.prettierignore b/packages/google-cloud-support/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-talent/.prettierignore b/packages/google-cloud-talent/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-tasks/.prettierignore b/packages/google-cloud-tasks/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-telcoautomation/.prettierignore b/packages/google-cloud-telcoautomation/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-texttospeech/.prettierignore b/packages/google-cloud-texttospeech/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-tpu/.prettierignore b/packages/google-cloud-tpu/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-translate/.prettierignore b/packages/google-cloud-translate/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-vectorsearch/.prettierignore b/packages/google-cloud-vectorsearch/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-video-livestream/.prettierignore b/packages/google-cloud-video-livestream/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-video-stitcher/.prettierignore b/packages/google-cloud-video-stitcher/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-video-transcoder/.prettierignore b/packages/google-cloud-video-transcoder/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-videointelligence/.prettierignore b/packages/google-cloud-videointelligence/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-vision/.prettierignore b/packages/google-cloud-vision/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-visionai/.prettierignore b/packages/google-cloud-visionai/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-vmmigration/.prettierignore b/packages/google-cloud-vmmigration/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-vmwareengine/.prettierignore b/packages/google-cloud-vmwareengine/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-vpcaccess/.prettierignore b/packages/google-cloud-vpcaccess/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-webrisk/.prettierignore b/packages/google-cloud-webrisk/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-websecurityscanner/.prettierignore b/packages/google-cloud-websecurityscanner/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-workflows/.prettierignore b/packages/google-cloud-workflows/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-workloadmanager/.prettierignore b/packages/google-cloud-workloadmanager/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-cloud-workstations/.prettierignore b/packages/google-cloud-workstations/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-container/.prettierignore b/packages/google-container/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-dataflow/.prettierignore b/packages/google-dataflow/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-devtools-artifactregistry/.prettierignore b/packages/google-devtools-artifactregistry/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-devtools-cloudbuild/.prettierignore b/packages/google-devtools-cloudbuild/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-devtools-cloudprofiler/.prettierignore b/packages/google-devtools-cloudprofiler/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-devtools-containeranalysis/.prettierignore b/packages/google-devtools-containeranalysis/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-iam-credentials/.prettierignore b/packages/google-iam-credentials/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-iam/.prettierignore b/packages/google-iam/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-identity-accesscontextmanager/.prettierignore b/packages/google-identity-accesscontextmanager/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-maps-addressvalidation/.prettierignore b/packages/google-maps-addressvalidation/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-maps-areainsights/.prettierignore b/packages/google-maps-areainsights/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-maps-fleetengine-delivery/.prettierignore b/packages/google-maps-fleetengine-delivery/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-maps-fleetengine/.prettierignore b/packages/google-maps-fleetengine/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-maps-fleetengine/v1/.prettierignore b/packages/google-maps-fleetengine/v1/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-maps-geocode/.prettierignore b/packages/google-maps-geocode/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-maps-mapsplatformdatasets/.prettierignore b/packages/google-maps-mapsplatformdatasets/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-maps-navconnect/.prettierignore b/packages/google-maps-navconnect/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-maps-places/.prettierignore b/packages/google-maps-places/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-maps-routeoptimization/.prettierignore b/packages/google-maps-routeoptimization/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-maps-routing/.prettierignore b/packages/google-maps-routing/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-maps-solar/.prettierignore b/packages/google-maps-solar/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-marketingplatform-admin/.prettierignore b/packages/google-marketingplatform-admin/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-monitoring-dashboard/.prettierignore b/packages/google-monitoring-dashboard/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-privacy-dlp/.prettierignore b/packages/google-privacy-dlp/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-shopping-css/.prettierignore b/packages/google-shopping-css/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-shopping-merchant-accounts/.prettierignore b/packages/google-shopping-merchant-accounts/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-shopping-merchant-conversions/.prettierignore b/packages/google-shopping-merchant-conversions/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-shopping-merchant-datasources/.prettierignore b/packages/google-shopping-merchant-datasources/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-shopping-merchant-inventories/.prettierignore b/packages/google-shopping-merchant-inventories/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-shopping-merchant-issueresolution/.prettierignore b/packages/google-shopping-merchant-issueresolution/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-shopping-merchant-lfp/.prettierignore b/packages/google-shopping-merchant-lfp/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-shopping-merchant-notifications/.prettierignore b/packages/google-shopping-merchant-notifications/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-shopping-merchant-ordertracking/.prettierignore b/packages/google-shopping-merchant-ordertracking/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-shopping-merchant-products/.prettierignore b/packages/google-shopping-merchant-products/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-shopping-merchant-promotions/.prettierignore b/packages/google-shopping-merchant-promotions/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-shopping-merchant-quota/.prettierignore b/packages/google-shopping-merchant-quota/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-shopping-merchant-reports/.prettierignore b/packages/google-shopping-merchant-reports/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-shopping-merchant-reviews/.prettierignore b/packages/google-shopping-merchant-reviews/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-storage-control/.prettierignore b/packages/google-storage-control/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-storagetransfer/.prettierignore b/packages/google-storagetransfer/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/google-streetview-publish/.prettierignore b/packages/google-streetview-publish/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/grafeas/.prettierignore b/packages/grafeas/.prettierignore deleted file mode 100644 index e69de29bb2d1..000000000000 From ce4e5fcd40d2a1493096cb27debf3c8324f8259c Mon Sep 17 00:00:00 2001 From: feywind <57276408+feywind@users.noreply.github.com> Date: Mon, 20 Apr 2026 18:23:08 -0400 Subject: [PATCH 05/11] chore: root prettier config --- .prettierrc.cjs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .prettierrc.cjs diff --git a/.prettierrc.cjs b/.prettierrc.cjs new file mode 100644 index 000000000000..d2eddc2ed894 --- /dev/null +++ b/.prettierrc.cjs @@ -0,0 +1,17 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +module.exports = { + ...require('gts/.prettierrc.json') +} From 05bb14c5d7dfaa69df4f5911c95800221375cc81 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Mon, 20 Apr 2026 22:34:56 +0000 Subject: [PATCH 06/11] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20?= =?UTF-8?q?post-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- packages/google-storage-control/librarian.js | 6 +- .../samples/quickstart.js | 4 +- .../samples/test/quickstart.js | 6 +- packages/google-storage-control/src/index.ts | 8 +- .../src/storage_control_client.ts | 14 +- .../src/util/ast_utils.ts | 22 +- .../src/util/proto_utils.ts | 4 +- .../src/util/storage_control_utils.ts | 10 +- .../src/util/uber_client_builder.ts | 8 +- .../google-storage-control/src/v2/index.ts | 4 +- .../src/v2/storage_client.ts | 56 +-- .../src/v2/storage_control_client.ts | 158 +++---- .../test/gapic_storage_control_v2.ts | 386 +++++++++--------- .../test/gapic_storage_v2.ts | 104 ++--- .../test/storage_control_compatibility.ts | 4 +- 15 files changed, 399 insertions(+), 395 deletions(-) diff --git a/packages/google-storage-control/librarian.js b/packages/google-storage-control/librarian.js index ef4333642775..185695574aac 100644 --- a/packages/google-storage-control/librarian.js +++ b/packages/google-storage-control/librarian.js @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -const {execSync} = require('child_process'); +const { execSync } = require('child_process'); const path = require('path'); const fs = require('fs'); @@ -20,7 +20,7 @@ const packageRoot = __dirname; const utilDir = path.join(packageRoot, 'src', 'util'); try { - execSync('npm install', {cwd: packageRoot, stdio: 'inherit'}); + execSync('npm install', { cwd: packageRoot, stdio: 'inherit' }); const tscPath = path.join(packageRoot, 'node_modules', '.bin', 'tsc'); execSync(`${tscPath} src/util/storage_control_utils.ts`, { @@ -28,7 +28,7 @@ try { stdio: 'inherit', }); - execSync('node storage_control_utils.js', {cwd: utilDir, stdio: 'inherit'}); + execSync('node storage_control_utils.js', { cwd: utilDir, stdio: 'inherit' }); const files = fs.readdirSync(utilDir); for (const file of files) { diff --git a/packages/google-storage-control/samples/quickstart.js b/packages/google-storage-control/samples/quickstart.js index ad54eba3dadc..57ca42493cef 100644 --- a/packages/google-storage-control/samples/quickstart.js +++ b/packages/google-storage-control/samples/quickstart.js @@ -31,7 +31,7 @@ function main(bucketName) { // const bucketName = 'abc123' // Imports the Control library - const {StorageControlClient} = require('@google-cloud/storage-control').v2; + const { StorageControlClient } = require('@google-cloud/storage-control').v2; // Instantiates a client const controlClient = new StorageControlClient(); @@ -54,7 +54,7 @@ function main(bucketName) { callGetStorageLayout(); } -process.on('unhandledRejection', err => { +process.on('unhandledRejection', (err) => { console.error(err.message); process.exitCode = 1; }); diff --git a/packages/google-storage-control/samples/test/quickstart.js b/packages/google-storage-control/samples/test/quickstart.js index afa61bcad7b2..b22bc5a622e1 100644 --- a/packages/google-storage-control/samples/test/quickstart.js +++ b/packages/google-storage-control/samples/test/quickstart.js @@ -17,9 +17,9 @@ const assert = require('assert'); const path = require('path'); const cp = require('child_process'); -const {describe, it, before} = require('mocha'); +const { describe, it, before } = require('mocha'); -const execSync = cmd => cp.execSync(cmd, {encoding: 'utf-8'}); +const execSync = (cmd) => cp.execSync(cmd, { encoding: 'utf-8' }); const cwd = path.join(__dirname, '..'); @@ -27,7 +27,7 @@ describe('Quickstart', () => { it('should run quickstart', async () => { const bucketName = 'storage-control-test-monorepo'; - const output = execSync(`node ./quickstart.js ${bucketName}`, {cwd}); + const output = execSync(`node ./quickstart.js ${bucketName}`, { cwd }); assert.match(output, new RegExp(`Bucket ${bucketName} has location type`)); }); }); diff --git a/packages/google-storage-control/src/index.ts b/packages/google-storage-control/src/index.ts index fe7a674a297f..86a0b95c1b5f 100644 --- a/packages/google-storage-control/src/index.ts +++ b/packages/google-storage-control/src/index.ts @@ -17,9 +17,9 @@ // ** All changes to this file may be overwritten. ** import * as v2 from './v2'; -import {StorageControlClient} from './storage_control_client'; +import { StorageControlClient } from './storage_control_client'; -export {v2, StorageControlClient}; -export default {v2, StorageControlClient}; +export { v2, StorageControlClient }; +export default { v2, StorageControlClient }; import * as protos from '../protos/protos'; -export {protos}; +export { protos }; diff --git a/packages/google-storage-control/src/storage_control_client.ts b/packages/google-storage-control/src/storage_control_client.ts index 8c4f670492d8..8807528cc2f4 100644 --- a/packages/google-storage-control/src/storage_control_client.ts +++ b/packages/google-storage-control/src/storage_control_client.ts @@ -15,9 +15,9 @@ // ** This file is automatically generated ** // ** All changes to this file may be overwritten. ** -import {protos} from './'; -import {StorageControlClient as StorageControlInternal} from './v2/storage_control_client'; -import {StorageClient} from './v2/storage_client'; +import { protos } from './'; +import { StorageControlClient as StorageControlInternal } from './v2/storage_control_client'; +import { StorageClient } from './v2/storage_client'; import type * as gax from 'google-gax'; import { Callback, @@ -27,7 +27,7 @@ import { LROperation, Descriptors, } from 'google-gax'; -import {Transform} from 'stream'; +import { Transform } from 'stream'; /** * Options passed to the underlying client. @@ -86,10 +86,10 @@ export class StorageControlClient { batching: {}, }; warn: (code: string, message: string, warnType?: string) => void; - innerApiCalls: {[name: string]: Function}; - pathTemplates: {[name: string]: gax.PathTemplate}; + innerApiCalls: { [name: string]: Function }; + pathTemplates: { [name: string]: gax.PathTemplate }; operationsClient: gax.OperationsClient; - storageControlStub?: Promise<{[name: string]: Function}>; + storageControlStub?: Promise<{ [name: string]: Function }>; /** * @param {object} [StorageControlClientOptions] - Enables user to instantiate clients separately and use those as the subclients. * To have sub-clients with different options, instantiate each client separately. diff --git a/packages/google-storage-control/src/util/ast_utils.ts b/packages/google-storage-control/src/util/ast_utils.ts index 2f11b46d4d97..589260ff85a6 100644 --- a/packages/google-storage-control/src/util/ast_utils.ts +++ b/packages/google-storage-control/src/util/ast_utils.ts @@ -77,7 +77,7 @@ function getOverloadedMethod( let promiseReturnType = ''; if (ts.isUnionTypeNode(node.type)) { const promiseTypeNode = node.type.types.find( - t => + (t) => t.kind === ts.SyntaxKind.TypeReference && t.getText(sourceFile).startsWith('Promise'), ); @@ -97,7 +97,7 @@ function getOverloadedMethod( let callbackType = ''; if (ts.isUnionTypeNode(optionsOrCallbackParam.type)) { const callbackTypeNode = optionsOrCallbackParam.type.types.find( - t => + (t) => t.kind === ts.SyntaxKind.TypeReference && (t.getText(sourceFile).startsWith('Callback') || t.getText(sourceFile).startsWith('PaginationCallback')), @@ -158,7 +158,7 @@ function extract(node: ts.Node, client: string): void { ); let docString = ''; if (commentRanges) { - commentRanges.map(r => { + commentRanges.map((r) => { docString = docString.concat( sourceFile!.getFullText().slice(r.pos, r.end), ); @@ -175,7 +175,7 @@ function extract(node: ts.Node, client: string): void { } } } - ts.forEachChild(node, childNode => { + ts.forEachChild(node, (childNode) => { extract(childNode, client); }); } @@ -190,7 +190,7 @@ function extract(node: ts.Node, client: string): void { * @returns {string} The generated source code for the methods. */ function ast(file: string, client: string): [string, string][] { - const program = ts.createProgram([file], {allowJs: true}); + const program = ts.createProgram([file], { allowJs: true }); sourceFile = program.getSourceFile(file)!; if (!sourceFile) { throw new Error(`Could not find source file: ${file}`); @@ -200,7 +200,7 @@ function ast(file: string, client: string): [string, string][] { extract(sourceFile, client); program.getTypeChecker(); - return foundNodes.map(f => { + return foundNodes.map((f) => { let output = ''; const [name, node] = f; const escapedName = getEscapedText(name); @@ -216,7 +216,7 @@ function ast(file: string, client: string): [string, string][] { } const isStatic = node.modifiers?.some( - m => m.kind === ts.SyntaxKind.StaticKeyword, + (m) => m.kind === ts.SyntaxKind.StaticKeyword, ); if (!isExcludedFunction) { const docString = methodDocstrings.get(functionName); @@ -293,7 +293,7 @@ function ast(file: string, client: string): [string, string][] { `; } else { const hasRequestArg = node.parameters.some( - p => getEscapedText(p.name) === 'request', + (p) => getEscapedText(p.name) === 'request', ); // If there's no 'request' parameter, it's a simple helper method. @@ -356,7 +356,7 @@ export function astHelper(files: string[], clients: string[]) { } } let output = ''; - functions.forEach(source => { + functions.forEach((source) => { output += source; }); return output; @@ -379,7 +379,7 @@ export function parseClientName(client: string) { * @returns {Map} A map of public property names to their full text. */ export function getPropertyDeclarations(file: string): Map { - const program = ts.createProgram([file], {allowJs: true}); + const program = ts.createProgram([file], { allowJs: true }); const sourceFile = program.getSourceFile(file)!; if (!sourceFile) { throw new Error(`Could not find source file: ${file}`); @@ -389,7 +389,7 @@ export function getPropertyDeclarations(file: string): Map { function visit(node: ts.Node) { if (ts.isPropertyDeclaration(node)) { const isPrivate = node.modifiers?.some( - m => m.kind === ts.SyntaxKind.PrivateKeyword, + (m) => m.kind === ts.SyntaxKind.PrivateKeyword, ); if (!isPrivate) { const propertyName = getEscapedText(node.name); diff --git a/packages/google-storage-control/src/util/proto_utils.ts b/packages/google-storage-control/src/util/proto_utils.ts index f93343497c35..e7082a00d793 100644 --- a/packages/google-storage-control/src/util/proto_utils.ts +++ b/packages/google-storage-control/src/util/proto_utils.ts @@ -41,10 +41,10 @@ export function cleanObjectReferences( filePaths: string[], replacements: Replacement[], ): void { - filePaths.forEach(filePath => { + filePaths.forEach((filePath) => { const fullPath = path.join(__dirname, '..', '..', filePath); if (fs.existsSync(fullPath)) { - replacements.forEach(({pattern, replacement}) => { + replacements.forEach(({ pattern, replacement }) => { try { const data = fs.readFileSync(fullPath, 'utf8'); const result = data.replace(pattern, replacement); diff --git a/packages/google-storage-control/src/util/storage_control_utils.ts b/packages/google-storage-control/src/util/storage_control_utils.ts index 0924c65f206f..e0cbae28a887 100644 --- a/packages/google-storage-control/src/util/storage_control_utils.ts +++ b/packages/google-storage-control/src/util/storage_control_utils.ts @@ -18,9 +18,9 @@ import { filesToUpdate, replacements, } from './proto_utils'; -import {buildOutput} from './uber_client_builder'; -import {fixIndexFile, fixV2Index} from './index_fix_utils'; -import {updateSamples, fixDocsHeaders} from './samples_and_doc_fix_utils'; +import { buildOutput } from './uber_client_builder'; +import { fixIndexFile, fixV2Index } from './index_fix_utils'; +import { updateSamples, fixDocsHeaders } from './samples_and_doc_fix_utils'; async function main() { fixIndexFile('src/index.ts'); @@ -29,9 +29,9 @@ async function main() { updateSamples(); fixDocsHeaders(); const finaloutput = await buildOutput(); - fs.writeFile('../storage_control_client.ts', finaloutput, err => { + fs.writeFile('../storage_control_client.ts', finaloutput, (err) => { if (err) throw err; }); } -main().catch(err => console.error(err)); +main().catch((err) => console.error(err)); diff --git a/packages/google-storage-control/src/util/uber_client_builder.ts b/packages/google-storage-control/src/util/uber_client_builder.ts index af7a71299579..318739cc0e22 100644 --- a/packages/google-storage-control/src/util/uber_client_builder.ts +++ b/packages/google-storage-control/src/util/uber_client_builder.ts @@ -13,7 +13,11 @@ // limitations under the License. import * as prettier from 'prettier'; -import {astHelper, parseClientName, getPropertyDeclarations} from './ast_utils'; +import { + astHelper, + parseClientName, + getPropertyDeclarations, +} from './ast_utils'; export const CLIENTS = ['StorageControlInternal', 'StorageClient']; export const FILES = [ @@ -170,7 +174,7 @@ function buildClientConstructor(clients: string[]) { }); constructorInitializers = constructorInitializers.concat('\t}'); let output = 'export class StorageControlClient{\n'; - properties.forEach(property => { + properties.forEach((property) => { variableDecl = variableDecl.concat(property); }); output = output.concat( diff --git a/packages/google-storage-control/src/v2/index.ts b/packages/google-storage-control/src/v2/index.ts index 58c2e508c0c0..fd30edff11a1 100644 --- a/packages/google-storage-control/src/v2/index.ts +++ b/packages/google-storage-control/src/v2/index.ts @@ -16,6 +16,6 @@ // ** https://github.com/googleapis/gapic-generator-typescript ** // ** All changes to this file may be overwritten. ** -export {StorageControlClient} from './storage_control_client'; +export { StorageControlClient } from './storage_control_client'; -export {StorageClient} from './storage_client'; +export { StorageClient } from './storage_client'; diff --git a/packages/google-storage-control/src/v2/storage_client.ts b/packages/google-storage-control/src/v2/storage_client.ts index 1ae3c0138a25..253ee5d76a93 100644 --- a/packages/google-storage-control/src/v2/storage_client.ts +++ b/packages/google-storage-control/src/v2/storage_client.ts @@ -26,10 +26,10 @@ import type { PaginationCallback, GaxCall, } from 'google-gax'; -import {Transform} from 'stream'; +import { Transform } from 'stream'; import * as protos from '../../protos/protos'; import jsonProtos = require('../../protos/protos.json'); -import {loggingUtils as logging, decodeAnyProtosInArray} from 'google-gax'; +import { loggingUtils as logging, decodeAnyProtosInArray } from 'google-gax'; /** * Client JSON configuration object, loaded from @@ -77,7 +77,7 @@ export class StorageClient { private _gaxModule: typeof gax | typeof gax.fallback; private _gaxGrpc: gax.GrpcClient | gax.fallback.GrpcClient; private _protos: {}; - private _defaults: {[method: string]: gax.CallSettings}; + private _defaults: { [method: string]: gax.CallSettings }; private _universeDomain: string; private _servicePath: string; private _log = logging.log('storage'); @@ -90,9 +90,9 @@ export class StorageClient { batching: {}, }; warn: (code: string, message: string, warnType?: string) => void; - innerApiCalls: {[name: string]: Function}; - pathTemplates: {[name: string]: gax.PathTemplate}; - storageStub?: Promise<{[name: string]: Function}>; + innerApiCalls: { [name: string]: Function }; + pathTemplates: { [name: string]: gax.PathTemplate }; + storageStub?: Promise<{ [name: string]: Function }>; /** * Construct an instance of StorageClient. @@ -168,7 +168,7 @@ export class StorageClient { const fallback = opts?.fallback ?? (typeof window !== 'undefined' && typeof window?.fetch === 'function'); - opts = Object.assign({servicePath, port, clientConfig, fallback}, opts); + opts = Object.assign({ servicePath, port, clientConfig, fallback }, opts); // Request numeric enum values if REST transport is used. opts.numericEnums = true; @@ -255,7 +255,7 @@ export class StorageClient { 'google.storage.v2.Storage', gapicConfig as gax.ClientConfig, opts.clientConfig || {}, - {'x-goog-api-client': clientHeader.join(' ')}, + { 'x-goog-api-client': clientHeader.join(' ') }, ); // Set up a dictionary of "inner API calls"; the core implementation @@ -295,7 +295,7 @@ export class StorageClient { (this._protos as any).google.storage.v2.Storage, this._opts, this._providedCustomServicePath, - ) as Promise<{[method: string]: Function}>; + ) as Promise<{ [method: string]: Function }>; // Iterate over each of the methods that the service provides // and create an API call method for each. @@ -309,7 +309,7 @@ export class StorageClient { ]; for (const methodName of storageStubMethods) { const callPromise = this.storageStub.then( - stub => + (stub) => (...args: Array<{}>) => { if (this._terminated) { return Promise.reject('The client has already been closed.'); @@ -536,13 +536,13 @@ export class StorageClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('deleteBucket request %j', request); @@ -689,13 +689,13 @@ export class StorageClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('getBucket request %j', request); @@ -858,7 +858,7 @@ export class StorageClient { .match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['project'] ?? fieldValue; - Object.assign(routingParameter, {project: parameterValue}); + Object.assign(routingParameter, { project: parameterValue }); } } } @@ -870,13 +870,13 @@ export class StorageClient { .match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['project'] ?? fieldValue; - Object.assign(routingParameter, {project: parameterValue}); + Object.assign(routingParameter, { project: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('createBucket request %j', request); @@ -1032,13 +1032,13 @@ export class StorageClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('lockBucketRetentionPolicy request %j', request); @@ -1206,13 +1206,13 @@ export class StorageClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('updateBucket request %j', request); @@ -1373,13 +1373,13 @@ export class StorageClient { .match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['project'] ?? fieldValue; - Object.assign(routingParameter, {project: parameterValue}); + Object.assign(routingParameter, { project: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); const wrappedCallback: @@ -1461,7 +1461,7 @@ export class StorageClient { .match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['project'] ?? fieldValue; - Object.assign(routingParameter, {project: parameterValue}); + Object.assign(routingParameter, { project: parameterValue }); } } } @@ -1469,7 +1469,7 @@ export class StorageClient { this._gaxModule.routingHeader.fromParams(routingParameter); const defaultCallSettings = this._defaults['listBuckets']; const callSettings = defaultCallSettings.merge(options); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('listBuckets stream %j', request); @@ -1535,7 +1535,7 @@ export class StorageClient { .match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['project'] ?? fieldValue; - Object.assign(routingParameter, {project: parameterValue}); + Object.assign(routingParameter, { project: parameterValue }); } } } @@ -1543,7 +1543,7 @@ export class StorageClient { this._gaxModule.routingHeader.fromParams(routingParameter); const defaultCallSettings = this._defaults['listBuckets']; const callSettings = defaultCallSettings.merge(options); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('listBuckets iterate %j', request); @@ -1695,7 +1695,7 @@ export class StorageClient { */ close(): Promise { if (this.storageStub && !this._terminated) { - return this.storageStub.then(stub => { + return this.storageStub.then((stub) => { this._log.info('ending gRPC channel'); this._terminated = true; stub.close(); diff --git a/packages/google-storage-control/src/v2/storage_control_client.ts b/packages/google-storage-control/src/v2/storage_control_client.ts index 4e1b43a82325..b98859b00fbc 100644 --- a/packages/google-storage-control/src/v2/storage_control_client.ts +++ b/packages/google-storage-control/src/v2/storage_control_client.ts @@ -28,10 +28,10 @@ import type { PaginationCallback, GaxCall, } from 'google-gax'; -import {Transform} from 'stream'; +import { Transform } from 'stream'; import * as protos from '../../protos/protos'; import jsonProtos = require('../../protos/protos.json'); -import {loggingUtils as logging, decodeAnyProtosInArray} from 'google-gax'; +import { loggingUtils as logging, decodeAnyProtosInArray } from 'google-gax'; /** * Client JSON configuration object, loaded from @@ -54,7 +54,7 @@ export class StorageControlClient { private _gaxModule: typeof gax | typeof gax.fallback; private _gaxGrpc: gax.GrpcClient | gax.fallback.GrpcClient; private _protos: {}; - private _defaults: {[method: string]: gax.CallSettings}; + private _defaults: { [method: string]: gax.CallSettings }; private _universeDomain: string; private _servicePath: string; private _log = logging.log('storage-control'); @@ -67,10 +67,10 @@ export class StorageControlClient { batching: {}, }; warn: (code: string, message: string, warnType?: string) => void; - innerApiCalls: {[name: string]: Function}; - pathTemplates: {[name: string]: gax.PathTemplate}; + innerApiCalls: { [name: string]: Function }; + pathTemplates: { [name: string]: gax.PathTemplate }; operationsClient: gax.OperationsClient; - storageControlStub?: Promise<{[name: string]: Function}>; + storageControlStub?: Promise<{ [name: string]: Function }>; /** * Construct an instance of StorageControlClient. @@ -146,7 +146,7 @@ export class StorageControlClient { const fallback = opts?.fallback ?? (typeof window !== 'undefined' && typeof window?.fetch === 'function'); - opts = Object.assign({servicePath, port, clientConfig, fallback}, opts); + opts = Object.assign({ servicePath, port, clientConfig, fallback }, opts); // Request numeric enum values if REST transport is used. opts.numericEnums = true; @@ -331,7 +331,7 @@ export class StorageControlClient { 'google.storage.control.v2.StorageControl', gapicConfig as gax.ClientConfig, opts.clientConfig || {}, - {'x-goog-api-client': clientHeader.join(' ')}, + { 'x-goog-api-client': clientHeader.join(' ') }, ); // Set up a dictionary of "inner API calls"; the core implementation @@ -371,7 +371,7 @@ export class StorageControlClient { (this._protos as any).google.storage.control.v2.StorageControl, this._opts, this._providedCustomServicePath, - ) as Promise<{[method: string]: Function}>; + ) as Promise<{ [method: string]: Function }>; // Iterate over each of the methods that the service provides // and create an API call method for each. @@ -406,7 +406,7 @@ export class StorageControlClient { ]; for (const methodName of storageControlStubMethods) { const callPromise = this.storageControlStub.then( - stub => + (stub) => (...args: Array<{}>) => { if (this._terminated) { return Promise.reject('The client has already been closed.'); @@ -632,13 +632,13 @@ export class StorageControlClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('createFolder request %j', request); @@ -785,13 +785,13 @@ export class StorageControlClient { .match(RegExp('(?projects/[^/]+/buckets/[^/]+)(?:/.*)?')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('deleteFolder request %j', request); @@ -936,13 +936,13 @@ export class StorageControlClient { .match(RegExp('(?projects/[^/]+/buckets/[^/]+)(?:/.*)?')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('getFolder request %j', request); @@ -1089,13 +1089,13 @@ export class StorageControlClient { .match(RegExp('(?projects/[^/]+/buckets/[^/]+)(?:/.*)?')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('getStorageLayout request %j', request); @@ -1246,13 +1246,13 @@ export class StorageControlClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('createManagedFolder request %j', request); @@ -1413,13 +1413,13 @@ export class StorageControlClient { .match(RegExp('(?projects/[^/]+/buckets/[^/]+)(?:/.*)?')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('deleteManagedFolder request %j', request); @@ -1575,13 +1575,13 @@ export class StorageControlClient { .match(RegExp('(?projects/[^/]+/buckets/[^/]+)(?:/.*)?')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('getManagedFolder request %j', request); @@ -1731,13 +1731,13 @@ export class StorageControlClient { .match(RegExp('(?projects/[^/]+/buckets/[^/]+)(?:/.*)?')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('disableAnywhereCache request %j', request); @@ -1887,13 +1887,13 @@ export class StorageControlClient { .match(RegExp('(?projects/[^/]+/buckets/[^/]+)(?:/.*)?')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('pauseAnywhereCache request %j', request); @@ -2043,13 +2043,13 @@ export class StorageControlClient { .match(RegExp('(?projects/[^/]+/buckets/[^/]+)(?:/.*)?')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('resumeAnywhereCache request %j', request); @@ -2198,13 +2198,13 @@ export class StorageControlClient { .match(RegExp('(?projects/[^/]+/buckets/[^/]+)(?:/.*)?')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('getAnywhereCache request %j', request); @@ -2347,7 +2347,7 @@ export class StorageControlClient { this._gaxModule.routingHeader.fromParams({ name: request.name ?? '', }); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('getProjectIntelligenceConfig request %j', request); @@ -2497,7 +2497,7 @@ export class StorageControlClient { this._gaxModule.routingHeader.fromParams({ 'intelligence_config.name': request.intelligenceConfig!.name ?? '', }); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('updateProjectIntelligenceConfig request %j', request); @@ -2649,7 +2649,7 @@ export class StorageControlClient { this._gaxModule.routingHeader.fromParams({ name: request.name ?? '', }); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('getFolderIntelligenceConfig request %j', request); @@ -2799,7 +2799,7 @@ export class StorageControlClient { this._gaxModule.routingHeader.fromParams({ 'intelligence_config.name': request.intelligenceConfig!.name ?? '', }); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('updateFolderIntelligenceConfig request %j', request); @@ -2951,7 +2951,7 @@ export class StorageControlClient { this._gaxModule.routingHeader.fromParams({ name: request.name ?? '', }); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('getOrganizationIntelligenceConfig request %j', request); @@ -3107,7 +3107,7 @@ export class StorageControlClient { this._gaxModule.routingHeader.fromParams({ 'intelligence_config.name': request.intelligenceConfig!.name ?? '', }); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('updateOrganizationIntelligenceConfig request %j', request); @@ -3253,7 +3253,7 @@ export class StorageControlClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } @@ -3265,13 +3265,13 @@ export class StorageControlClient { .match(RegExp('(?projects/[^/]+/buckets/[^/]+)(?:/.*)?')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('getIamPolicy request %j', request); @@ -3414,7 +3414,7 @@ export class StorageControlClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } @@ -3426,13 +3426,13 @@ export class StorageControlClient { .match(RegExp('(?projects/[^/]+/buckets/[^/]+)(?:/.*)?')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('setIamPolicy request %j', request); @@ -3571,7 +3571,7 @@ export class StorageControlClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } @@ -3585,7 +3585,7 @@ export class StorageControlClient { ); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } @@ -3601,13 +3601,13 @@ export class StorageControlClient { ); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('testIamPermissions request %j', request); @@ -3776,13 +3776,13 @@ export class StorageControlClient { .match(RegExp('(?projects/[^/]+/buckets/[^/]+)(?:/.*)?')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); const wrappedCallback: @@ -3839,7 +3839,7 @@ export class StorageControlClient { this._log.info('renameFolder long-running'); const request = new this._gaxModule.operationsProtos.google.longrunning.GetOperationRequest( - {name}, + { name }, ); const [operation] = await this.operationsClient.getOperation(request); const decodeOperation = new this._gaxModule.Operation( @@ -3971,13 +3971,13 @@ export class StorageControlClient { .match(RegExp('(?projects/[^/]+/buckets/[^/]+)(?:/.*)?')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); const wrappedCallback: @@ -4034,7 +4034,7 @@ export class StorageControlClient { this._log.info('deleteFolderRecursive long-running'); const request = new this._gaxModule.operationsProtos.google.longrunning.GetOperationRequest( - {name}, + { name }, ); const [operation] = await this.operationsClient.getOperation(request); const decodeOperation = new this._gaxModule.Operation( @@ -4162,13 +4162,13 @@ export class StorageControlClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); const wrappedCallback: @@ -4225,7 +4225,7 @@ export class StorageControlClient { this._log.info('createAnywhereCache long-running'); const request = new this._gaxModule.operationsProtos.google.longrunning.GetOperationRequest( - {name}, + { name }, ); const [operation] = await this.operationsClient.getOperation(request); const decodeOperation = new this._gaxModule.Operation( @@ -4360,13 +4360,13 @@ export class StorageControlClient { .match(RegExp('(?projects/[^/]+/buckets/[^/]+)(?:/.*)?')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); const wrappedCallback: @@ -4423,7 +4423,7 @@ export class StorageControlClient { this._log.info('updateAnywhereCache long-running'); const request = new this._gaxModule.operationsProtos.google.longrunning.GetOperationRequest( - {name}, + { name }, ); const [operation] = await this.operationsClient.getOperation(request); const decodeOperation = new this._gaxModule.Operation( @@ -4551,13 +4551,13 @@ export class StorageControlClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); const wrappedCallback: @@ -4648,7 +4648,7 @@ export class StorageControlClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } @@ -4656,7 +4656,7 @@ export class StorageControlClient { this._gaxModule.routingHeader.fromParams(routingParameter); const defaultCallSettings = this._defaults['listFolders']; const callSettings = defaultCallSettings.merge(options); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('listFolders stream %j', request); @@ -4729,7 +4729,7 @@ export class StorageControlClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } @@ -4737,7 +4737,7 @@ export class StorageControlClient { this._gaxModule.routingHeader.fromParams(routingParameter); const defaultCallSettings = this._defaults['listFolders']; const callSettings = defaultCallSettings.merge(options); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('listFolders iterate %j', request); @@ -4855,13 +4855,13 @@ export class StorageControlClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); const wrappedCallback: @@ -4940,7 +4940,7 @@ export class StorageControlClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } @@ -4948,7 +4948,7 @@ export class StorageControlClient { this._gaxModule.routingHeader.fromParams(routingParameter); const defaultCallSettings = this._defaults['listManagedFolders']; const callSettings = defaultCallSettings.merge(options); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('listManagedFolders stream %j', request); @@ -5009,7 +5009,7 @@ export class StorageControlClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } @@ -5017,7 +5017,7 @@ export class StorageControlClient { this._gaxModule.routingHeader.fromParams(routingParameter); const defaultCallSettings = this._defaults['listManagedFolders']; const callSettings = defaultCallSettings.merge(options); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('listManagedFolders iterate %j', request); @@ -5132,13 +5132,13 @@ export class StorageControlClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); const wrappedCallback: @@ -5214,7 +5214,7 @@ export class StorageControlClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } @@ -5222,7 +5222,7 @@ export class StorageControlClient { this._gaxModule.routingHeader.fromParams(routingParameter); const defaultCallSettings = this._defaults['listAnywhereCaches']; const callSettings = defaultCallSettings.merge(options); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('listAnywhereCaches stream %j', request); @@ -5280,7 +5280,7 @@ export class StorageControlClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } @@ -5288,7 +5288,7 @@ export class StorageControlClient { this._gaxModule.routingHeader.fromParams(routingParameter); const defaultCallSettings = this._defaults['listAnywhereCaches']; const callSettings = defaultCallSettings.merge(options); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('listAnywhereCaches iterate %j', request); @@ -5920,7 +5920,7 @@ export class StorageControlClient { */ close(): Promise { if (this.storageControlStub && !this._terminated) { - return this.storageControlStub.then(stub => { + return this.storageControlStub.then((stub) => { this._log.info('ending gRPC channel'); this._terminated = true; stub.close(); diff --git a/packages/google-storage-control/test/gapic_storage_control_v2.ts b/packages/google-storage-control/test/gapic_storage_control_v2.ts index 6bee211bf76d..f0b1d1c358d7 100644 --- a/packages/google-storage-control/test/gapic_storage_control_v2.ts +++ b/packages/google-storage-control/test/gapic_storage_control_v2.ts @@ -19,13 +19,13 @@ import * as protos from '../protos/protos'; import * as assert from 'assert'; import * as sinon from 'sinon'; -import {SinonStub} from 'sinon'; -import {describe, it} from 'mocha'; +import { SinonStub } from 'sinon'; +import { describe, it } from 'mocha'; import * as storagecontrolModule from '../src'; -import {PassThrough} from 'stream'; +import { PassThrough } from 'stream'; -import {protobuf, LROperation, operationsProtos} from 'google-gax'; +import { protobuf, LROperation, operationsProtos } from 'google-gax'; // Dynamically loaded proto JSON is needed to get the type information // to fill in default values for request objects @@ -45,7 +45,7 @@ function getTypeDefaultValue(typeName: string, fields: string[]) { function generateSampleMessage(instance: T) { const filledObject = ( instance.constructor as typeof protobuf.Message - ).toObject(instance as protobuf.Message, {defaults: true}); + ).toObject(instance as protobuf.Message, { defaults: true }); return (instance.constructor as typeof protobuf.Message).fromObject( filledObject, ) as T; @@ -149,9 +149,9 @@ function stubAsyncIterationCall( return Promise.reject(error); } if (counter >= responses!.length) { - return Promise.resolve({done: true, value: undefined}); + return Promise.resolve({ done: true, value: undefined }); } - return Promise.resolve({done: false, value: responses![counter++]}); + return Promise.resolve({ done: false, value: responses![counter++] }); }, }; }, @@ -271,7 +271,7 @@ describe('v2.StorageControlClient', () => { it('has initialize method and supports deferred initialization', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); assert.strictEqual(client.storageControlStub, undefined); @@ -279,12 +279,12 @@ describe('v2.StorageControlClient', () => { assert(client.storageControlStub); }); - it('has close method for the initialized client', done => { + it('has close method for the initialized client', (done) => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); - client.initialize().catch(err => { + client.initialize().catch((err) => { throw err; }); assert(client.storageControlStub); @@ -293,14 +293,14 @@ describe('v2.StorageControlClient', () => { .then(() => { done(); }) - .catch(err => { + .catch((err) => { throw err; }); }); - it('has close method for the non-initialized client', done => { + it('has close method for the non-initialized client', (done) => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); assert.strictEqual(client.storageControlStub, undefined); @@ -309,7 +309,7 @@ describe('v2.StorageControlClient', () => { .then(() => { done(); }) - .catch(err => { + .catch((err) => { throw err; }); }); @@ -317,7 +317,7 @@ describe('v2.StorageControlClient', () => { it('has getProjectId method', async () => { const fakeProjectId = 'fake-project-id'; const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); client.auth.getProjectId = sinon.stub().resolves(fakeProjectId); @@ -329,7 +329,7 @@ describe('v2.StorageControlClient', () => { it('has getProjectId method with callback', async () => { const fakeProjectId = 'fake-project-id'; const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); client.auth.getProjectId = sinon @@ -352,7 +352,7 @@ describe('v2.StorageControlClient', () => { describe('createFolder', () => { it('invokes createFolder without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -385,7 +385,7 @@ describe('v2.StorageControlClient', () => { it('invokes createFolder without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -434,7 +434,7 @@ describe('v2.StorageControlClient', () => { it('invokes createFolder with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -467,7 +467,7 @@ describe('v2.StorageControlClient', () => { it('invokes createFolder with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -477,7 +477,7 @@ describe('v2.StorageControlClient', () => { // path template: {bucket=**} request.parent = 'value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects(client.createFolder(request), expectedError); @@ -487,7 +487,7 @@ describe('v2.StorageControlClient', () => { describe('deleteFolder', () => { it('invokes deleteFolder without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -521,7 +521,7 @@ describe('v2.StorageControlClient', () => { it('invokes deleteFolder without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -571,7 +571,7 @@ describe('v2.StorageControlClient', () => { it('invokes deleteFolder with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -605,7 +605,7 @@ describe('v2.StorageControlClient', () => { it('invokes deleteFolder with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -615,7 +615,7 @@ describe('v2.StorageControlClient', () => { // path template: {bucket=projects/*/buckets/*}/** request.name = 'projects/value/buckets/value/value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects(client.deleteFolder(request), expectedError); @@ -625,7 +625,7 @@ describe('v2.StorageControlClient', () => { describe('getFolder', () => { it('invokes getFolder without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -659,7 +659,7 @@ describe('v2.StorageControlClient', () => { it('invokes getFolder without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -709,7 +709,7 @@ describe('v2.StorageControlClient', () => { it('invokes getFolder with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -740,7 +740,7 @@ describe('v2.StorageControlClient', () => { it('invokes getFolder with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -750,7 +750,7 @@ describe('v2.StorageControlClient', () => { // path template: {bucket=projects/*/buckets/*}/** request.name = 'projects/value/buckets/value/value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects(client.getFolder(request), expectedError); @@ -760,7 +760,7 @@ describe('v2.StorageControlClient', () => { describe('getStorageLayout', () => { it('invokes getStorageLayout without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -794,7 +794,7 @@ describe('v2.StorageControlClient', () => { it('invokes getStorageLayout without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -844,7 +844,7 @@ describe('v2.StorageControlClient', () => { it('invokes getStorageLayout with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -878,7 +878,7 @@ describe('v2.StorageControlClient', () => { it('invokes getStorageLayout with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -888,7 +888,7 @@ describe('v2.StorageControlClient', () => { // path template: {bucket=projects/*/buckets/*}/** request.name = 'projects/value/buckets/value/value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects(client.getStorageLayout(request), expectedError); @@ -898,7 +898,7 @@ describe('v2.StorageControlClient', () => { describe('createManagedFolder', () => { it('invokes createManagedFolder without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -932,7 +932,7 @@ describe('v2.StorageControlClient', () => { it('invokes createManagedFolder without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -981,7 +981,7 @@ describe('v2.StorageControlClient', () => { it('invokes createManagedFolder with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1014,7 +1014,7 @@ describe('v2.StorageControlClient', () => { it('invokes createManagedFolder with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1024,7 +1024,7 @@ describe('v2.StorageControlClient', () => { // path template: {bucket=**} request.parent = 'value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects(client.createManagedFolder(request), expectedError); @@ -1034,7 +1034,7 @@ describe('v2.StorageControlClient', () => { describe('deleteManagedFolder', () => { it('invokes deleteManagedFolder without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1069,7 +1069,7 @@ describe('v2.StorageControlClient', () => { it('invokes deleteManagedFolder without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1119,7 +1119,7 @@ describe('v2.StorageControlClient', () => { it('invokes deleteManagedFolder with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1153,7 +1153,7 @@ describe('v2.StorageControlClient', () => { it('invokes deleteManagedFolder with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1163,7 +1163,7 @@ describe('v2.StorageControlClient', () => { // path template: {bucket=projects/*/buckets/*}/** request.name = 'projects/value/buckets/value/value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects(client.deleteManagedFolder(request), expectedError); @@ -1173,7 +1173,7 @@ describe('v2.StorageControlClient', () => { describe('getManagedFolder', () => { it('invokes getManagedFolder without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1207,7 +1207,7 @@ describe('v2.StorageControlClient', () => { it('invokes getManagedFolder without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1257,7 +1257,7 @@ describe('v2.StorageControlClient', () => { it('invokes getManagedFolder with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1291,7 +1291,7 @@ describe('v2.StorageControlClient', () => { it('invokes getManagedFolder with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1301,7 +1301,7 @@ describe('v2.StorageControlClient', () => { // path template: {bucket=projects/*/buckets/*}/** request.name = 'projects/value/buckets/value/value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects(client.getManagedFolder(request), expectedError); @@ -1311,7 +1311,7 @@ describe('v2.StorageControlClient', () => { describe('disableAnywhereCache', () => { it('invokes disableAnywhereCache without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1346,7 +1346,7 @@ describe('v2.StorageControlClient', () => { it('invokes disableAnywhereCache without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1396,7 +1396,7 @@ describe('v2.StorageControlClient', () => { it('invokes disableAnywhereCache with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1430,7 +1430,7 @@ describe('v2.StorageControlClient', () => { it('invokes disableAnywhereCache with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1440,7 +1440,7 @@ describe('v2.StorageControlClient', () => { // path template: {bucket=projects/*/buckets/*}/** request.name = 'projects/value/buckets/value/value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects(client.disableAnywhereCache(request), expectedError); @@ -1450,7 +1450,7 @@ describe('v2.StorageControlClient', () => { describe('pauseAnywhereCache', () => { it('invokes pauseAnywhereCache without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1485,7 +1485,7 @@ describe('v2.StorageControlClient', () => { it('invokes pauseAnywhereCache without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1535,7 +1535,7 @@ describe('v2.StorageControlClient', () => { it('invokes pauseAnywhereCache with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1569,7 +1569,7 @@ describe('v2.StorageControlClient', () => { it('invokes pauseAnywhereCache with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1579,7 +1579,7 @@ describe('v2.StorageControlClient', () => { // path template: {bucket=projects/*/buckets/*}/** request.name = 'projects/value/buckets/value/value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects(client.pauseAnywhereCache(request), expectedError); @@ -1589,7 +1589,7 @@ describe('v2.StorageControlClient', () => { describe('resumeAnywhereCache', () => { it('invokes resumeAnywhereCache without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1624,7 +1624,7 @@ describe('v2.StorageControlClient', () => { it('invokes resumeAnywhereCache without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1674,7 +1674,7 @@ describe('v2.StorageControlClient', () => { it('invokes resumeAnywhereCache with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1708,7 +1708,7 @@ describe('v2.StorageControlClient', () => { it('invokes resumeAnywhereCache with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1718,7 +1718,7 @@ describe('v2.StorageControlClient', () => { // path template: {bucket=projects/*/buckets/*}/** request.name = 'projects/value/buckets/value/value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects(client.resumeAnywhereCache(request), expectedError); @@ -1728,7 +1728,7 @@ describe('v2.StorageControlClient', () => { describe('getAnywhereCache', () => { it('invokes getAnywhereCache without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1762,7 +1762,7 @@ describe('v2.StorageControlClient', () => { it('invokes getAnywhereCache without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1812,7 +1812,7 @@ describe('v2.StorageControlClient', () => { it('invokes getAnywhereCache with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1846,7 +1846,7 @@ describe('v2.StorageControlClient', () => { it('invokes getAnywhereCache with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1856,7 +1856,7 @@ describe('v2.StorageControlClient', () => { // path template: {bucket=projects/*/buckets/*}/** request.name = 'projects/value/buckets/value/value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects(client.getAnywhereCache(request), expectedError); @@ -1866,7 +1866,7 @@ describe('v2.StorageControlClient', () => { describe('getProjectIntelligenceConfig', () => { it('invokes getProjectIntelligenceConfig without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1898,7 +1898,7 @@ describe('v2.StorageControlClient', () => { it('invokes getProjectIntelligenceConfig without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1945,7 +1945,7 @@ describe('v2.StorageControlClient', () => { it('invokes getProjectIntelligenceConfig with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1979,7 +1979,7 @@ describe('v2.StorageControlClient', () => { it('invokes getProjectIntelligenceConfig with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1992,7 +1992,7 @@ describe('v2.StorageControlClient', () => { ); request.name = defaultValue1; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects( @@ -2005,7 +2005,7 @@ describe('v2.StorageControlClient', () => { describe('updateProjectIntelligenceConfig', () => { it('invokes updateProjectIntelligenceConfig without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2038,7 +2038,7 @@ describe('v2.StorageControlClient', () => { it('invokes updateProjectIntelligenceConfig without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2086,7 +2086,7 @@ describe('v2.StorageControlClient', () => { it('invokes updateProjectIntelligenceConfig with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2121,7 +2121,7 @@ describe('v2.StorageControlClient', () => { it('invokes updateProjectIntelligenceConfig with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2135,7 +2135,7 @@ describe('v2.StorageControlClient', () => { ); request.intelligenceConfig.name = defaultValue1; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects( @@ -2148,7 +2148,7 @@ describe('v2.StorageControlClient', () => { describe('getFolderIntelligenceConfig', () => { it('invokes getFolderIntelligenceConfig without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2180,7 +2180,7 @@ describe('v2.StorageControlClient', () => { it('invokes getFolderIntelligenceConfig without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2227,7 +2227,7 @@ describe('v2.StorageControlClient', () => { it('invokes getFolderIntelligenceConfig with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2261,7 +2261,7 @@ describe('v2.StorageControlClient', () => { it('invokes getFolderIntelligenceConfig with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2274,7 +2274,7 @@ describe('v2.StorageControlClient', () => { ); request.name = defaultValue1; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects( @@ -2287,7 +2287,7 @@ describe('v2.StorageControlClient', () => { describe('updateFolderIntelligenceConfig', () => { it('invokes updateFolderIntelligenceConfig without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2320,7 +2320,7 @@ describe('v2.StorageControlClient', () => { it('invokes updateFolderIntelligenceConfig without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2368,7 +2368,7 @@ describe('v2.StorageControlClient', () => { it('invokes updateFolderIntelligenceConfig with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2403,7 +2403,7 @@ describe('v2.StorageControlClient', () => { it('invokes updateFolderIntelligenceConfig with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2417,7 +2417,7 @@ describe('v2.StorageControlClient', () => { ); request.intelligenceConfig.name = defaultValue1; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects( @@ -2430,7 +2430,7 @@ describe('v2.StorageControlClient', () => { describe('getOrganizationIntelligenceConfig', () => { it('invokes getOrganizationIntelligenceConfig without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2463,7 +2463,7 @@ describe('v2.StorageControlClient', () => { it('invokes getOrganizationIntelligenceConfig without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2510,7 +2510,7 @@ describe('v2.StorageControlClient', () => { it('invokes getOrganizationIntelligenceConfig with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2544,7 +2544,7 @@ describe('v2.StorageControlClient', () => { it('invokes getOrganizationIntelligenceConfig with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2557,7 +2557,7 @@ describe('v2.StorageControlClient', () => { ); request.name = defaultValue1; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects( @@ -2570,7 +2570,7 @@ describe('v2.StorageControlClient', () => { describe('updateOrganizationIntelligenceConfig', () => { it('invokes updateOrganizationIntelligenceConfig without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2604,7 +2604,7 @@ describe('v2.StorageControlClient', () => { it('invokes updateOrganizationIntelligenceConfig without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2652,7 +2652,7 @@ describe('v2.StorageControlClient', () => { it('invokes updateOrganizationIntelligenceConfig with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2685,7 +2685,7 @@ describe('v2.StorageControlClient', () => { it('invokes updateOrganizationIntelligenceConfig with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2699,7 +2699,7 @@ describe('v2.StorageControlClient', () => { ); request.intelligenceConfig.name = defaultValue1; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects( @@ -2712,7 +2712,7 @@ describe('v2.StorageControlClient', () => { describe('getIamPolicy', () => { it('invokes getIamPolicy without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2743,7 +2743,7 @@ describe('v2.StorageControlClient', () => { it('invokes getIamPolicy without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2790,7 +2790,7 @@ describe('v2.StorageControlClient', () => { it('invokes getIamPolicy with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2821,7 +2821,7 @@ describe('v2.StorageControlClient', () => { it('invokes getIamPolicy with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2833,7 +2833,7 @@ describe('v2.StorageControlClient', () => { // path template: {bucket=projects/*/buckets/*}/** request.resource = 'projects/value/buckets/value/value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects(client.getIamPolicy(request), expectedError); @@ -2843,7 +2843,7 @@ describe('v2.StorageControlClient', () => { describe('setIamPolicy', () => { it('invokes setIamPolicy without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2874,7 +2874,7 @@ describe('v2.StorageControlClient', () => { it('invokes setIamPolicy without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2921,7 +2921,7 @@ describe('v2.StorageControlClient', () => { it('invokes setIamPolicy with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2952,7 +2952,7 @@ describe('v2.StorageControlClient', () => { it('invokes setIamPolicy with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2964,7 +2964,7 @@ describe('v2.StorageControlClient', () => { // path template: {bucket=projects/*/buckets/*}/** request.resource = 'projects/value/buckets/value/value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects(client.setIamPolicy(request), expectedError); @@ -2974,7 +2974,7 @@ describe('v2.StorageControlClient', () => { describe('testIamPermissions', () => { it('invokes testIamPermissions without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3008,7 +3008,7 @@ describe('v2.StorageControlClient', () => { it('invokes testIamPermissions without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3057,7 +3057,7 @@ describe('v2.StorageControlClient', () => { it('invokes testIamPermissions with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3090,7 +3090,7 @@ describe('v2.StorageControlClient', () => { it('invokes testIamPermissions with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3104,7 +3104,7 @@ describe('v2.StorageControlClient', () => { // path template: {bucket=projects/*/buckets/*}/managedFolders/** request.resource = 'projects/value/buckets/value/managedFolders/value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects(client.testIamPermissions(request), expectedError); @@ -3114,7 +3114,7 @@ describe('v2.StorageControlClient', () => { describe('renameFolder', () => { it('invokes renameFolder without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3149,7 +3149,7 @@ describe('v2.StorageControlClient', () => { it('invokes renameFolder without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3206,7 +3206,7 @@ describe('v2.StorageControlClient', () => { it('invokes renameFolder with call error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3240,7 +3240,7 @@ describe('v2.StorageControlClient', () => { it('invokes renameFolder with LRO error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3276,7 +3276,7 @@ describe('v2.StorageControlClient', () => { it('invokes checkRenameFolderProgress without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3284,8 +3284,8 @@ describe('v2.StorageControlClient', () => { new operationsProtos.google.longrunning.Operation(), ); expectedResponse.name = 'test'; - expectedResponse.response = {type_url: 'url', value: Buffer.from('')}; - expectedResponse.metadata = {type_url: 'url', value: Buffer.from('')}; + expectedResponse.response = { type_url: 'url', value: Buffer.from('') }; + expectedResponse.metadata = { type_url: 'url', value: Buffer.from('') }; client.operationsClient.getOperation = stubSimpleCall(expectedResponse); const decodedOperation = await client.checkRenameFolderProgress( @@ -3298,7 +3298,7 @@ describe('v2.StorageControlClient', () => { it('invokes checkRenameFolderProgress with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3316,7 +3316,7 @@ describe('v2.StorageControlClient', () => { describe('deleteFolderRecursive', () => { it('invokes deleteFolderRecursive without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3352,7 +3352,7 @@ describe('v2.StorageControlClient', () => { it('invokes deleteFolderRecursive without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3409,7 +3409,7 @@ describe('v2.StorageControlClient', () => { it('invokes deleteFolderRecursive with call error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3446,7 +3446,7 @@ describe('v2.StorageControlClient', () => { it('invokes deleteFolderRecursive with LRO error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3482,7 +3482,7 @@ describe('v2.StorageControlClient', () => { it('invokes checkDeleteFolderRecursiveProgress without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3490,8 +3490,8 @@ describe('v2.StorageControlClient', () => { new operationsProtos.google.longrunning.Operation(), ); expectedResponse.name = 'test'; - expectedResponse.response = {type_url: 'url', value: Buffer.from('')}; - expectedResponse.metadata = {type_url: 'url', value: Buffer.from('')}; + expectedResponse.response = { type_url: 'url', value: Buffer.from('') }; + expectedResponse.metadata = { type_url: 'url', value: Buffer.from('') }; client.operationsClient.getOperation = stubSimpleCall(expectedResponse); const decodedOperation = await client.checkDeleteFolderRecursiveProgress( @@ -3504,7 +3504,7 @@ describe('v2.StorageControlClient', () => { it('invokes checkDeleteFolderRecursiveProgress with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3525,7 +3525,7 @@ describe('v2.StorageControlClient', () => { describe('createAnywhereCache', () => { it('invokes createAnywhereCache without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3560,7 +3560,7 @@ describe('v2.StorageControlClient', () => { it('invokes createAnywhereCache without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3616,7 +3616,7 @@ describe('v2.StorageControlClient', () => { it('invokes createAnywhereCache with call error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3649,7 +3649,7 @@ describe('v2.StorageControlClient', () => { it('invokes createAnywhereCache with LRO error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3684,7 +3684,7 @@ describe('v2.StorageControlClient', () => { it('invokes checkCreateAnywhereCacheProgress without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3692,8 +3692,8 @@ describe('v2.StorageControlClient', () => { new operationsProtos.google.longrunning.Operation(), ); expectedResponse.name = 'test'; - expectedResponse.response = {type_url: 'url', value: Buffer.from('')}; - expectedResponse.metadata = {type_url: 'url', value: Buffer.from('')}; + expectedResponse.response = { type_url: 'url', value: Buffer.from('') }; + expectedResponse.metadata = { type_url: 'url', value: Buffer.from('') }; client.operationsClient.getOperation = stubSimpleCall(expectedResponse); const decodedOperation = await client.checkCreateAnywhereCacheProgress( @@ -3706,7 +3706,7 @@ describe('v2.StorageControlClient', () => { it('invokes checkCreateAnywhereCacheProgress with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3727,7 +3727,7 @@ describe('v2.StorageControlClient', () => { describe('updateAnywhereCache', () => { it('invokes updateAnywhereCache without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3764,7 +3764,7 @@ describe('v2.StorageControlClient', () => { it('invokes updateAnywhereCache without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3822,7 +3822,7 @@ describe('v2.StorageControlClient', () => { it('invokes updateAnywhereCache with call error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3857,7 +3857,7 @@ describe('v2.StorageControlClient', () => { it('invokes updateAnywhereCache with LRO error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3894,7 +3894,7 @@ describe('v2.StorageControlClient', () => { it('invokes checkUpdateAnywhereCacheProgress without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3902,8 +3902,8 @@ describe('v2.StorageControlClient', () => { new operationsProtos.google.longrunning.Operation(), ); expectedResponse.name = 'test'; - expectedResponse.response = {type_url: 'url', value: Buffer.from('')}; - expectedResponse.metadata = {type_url: 'url', value: Buffer.from('')}; + expectedResponse.response = { type_url: 'url', value: Buffer.from('') }; + expectedResponse.metadata = { type_url: 'url', value: Buffer.from('') }; client.operationsClient.getOperation = stubSimpleCall(expectedResponse); const decodedOperation = await client.checkUpdateAnywhereCacheProgress( @@ -3916,7 +3916,7 @@ describe('v2.StorageControlClient', () => { it('invokes checkUpdateAnywhereCacheProgress with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3937,7 +3937,7 @@ describe('v2.StorageControlClient', () => { describe('listFolders', () => { it('invokes listFolders without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3967,7 +3967,7 @@ describe('v2.StorageControlClient', () => { it('invokes listFolders without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4013,7 +4013,7 @@ describe('v2.StorageControlClient', () => { it('invokes listFolders with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4041,7 +4041,7 @@ describe('v2.StorageControlClient', () => { it('invokes listFoldersStream without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4092,7 +4092,7 @@ describe('v2.StorageControlClient', () => { it('invokes listFoldersStream with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4140,7 +4140,7 @@ describe('v2.StorageControlClient', () => { it('uses async iteration with listFolders without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4180,7 +4180,7 @@ describe('v2.StorageControlClient', () => { it('uses async iteration with listFolders with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4221,7 +4221,7 @@ describe('v2.StorageControlClient', () => { describe('listManagedFolders', () => { it('invokes listManagedFolders without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4263,7 +4263,7 @@ describe('v2.StorageControlClient', () => { it('invokes listManagedFolders without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4320,7 +4320,7 @@ describe('v2.StorageControlClient', () => { it('invokes listManagedFolders with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4353,7 +4353,7 @@ describe('v2.StorageControlClient', () => { it('invokes listManagedFoldersStream without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4410,7 +4410,7 @@ describe('v2.StorageControlClient', () => { it('invokes listManagedFoldersStream with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4456,7 +4456,7 @@ describe('v2.StorageControlClient', () => { it('uses async iteration with listManagedFolders without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4508,7 +4508,7 @@ describe('v2.StorageControlClient', () => { it('uses async iteration with listManagedFolders with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4553,7 +4553,7 @@ describe('v2.StorageControlClient', () => { describe('listAnywhereCaches', () => { it('invokes listAnywhereCaches without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4595,7 +4595,7 @@ describe('v2.StorageControlClient', () => { it('invokes listAnywhereCaches without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4652,7 +4652,7 @@ describe('v2.StorageControlClient', () => { it('invokes listAnywhereCaches with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4685,7 +4685,7 @@ describe('v2.StorageControlClient', () => { it('invokes listAnywhereCachesStream without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4742,7 +4742,7 @@ describe('v2.StorageControlClient', () => { it('invokes listAnywhereCachesStream with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4788,7 +4788,7 @@ describe('v2.StorageControlClient', () => { it('uses async iteration with listAnywhereCaches without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4840,7 +4840,7 @@ describe('v2.StorageControlClient', () => { it('uses async iteration with listAnywhereCaches with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4884,7 +4884,7 @@ describe('v2.StorageControlClient', () => { describe('getOperation', () => { it('invokes getOperation without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4905,7 +4905,7 @@ describe('v2.StorageControlClient', () => { }); it('invokes getOperation without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); const request = generateSampleMessage( @@ -4933,7 +4933,7 @@ describe('v2.StorageControlClient', () => { } }, ) - .catch(err => { + .catch((err) => { throw err; }); }); @@ -4943,7 +4943,7 @@ describe('v2.StorageControlClient', () => { }); it('invokes getOperation with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); const request = generateSampleMessage( @@ -4967,7 +4967,7 @@ describe('v2.StorageControlClient', () => { describe('cancelOperation', () => { it('invokes cancelOperation without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4989,7 +4989,7 @@ describe('v2.StorageControlClient', () => { }); it('invokes cancelOperation without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); const request = generateSampleMessage( @@ -5017,7 +5017,7 @@ describe('v2.StorageControlClient', () => { } }, ) - .catch(err => { + .catch((err) => { throw err; }); }); @@ -5027,7 +5027,7 @@ describe('v2.StorageControlClient', () => { }); it('invokes cancelOperation with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); const request = generateSampleMessage( @@ -5051,7 +5051,7 @@ describe('v2.StorageControlClient', () => { describe('deleteOperation', () => { it('invokes deleteOperation without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -5073,7 +5073,7 @@ describe('v2.StorageControlClient', () => { }); it('invokes deleteOperation without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); const request = generateSampleMessage( @@ -5101,7 +5101,7 @@ describe('v2.StorageControlClient', () => { } }, ) - .catch(err => { + .catch((err) => { throw err; }); }); @@ -5111,7 +5111,7 @@ describe('v2.StorageControlClient', () => { }); it('invokes deleteOperation with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); const request = generateSampleMessage( @@ -5135,7 +5135,7 @@ describe('v2.StorageControlClient', () => { describe('listOperationsAsync', () => { it('uses async iteration with listOperations without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); const request = generateSampleMessage( @@ -5170,7 +5170,7 @@ describe('v2.StorageControlClient', () => { }); it('uses async iteration with listOperations with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -5206,7 +5206,7 @@ describe('v2.StorageControlClient', () => { anywhere_cache: 'anywhereCacheValue', }; const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -5269,7 +5269,7 @@ describe('v2.StorageControlClient', () => { bucket: 'bucketValue', }; const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -5319,7 +5319,7 @@ describe('v2.StorageControlClient', () => { folder: 'folderValue', }; const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -5382,7 +5382,7 @@ describe('v2.StorageControlClient', () => { location: 'locationValue', }; const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -5446,7 +5446,7 @@ describe('v2.StorageControlClient', () => { managed_folder: 'managedFolderValue', }; const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -5509,7 +5509,7 @@ describe('v2.StorageControlClient', () => { location: 'locationValue', }; const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -5569,7 +5569,7 @@ describe('v2.StorageControlClient', () => { project: 'projectValue', }; const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -5608,7 +5608,7 @@ describe('v2.StorageControlClient', () => { location: 'locationValue', }; const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -5673,7 +5673,7 @@ describe('v2.StorageControlClient', () => { bucket: 'bucketValue', }; const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); diff --git a/packages/google-storage-control/test/gapic_storage_v2.ts b/packages/google-storage-control/test/gapic_storage_v2.ts index dcc1c531b3e9..c61481bc008e 100644 --- a/packages/google-storage-control/test/gapic_storage_v2.ts +++ b/packages/google-storage-control/test/gapic_storage_v2.ts @@ -19,13 +19,13 @@ import * as protos from '../protos/protos'; import * as assert from 'assert'; import * as sinon from 'sinon'; -import {SinonStub} from 'sinon'; -import {describe, it} from 'mocha'; +import { SinonStub } from 'sinon'; +import { describe, it } from 'mocha'; import * as storageModule from '../src'; -import {PassThrough} from 'stream'; +import { PassThrough } from 'stream'; -import {protobuf} from 'google-gax'; +import { protobuf } from 'google-gax'; // Dynamically loaded proto JSON is needed to get the type information // to fill in default values for request objects @@ -45,7 +45,7 @@ function getTypeDefaultValue(typeName: string, fields: string[]) { function generateSampleMessage(instance: T) { const filledObject = ( instance.constructor as typeof protobuf.Message - ).toObject(instance as protobuf.Message, {defaults: true}); + ).toObject(instance as protobuf.Message, { defaults: true }); return (instance.constructor as typeof protobuf.Message).fromObject( filledObject, ) as T; @@ -117,9 +117,9 @@ function stubAsyncIterationCall( return Promise.reject(error); } if (counter >= responses!.length) { - return Promise.resolve({done: true, value: undefined}); + return Promise.resolve({ done: true, value: undefined }); } - return Promise.resolve({done: false, value: responses![counter++]}); + return Promise.resolve({ done: false, value: responses![counter++] }); }, }; }, @@ -237,7 +237,7 @@ describe('v2.StorageClient', () => { it('has initialize method and supports deferred initialization', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); assert.strictEqual(client.storageStub, undefined); @@ -245,12 +245,12 @@ describe('v2.StorageClient', () => { assert(client.storageStub); }); - it('has close method for the initialized client', done => { + it('has close method for the initialized client', (done) => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); - client.initialize().catch(err => { + client.initialize().catch((err) => { throw err; }); assert(client.storageStub); @@ -259,14 +259,14 @@ describe('v2.StorageClient', () => { .then(() => { done(); }) - .catch(err => { + .catch((err) => { throw err; }); }); - it('has close method for the non-initialized client', done => { + it('has close method for the non-initialized client', (done) => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); assert.strictEqual(client.storageStub, undefined); @@ -275,7 +275,7 @@ describe('v2.StorageClient', () => { .then(() => { done(); }) - .catch(err => { + .catch((err) => { throw err; }); }); @@ -283,7 +283,7 @@ describe('v2.StorageClient', () => { it('has getProjectId method', async () => { const fakeProjectId = 'fake-project-id'; const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); client.auth.getProjectId = sinon.stub().resolves(fakeProjectId); @@ -295,7 +295,7 @@ describe('v2.StorageClient', () => { it('has getProjectId method with callback', async () => { const fakeProjectId = 'fake-project-id'; const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); client.auth.getProjectId = sinon @@ -318,7 +318,7 @@ describe('v2.StorageClient', () => { describe('deleteBucket', () => { it('invokes deleteBucket without error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -346,7 +346,7 @@ describe('v2.StorageClient', () => { it('invokes deleteBucket without error using callback', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -390,7 +390,7 @@ describe('v2.StorageClient', () => { it('invokes deleteBucket with error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -418,7 +418,7 @@ describe('v2.StorageClient', () => { it('invokes deleteBucket with closed client', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -428,7 +428,7 @@ describe('v2.StorageClient', () => { // path template: {bucket=**} request.name = 'value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects(client.deleteBucket(request), expectedError); @@ -438,7 +438,7 @@ describe('v2.StorageClient', () => { describe('getBucket', () => { it('invokes getBucket without error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -466,7 +466,7 @@ describe('v2.StorageClient', () => { it('invokes getBucket without error using callback', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -510,7 +510,7 @@ describe('v2.StorageClient', () => { it('invokes getBucket with error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -535,7 +535,7 @@ describe('v2.StorageClient', () => { it('invokes getBucket with closed client', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -545,7 +545,7 @@ describe('v2.StorageClient', () => { // path template: {bucket=**} request.name = 'value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects(client.getBucket(request), expectedError); @@ -555,7 +555,7 @@ describe('v2.StorageClient', () => { describe('createBucket', () => { it('invokes createBucket without error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -586,7 +586,7 @@ describe('v2.StorageClient', () => { it('invokes createBucket without error using callback', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -633,7 +633,7 @@ describe('v2.StorageClient', () => { it('invokes createBucket with error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -664,7 +664,7 @@ describe('v2.StorageClient', () => { it('invokes createBucket with closed client', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -677,7 +677,7 @@ describe('v2.StorageClient', () => { // path template: {project=**} request.bucket.project = 'value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects(client.createBucket(request), expectedError); @@ -687,7 +687,7 @@ describe('v2.StorageClient', () => { describe('lockBucketRetentionPolicy', () => { it('invokes lockBucketRetentionPolicy without error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -716,7 +716,7 @@ describe('v2.StorageClient', () => { it('invokes lockBucketRetentionPolicy without error using callback', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -760,7 +760,7 @@ describe('v2.StorageClient', () => { it('invokes lockBucketRetentionPolicy with error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -791,7 +791,7 @@ describe('v2.StorageClient', () => { it('invokes lockBucketRetentionPolicy with closed client', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -801,7 +801,7 @@ describe('v2.StorageClient', () => { // path template: {bucket=**} request.bucket = 'value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects( @@ -814,7 +814,7 @@ describe('v2.StorageClient', () => { describe('updateBucket', () => { it('invokes updateBucket without error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -843,7 +843,7 @@ describe('v2.StorageClient', () => { it('invokes updateBucket without error using callback', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -888,7 +888,7 @@ describe('v2.StorageClient', () => { it('invokes updateBucket with error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -917,7 +917,7 @@ describe('v2.StorageClient', () => { it('invokes updateBucket with closed client', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -928,7 +928,7 @@ describe('v2.StorageClient', () => { // path template: {bucket=**} request.bucket.name = 'value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects(client.updateBucket(request), expectedError); @@ -938,7 +938,7 @@ describe('v2.StorageClient', () => { describe('listBuckets', () => { it('invokes listBuckets without error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -968,7 +968,7 @@ describe('v2.StorageClient', () => { it('invokes listBuckets without error using callback', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1014,7 +1014,7 @@ describe('v2.StorageClient', () => { it('invokes listBuckets with error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1042,7 +1042,7 @@ describe('v2.StorageClient', () => { it('invokes listBucketsStream without error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1090,7 +1090,7 @@ describe('v2.StorageClient', () => { it('invokes listBucketsStream with error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1135,7 +1135,7 @@ describe('v2.StorageClient', () => { it('uses async iteration with listBuckets without error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1175,7 +1175,7 @@ describe('v2.StorageClient', () => { it('uses async iteration with listBuckets with error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1221,7 +1221,7 @@ describe('v2.StorageClient', () => { bucket: 'bucketValue', }; const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1272,7 +1272,7 @@ describe('v2.StorageClient', () => { crypto_key: 'cryptoKeyValue', }; const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1345,7 +1345,7 @@ describe('v2.StorageClient', () => { project: 'projectValue', }; const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); diff --git a/packages/google-storage-control/test/storage_control_compatibility.ts b/packages/google-storage-control/test/storage_control_compatibility.ts index d297cc76b60d..1f9bed80ed5f 100644 --- a/packages/google-storage-control/test/storage_control_compatibility.ts +++ b/packages/google-storage-control/test/storage_control_compatibility.ts @@ -13,8 +13,8 @@ // limitations under the License. import * as assert from 'assert'; -import {StorageControlClient as UberStorageControlClient} from '../src/storage_control_client'; -import {StorageControlClient as OriginalStorageControlClient} from '../src/v2/storage_control_client'; +import { StorageControlClient as UberStorageControlClient } from '../src/storage_control_client'; +import { StorageControlClient as OriginalStorageControlClient } from '../src/v2/storage_control_client'; describe('Backwards compatibility', () => { it('uber client should have all the methods of the original client', () => { From c170f1f47137bb1658a06102e9d3f9fbde0956e8 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Mon, 20 Apr 2026 22:35:28 +0000 Subject: [PATCH 07/11] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20?= =?UTF-8?q?post-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- packages/google-storage-control/librarian.js | 6 +- .../samples/quickstart.js | 4 +- .../samples/test/quickstart.js | 6 +- packages/google-storage-control/src/index.ts | 8 +- .../src/storage_control_client.ts | 14 +- .../src/util/ast_utils.ts | 22 +- .../src/util/proto_utils.ts | 4 +- .../src/util/storage_control_utils.ts | 10 +- .../src/util/uber_client_builder.ts | 8 +- .../google-storage-control/src/v2/index.ts | 4 +- .../src/v2/storage_client.ts | 56 +-- .../src/v2/storage_control_client.ts | 158 +++---- .../test/gapic_storage_control_v2.ts | 386 +++++++++--------- .../test/gapic_storage_v2.ts | 104 ++--- .../test/storage_control_compatibility.ts | 4 +- 15 files changed, 399 insertions(+), 395 deletions(-) diff --git a/packages/google-storage-control/librarian.js b/packages/google-storage-control/librarian.js index ef4333642775..185695574aac 100644 --- a/packages/google-storage-control/librarian.js +++ b/packages/google-storage-control/librarian.js @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -const {execSync} = require('child_process'); +const { execSync } = require('child_process'); const path = require('path'); const fs = require('fs'); @@ -20,7 +20,7 @@ const packageRoot = __dirname; const utilDir = path.join(packageRoot, 'src', 'util'); try { - execSync('npm install', {cwd: packageRoot, stdio: 'inherit'}); + execSync('npm install', { cwd: packageRoot, stdio: 'inherit' }); const tscPath = path.join(packageRoot, 'node_modules', '.bin', 'tsc'); execSync(`${tscPath} src/util/storage_control_utils.ts`, { @@ -28,7 +28,7 @@ try { stdio: 'inherit', }); - execSync('node storage_control_utils.js', {cwd: utilDir, stdio: 'inherit'}); + execSync('node storage_control_utils.js', { cwd: utilDir, stdio: 'inherit' }); const files = fs.readdirSync(utilDir); for (const file of files) { diff --git a/packages/google-storage-control/samples/quickstart.js b/packages/google-storage-control/samples/quickstart.js index ad54eba3dadc..57ca42493cef 100644 --- a/packages/google-storage-control/samples/quickstart.js +++ b/packages/google-storage-control/samples/quickstart.js @@ -31,7 +31,7 @@ function main(bucketName) { // const bucketName = 'abc123' // Imports the Control library - const {StorageControlClient} = require('@google-cloud/storage-control').v2; + const { StorageControlClient } = require('@google-cloud/storage-control').v2; // Instantiates a client const controlClient = new StorageControlClient(); @@ -54,7 +54,7 @@ function main(bucketName) { callGetStorageLayout(); } -process.on('unhandledRejection', err => { +process.on('unhandledRejection', (err) => { console.error(err.message); process.exitCode = 1; }); diff --git a/packages/google-storage-control/samples/test/quickstart.js b/packages/google-storage-control/samples/test/quickstart.js index afa61bcad7b2..b22bc5a622e1 100644 --- a/packages/google-storage-control/samples/test/quickstart.js +++ b/packages/google-storage-control/samples/test/quickstart.js @@ -17,9 +17,9 @@ const assert = require('assert'); const path = require('path'); const cp = require('child_process'); -const {describe, it, before} = require('mocha'); +const { describe, it, before } = require('mocha'); -const execSync = cmd => cp.execSync(cmd, {encoding: 'utf-8'}); +const execSync = (cmd) => cp.execSync(cmd, { encoding: 'utf-8' }); const cwd = path.join(__dirname, '..'); @@ -27,7 +27,7 @@ describe('Quickstart', () => { it('should run quickstart', async () => { const bucketName = 'storage-control-test-monorepo'; - const output = execSync(`node ./quickstart.js ${bucketName}`, {cwd}); + const output = execSync(`node ./quickstart.js ${bucketName}`, { cwd }); assert.match(output, new RegExp(`Bucket ${bucketName} has location type`)); }); }); diff --git a/packages/google-storage-control/src/index.ts b/packages/google-storage-control/src/index.ts index fe7a674a297f..86a0b95c1b5f 100644 --- a/packages/google-storage-control/src/index.ts +++ b/packages/google-storage-control/src/index.ts @@ -17,9 +17,9 @@ // ** All changes to this file may be overwritten. ** import * as v2 from './v2'; -import {StorageControlClient} from './storage_control_client'; +import { StorageControlClient } from './storage_control_client'; -export {v2, StorageControlClient}; -export default {v2, StorageControlClient}; +export { v2, StorageControlClient }; +export default { v2, StorageControlClient }; import * as protos from '../protos/protos'; -export {protos}; +export { protos }; diff --git a/packages/google-storage-control/src/storage_control_client.ts b/packages/google-storage-control/src/storage_control_client.ts index 8c4f670492d8..8807528cc2f4 100644 --- a/packages/google-storage-control/src/storage_control_client.ts +++ b/packages/google-storage-control/src/storage_control_client.ts @@ -15,9 +15,9 @@ // ** This file is automatically generated ** // ** All changes to this file may be overwritten. ** -import {protos} from './'; -import {StorageControlClient as StorageControlInternal} from './v2/storage_control_client'; -import {StorageClient} from './v2/storage_client'; +import { protos } from './'; +import { StorageControlClient as StorageControlInternal } from './v2/storage_control_client'; +import { StorageClient } from './v2/storage_client'; import type * as gax from 'google-gax'; import { Callback, @@ -27,7 +27,7 @@ import { LROperation, Descriptors, } from 'google-gax'; -import {Transform} from 'stream'; +import { Transform } from 'stream'; /** * Options passed to the underlying client. @@ -86,10 +86,10 @@ export class StorageControlClient { batching: {}, }; warn: (code: string, message: string, warnType?: string) => void; - innerApiCalls: {[name: string]: Function}; - pathTemplates: {[name: string]: gax.PathTemplate}; + innerApiCalls: { [name: string]: Function }; + pathTemplates: { [name: string]: gax.PathTemplate }; operationsClient: gax.OperationsClient; - storageControlStub?: Promise<{[name: string]: Function}>; + storageControlStub?: Promise<{ [name: string]: Function }>; /** * @param {object} [StorageControlClientOptions] - Enables user to instantiate clients separately and use those as the subclients. * To have sub-clients with different options, instantiate each client separately. diff --git a/packages/google-storage-control/src/util/ast_utils.ts b/packages/google-storage-control/src/util/ast_utils.ts index 2f11b46d4d97..589260ff85a6 100644 --- a/packages/google-storage-control/src/util/ast_utils.ts +++ b/packages/google-storage-control/src/util/ast_utils.ts @@ -77,7 +77,7 @@ function getOverloadedMethod( let promiseReturnType = ''; if (ts.isUnionTypeNode(node.type)) { const promiseTypeNode = node.type.types.find( - t => + (t) => t.kind === ts.SyntaxKind.TypeReference && t.getText(sourceFile).startsWith('Promise'), ); @@ -97,7 +97,7 @@ function getOverloadedMethod( let callbackType = ''; if (ts.isUnionTypeNode(optionsOrCallbackParam.type)) { const callbackTypeNode = optionsOrCallbackParam.type.types.find( - t => + (t) => t.kind === ts.SyntaxKind.TypeReference && (t.getText(sourceFile).startsWith('Callback') || t.getText(sourceFile).startsWith('PaginationCallback')), @@ -158,7 +158,7 @@ function extract(node: ts.Node, client: string): void { ); let docString = ''; if (commentRanges) { - commentRanges.map(r => { + commentRanges.map((r) => { docString = docString.concat( sourceFile!.getFullText().slice(r.pos, r.end), ); @@ -175,7 +175,7 @@ function extract(node: ts.Node, client: string): void { } } } - ts.forEachChild(node, childNode => { + ts.forEachChild(node, (childNode) => { extract(childNode, client); }); } @@ -190,7 +190,7 @@ function extract(node: ts.Node, client: string): void { * @returns {string} The generated source code for the methods. */ function ast(file: string, client: string): [string, string][] { - const program = ts.createProgram([file], {allowJs: true}); + const program = ts.createProgram([file], { allowJs: true }); sourceFile = program.getSourceFile(file)!; if (!sourceFile) { throw new Error(`Could not find source file: ${file}`); @@ -200,7 +200,7 @@ function ast(file: string, client: string): [string, string][] { extract(sourceFile, client); program.getTypeChecker(); - return foundNodes.map(f => { + return foundNodes.map((f) => { let output = ''; const [name, node] = f; const escapedName = getEscapedText(name); @@ -216,7 +216,7 @@ function ast(file: string, client: string): [string, string][] { } const isStatic = node.modifiers?.some( - m => m.kind === ts.SyntaxKind.StaticKeyword, + (m) => m.kind === ts.SyntaxKind.StaticKeyword, ); if (!isExcludedFunction) { const docString = methodDocstrings.get(functionName); @@ -293,7 +293,7 @@ function ast(file: string, client: string): [string, string][] { `; } else { const hasRequestArg = node.parameters.some( - p => getEscapedText(p.name) === 'request', + (p) => getEscapedText(p.name) === 'request', ); // If there's no 'request' parameter, it's a simple helper method. @@ -356,7 +356,7 @@ export function astHelper(files: string[], clients: string[]) { } } let output = ''; - functions.forEach(source => { + functions.forEach((source) => { output += source; }); return output; @@ -379,7 +379,7 @@ export function parseClientName(client: string) { * @returns {Map} A map of public property names to their full text. */ export function getPropertyDeclarations(file: string): Map { - const program = ts.createProgram([file], {allowJs: true}); + const program = ts.createProgram([file], { allowJs: true }); const sourceFile = program.getSourceFile(file)!; if (!sourceFile) { throw new Error(`Could not find source file: ${file}`); @@ -389,7 +389,7 @@ export function getPropertyDeclarations(file: string): Map { function visit(node: ts.Node) { if (ts.isPropertyDeclaration(node)) { const isPrivate = node.modifiers?.some( - m => m.kind === ts.SyntaxKind.PrivateKeyword, + (m) => m.kind === ts.SyntaxKind.PrivateKeyword, ); if (!isPrivate) { const propertyName = getEscapedText(node.name); diff --git a/packages/google-storage-control/src/util/proto_utils.ts b/packages/google-storage-control/src/util/proto_utils.ts index f93343497c35..e7082a00d793 100644 --- a/packages/google-storage-control/src/util/proto_utils.ts +++ b/packages/google-storage-control/src/util/proto_utils.ts @@ -41,10 +41,10 @@ export function cleanObjectReferences( filePaths: string[], replacements: Replacement[], ): void { - filePaths.forEach(filePath => { + filePaths.forEach((filePath) => { const fullPath = path.join(__dirname, '..', '..', filePath); if (fs.existsSync(fullPath)) { - replacements.forEach(({pattern, replacement}) => { + replacements.forEach(({ pattern, replacement }) => { try { const data = fs.readFileSync(fullPath, 'utf8'); const result = data.replace(pattern, replacement); diff --git a/packages/google-storage-control/src/util/storage_control_utils.ts b/packages/google-storage-control/src/util/storage_control_utils.ts index 0924c65f206f..e0cbae28a887 100644 --- a/packages/google-storage-control/src/util/storage_control_utils.ts +++ b/packages/google-storage-control/src/util/storage_control_utils.ts @@ -18,9 +18,9 @@ import { filesToUpdate, replacements, } from './proto_utils'; -import {buildOutput} from './uber_client_builder'; -import {fixIndexFile, fixV2Index} from './index_fix_utils'; -import {updateSamples, fixDocsHeaders} from './samples_and_doc_fix_utils'; +import { buildOutput } from './uber_client_builder'; +import { fixIndexFile, fixV2Index } from './index_fix_utils'; +import { updateSamples, fixDocsHeaders } from './samples_and_doc_fix_utils'; async function main() { fixIndexFile('src/index.ts'); @@ -29,9 +29,9 @@ async function main() { updateSamples(); fixDocsHeaders(); const finaloutput = await buildOutput(); - fs.writeFile('../storage_control_client.ts', finaloutput, err => { + fs.writeFile('../storage_control_client.ts', finaloutput, (err) => { if (err) throw err; }); } -main().catch(err => console.error(err)); +main().catch((err) => console.error(err)); diff --git a/packages/google-storage-control/src/util/uber_client_builder.ts b/packages/google-storage-control/src/util/uber_client_builder.ts index af7a71299579..318739cc0e22 100644 --- a/packages/google-storage-control/src/util/uber_client_builder.ts +++ b/packages/google-storage-control/src/util/uber_client_builder.ts @@ -13,7 +13,11 @@ // limitations under the License. import * as prettier from 'prettier'; -import {astHelper, parseClientName, getPropertyDeclarations} from './ast_utils'; +import { + astHelper, + parseClientName, + getPropertyDeclarations, +} from './ast_utils'; export const CLIENTS = ['StorageControlInternal', 'StorageClient']; export const FILES = [ @@ -170,7 +174,7 @@ function buildClientConstructor(clients: string[]) { }); constructorInitializers = constructorInitializers.concat('\t}'); let output = 'export class StorageControlClient{\n'; - properties.forEach(property => { + properties.forEach((property) => { variableDecl = variableDecl.concat(property); }); output = output.concat( diff --git a/packages/google-storage-control/src/v2/index.ts b/packages/google-storage-control/src/v2/index.ts index 58c2e508c0c0..fd30edff11a1 100644 --- a/packages/google-storage-control/src/v2/index.ts +++ b/packages/google-storage-control/src/v2/index.ts @@ -16,6 +16,6 @@ // ** https://github.com/googleapis/gapic-generator-typescript ** // ** All changes to this file may be overwritten. ** -export {StorageControlClient} from './storage_control_client'; +export { StorageControlClient } from './storage_control_client'; -export {StorageClient} from './storage_client'; +export { StorageClient } from './storage_client'; diff --git a/packages/google-storage-control/src/v2/storage_client.ts b/packages/google-storage-control/src/v2/storage_client.ts index 1ae3c0138a25..253ee5d76a93 100644 --- a/packages/google-storage-control/src/v2/storage_client.ts +++ b/packages/google-storage-control/src/v2/storage_client.ts @@ -26,10 +26,10 @@ import type { PaginationCallback, GaxCall, } from 'google-gax'; -import {Transform} from 'stream'; +import { Transform } from 'stream'; import * as protos from '../../protos/protos'; import jsonProtos = require('../../protos/protos.json'); -import {loggingUtils as logging, decodeAnyProtosInArray} from 'google-gax'; +import { loggingUtils as logging, decodeAnyProtosInArray } from 'google-gax'; /** * Client JSON configuration object, loaded from @@ -77,7 +77,7 @@ export class StorageClient { private _gaxModule: typeof gax | typeof gax.fallback; private _gaxGrpc: gax.GrpcClient | gax.fallback.GrpcClient; private _protos: {}; - private _defaults: {[method: string]: gax.CallSettings}; + private _defaults: { [method: string]: gax.CallSettings }; private _universeDomain: string; private _servicePath: string; private _log = logging.log('storage'); @@ -90,9 +90,9 @@ export class StorageClient { batching: {}, }; warn: (code: string, message: string, warnType?: string) => void; - innerApiCalls: {[name: string]: Function}; - pathTemplates: {[name: string]: gax.PathTemplate}; - storageStub?: Promise<{[name: string]: Function}>; + innerApiCalls: { [name: string]: Function }; + pathTemplates: { [name: string]: gax.PathTemplate }; + storageStub?: Promise<{ [name: string]: Function }>; /** * Construct an instance of StorageClient. @@ -168,7 +168,7 @@ export class StorageClient { const fallback = opts?.fallback ?? (typeof window !== 'undefined' && typeof window?.fetch === 'function'); - opts = Object.assign({servicePath, port, clientConfig, fallback}, opts); + opts = Object.assign({ servicePath, port, clientConfig, fallback }, opts); // Request numeric enum values if REST transport is used. opts.numericEnums = true; @@ -255,7 +255,7 @@ export class StorageClient { 'google.storage.v2.Storage', gapicConfig as gax.ClientConfig, opts.clientConfig || {}, - {'x-goog-api-client': clientHeader.join(' ')}, + { 'x-goog-api-client': clientHeader.join(' ') }, ); // Set up a dictionary of "inner API calls"; the core implementation @@ -295,7 +295,7 @@ export class StorageClient { (this._protos as any).google.storage.v2.Storage, this._opts, this._providedCustomServicePath, - ) as Promise<{[method: string]: Function}>; + ) as Promise<{ [method: string]: Function }>; // Iterate over each of the methods that the service provides // and create an API call method for each. @@ -309,7 +309,7 @@ export class StorageClient { ]; for (const methodName of storageStubMethods) { const callPromise = this.storageStub.then( - stub => + (stub) => (...args: Array<{}>) => { if (this._terminated) { return Promise.reject('The client has already been closed.'); @@ -536,13 +536,13 @@ export class StorageClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('deleteBucket request %j', request); @@ -689,13 +689,13 @@ export class StorageClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('getBucket request %j', request); @@ -858,7 +858,7 @@ export class StorageClient { .match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['project'] ?? fieldValue; - Object.assign(routingParameter, {project: parameterValue}); + Object.assign(routingParameter, { project: parameterValue }); } } } @@ -870,13 +870,13 @@ export class StorageClient { .match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['project'] ?? fieldValue; - Object.assign(routingParameter, {project: parameterValue}); + Object.assign(routingParameter, { project: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('createBucket request %j', request); @@ -1032,13 +1032,13 @@ export class StorageClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('lockBucketRetentionPolicy request %j', request); @@ -1206,13 +1206,13 @@ export class StorageClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('updateBucket request %j', request); @@ -1373,13 +1373,13 @@ export class StorageClient { .match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['project'] ?? fieldValue; - Object.assign(routingParameter, {project: parameterValue}); + Object.assign(routingParameter, { project: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); const wrappedCallback: @@ -1461,7 +1461,7 @@ export class StorageClient { .match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['project'] ?? fieldValue; - Object.assign(routingParameter, {project: parameterValue}); + Object.assign(routingParameter, { project: parameterValue }); } } } @@ -1469,7 +1469,7 @@ export class StorageClient { this._gaxModule.routingHeader.fromParams(routingParameter); const defaultCallSettings = this._defaults['listBuckets']; const callSettings = defaultCallSettings.merge(options); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('listBuckets stream %j', request); @@ -1535,7 +1535,7 @@ export class StorageClient { .match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['project'] ?? fieldValue; - Object.assign(routingParameter, {project: parameterValue}); + Object.assign(routingParameter, { project: parameterValue }); } } } @@ -1543,7 +1543,7 @@ export class StorageClient { this._gaxModule.routingHeader.fromParams(routingParameter); const defaultCallSettings = this._defaults['listBuckets']; const callSettings = defaultCallSettings.merge(options); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('listBuckets iterate %j', request); @@ -1695,7 +1695,7 @@ export class StorageClient { */ close(): Promise { if (this.storageStub && !this._terminated) { - return this.storageStub.then(stub => { + return this.storageStub.then((stub) => { this._log.info('ending gRPC channel'); this._terminated = true; stub.close(); diff --git a/packages/google-storage-control/src/v2/storage_control_client.ts b/packages/google-storage-control/src/v2/storage_control_client.ts index 4e1b43a82325..b98859b00fbc 100644 --- a/packages/google-storage-control/src/v2/storage_control_client.ts +++ b/packages/google-storage-control/src/v2/storage_control_client.ts @@ -28,10 +28,10 @@ import type { PaginationCallback, GaxCall, } from 'google-gax'; -import {Transform} from 'stream'; +import { Transform } from 'stream'; import * as protos from '../../protos/protos'; import jsonProtos = require('../../protos/protos.json'); -import {loggingUtils as logging, decodeAnyProtosInArray} from 'google-gax'; +import { loggingUtils as logging, decodeAnyProtosInArray } from 'google-gax'; /** * Client JSON configuration object, loaded from @@ -54,7 +54,7 @@ export class StorageControlClient { private _gaxModule: typeof gax | typeof gax.fallback; private _gaxGrpc: gax.GrpcClient | gax.fallback.GrpcClient; private _protos: {}; - private _defaults: {[method: string]: gax.CallSettings}; + private _defaults: { [method: string]: gax.CallSettings }; private _universeDomain: string; private _servicePath: string; private _log = logging.log('storage-control'); @@ -67,10 +67,10 @@ export class StorageControlClient { batching: {}, }; warn: (code: string, message: string, warnType?: string) => void; - innerApiCalls: {[name: string]: Function}; - pathTemplates: {[name: string]: gax.PathTemplate}; + innerApiCalls: { [name: string]: Function }; + pathTemplates: { [name: string]: gax.PathTemplate }; operationsClient: gax.OperationsClient; - storageControlStub?: Promise<{[name: string]: Function}>; + storageControlStub?: Promise<{ [name: string]: Function }>; /** * Construct an instance of StorageControlClient. @@ -146,7 +146,7 @@ export class StorageControlClient { const fallback = opts?.fallback ?? (typeof window !== 'undefined' && typeof window?.fetch === 'function'); - opts = Object.assign({servicePath, port, clientConfig, fallback}, opts); + opts = Object.assign({ servicePath, port, clientConfig, fallback }, opts); // Request numeric enum values if REST transport is used. opts.numericEnums = true; @@ -331,7 +331,7 @@ export class StorageControlClient { 'google.storage.control.v2.StorageControl', gapicConfig as gax.ClientConfig, opts.clientConfig || {}, - {'x-goog-api-client': clientHeader.join(' ')}, + { 'x-goog-api-client': clientHeader.join(' ') }, ); // Set up a dictionary of "inner API calls"; the core implementation @@ -371,7 +371,7 @@ export class StorageControlClient { (this._protos as any).google.storage.control.v2.StorageControl, this._opts, this._providedCustomServicePath, - ) as Promise<{[method: string]: Function}>; + ) as Promise<{ [method: string]: Function }>; // Iterate over each of the methods that the service provides // and create an API call method for each. @@ -406,7 +406,7 @@ export class StorageControlClient { ]; for (const methodName of storageControlStubMethods) { const callPromise = this.storageControlStub.then( - stub => + (stub) => (...args: Array<{}>) => { if (this._terminated) { return Promise.reject('The client has already been closed.'); @@ -632,13 +632,13 @@ export class StorageControlClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('createFolder request %j', request); @@ -785,13 +785,13 @@ export class StorageControlClient { .match(RegExp('(?projects/[^/]+/buckets/[^/]+)(?:/.*)?')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('deleteFolder request %j', request); @@ -936,13 +936,13 @@ export class StorageControlClient { .match(RegExp('(?projects/[^/]+/buckets/[^/]+)(?:/.*)?')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('getFolder request %j', request); @@ -1089,13 +1089,13 @@ export class StorageControlClient { .match(RegExp('(?projects/[^/]+/buckets/[^/]+)(?:/.*)?')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('getStorageLayout request %j', request); @@ -1246,13 +1246,13 @@ export class StorageControlClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('createManagedFolder request %j', request); @@ -1413,13 +1413,13 @@ export class StorageControlClient { .match(RegExp('(?projects/[^/]+/buckets/[^/]+)(?:/.*)?')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('deleteManagedFolder request %j', request); @@ -1575,13 +1575,13 @@ export class StorageControlClient { .match(RegExp('(?projects/[^/]+/buckets/[^/]+)(?:/.*)?')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('getManagedFolder request %j', request); @@ -1731,13 +1731,13 @@ export class StorageControlClient { .match(RegExp('(?projects/[^/]+/buckets/[^/]+)(?:/.*)?')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('disableAnywhereCache request %j', request); @@ -1887,13 +1887,13 @@ export class StorageControlClient { .match(RegExp('(?projects/[^/]+/buckets/[^/]+)(?:/.*)?')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('pauseAnywhereCache request %j', request); @@ -2043,13 +2043,13 @@ export class StorageControlClient { .match(RegExp('(?projects/[^/]+/buckets/[^/]+)(?:/.*)?')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('resumeAnywhereCache request %j', request); @@ -2198,13 +2198,13 @@ export class StorageControlClient { .match(RegExp('(?projects/[^/]+/buckets/[^/]+)(?:/.*)?')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('getAnywhereCache request %j', request); @@ -2347,7 +2347,7 @@ export class StorageControlClient { this._gaxModule.routingHeader.fromParams({ name: request.name ?? '', }); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('getProjectIntelligenceConfig request %j', request); @@ -2497,7 +2497,7 @@ export class StorageControlClient { this._gaxModule.routingHeader.fromParams({ 'intelligence_config.name': request.intelligenceConfig!.name ?? '', }); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('updateProjectIntelligenceConfig request %j', request); @@ -2649,7 +2649,7 @@ export class StorageControlClient { this._gaxModule.routingHeader.fromParams({ name: request.name ?? '', }); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('getFolderIntelligenceConfig request %j', request); @@ -2799,7 +2799,7 @@ export class StorageControlClient { this._gaxModule.routingHeader.fromParams({ 'intelligence_config.name': request.intelligenceConfig!.name ?? '', }); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('updateFolderIntelligenceConfig request %j', request); @@ -2951,7 +2951,7 @@ export class StorageControlClient { this._gaxModule.routingHeader.fromParams({ name: request.name ?? '', }); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('getOrganizationIntelligenceConfig request %j', request); @@ -3107,7 +3107,7 @@ export class StorageControlClient { this._gaxModule.routingHeader.fromParams({ 'intelligence_config.name': request.intelligenceConfig!.name ?? '', }); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('updateOrganizationIntelligenceConfig request %j', request); @@ -3253,7 +3253,7 @@ export class StorageControlClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } @@ -3265,13 +3265,13 @@ export class StorageControlClient { .match(RegExp('(?projects/[^/]+/buckets/[^/]+)(?:/.*)?')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('getIamPolicy request %j', request); @@ -3414,7 +3414,7 @@ export class StorageControlClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } @@ -3426,13 +3426,13 @@ export class StorageControlClient { .match(RegExp('(?projects/[^/]+/buckets/[^/]+)(?:/.*)?')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('setIamPolicy request %j', request); @@ -3571,7 +3571,7 @@ export class StorageControlClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } @@ -3585,7 +3585,7 @@ export class StorageControlClient { ); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } @@ -3601,13 +3601,13 @@ export class StorageControlClient { ); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('testIamPermissions request %j', request); @@ -3776,13 +3776,13 @@ export class StorageControlClient { .match(RegExp('(?projects/[^/]+/buckets/[^/]+)(?:/.*)?')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); const wrappedCallback: @@ -3839,7 +3839,7 @@ export class StorageControlClient { this._log.info('renameFolder long-running'); const request = new this._gaxModule.operationsProtos.google.longrunning.GetOperationRequest( - {name}, + { name }, ); const [operation] = await this.operationsClient.getOperation(request); const decodeOperation = new this._gaxModule.Operation( @@ -3971,13 +3971,13 @@ export class StorageControlClient { .match(RegExp('(?projects/[^/]+/buckets/[^/]+)(?:/.*)?')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); const wrappedCallback: @@ -4034,7 +4034,7 @@ export class StorageControlClient { this._log.info('deleteFolderRecursive long-running'); const request = new this._gaxModule.operationsProtos.google.longrunning.GetOperationRequest( - {name}, + { name }, ); const [operation] = await this.operationsClient.getOperation(request); const decodeOperation = new this._gaxModule.Operation( @@ -4162,13 +4162,13 @@ export class StorageControlClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); const wrappedCallback: @@ -4225,7 +4225,7 @@ export class StorageControlClient { this._log.info('createAnywhereCache long-running'); const request = new this._gaxModule.operationsProtos.google.longrunning.GetOperationRequest( - {name}, + { name }, ); const [operation] = await this.operationsClient.getOperation(request); const decodeOperation = new this._gaxModule.Operation( @@ -4360,13 +4360,13 @@ export class StorageControlClient { .match(RegExp('(?projects/[^/]+/buckets/[^/]+)(?:/.*)?')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); const wrappedCallback: @@ -4423,7 +4423,7 @@ export class StorageControlClient { this._log.info('updateAnywhereCache long-running'); const request = new this._gaxModule.operationsProtos.google.longrunning.GetOperationRequest( - {name}, + { name }, ); const [operation] = await this.operationsClient.getOperation(request); const decodeOperation = new this._gaxModule.Operation( @@ -4551,13 +4551,13 @@ export class StorageControlClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); const wrappedCallback: @@ -4648,7 +4648,7 @@ export class StorageControlClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } @@ -4656,7 +4656,7 @@ export class StorageControlClient { this._gaxModule.routingHeader.fromParams(routingParameter); const defaultCallSettings = this._defaults['listFolders']; const callSettings = defaultCallSettings.merge(options); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('listFolders stream %j', request); @@ -4729,7 +4729,7 @@ export class StorageControlClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } @@ -4737,7 +4737,7 @@ export class StorageControlClient { this._gaxModule.routingHeader.fromParams(routingParameter); const defaultCallSettings = this._defaults['listFolders']; const callSettings = defaultCallSettings.merge(options); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('listFolders iterate %j', request); @@ -4855,13 +4855,13 @@ export class StorageControlClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); const wrappedCallback: @@ -4940,7 +4940,7 @@ export class StorageControlClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } @@ -4948,7 +4948,7 @@ export class StorageControlClient { this._gaxModule.routingHeader.fromParams(routingParameter); const defaultCallSettings = this._defaults['listManagedFolders']; const callSettings = defaultCallSettings.merge(options); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('listManagedFolders stream %j', request); @@ -5009,7 +5009,7 @@ export class StorageControlClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } @@ -5017,7 +5017,7 @@ export class StorageControlClient { this._gaxModule.routingHeader.fromParams(routingParameter); const defaultCallSettings = this._defaults['listManagedFolders']; const callSettings = defaultCallSettings.merge(options); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('listManagedFolders iterate %j', request); @@ -5132,13 +5132,13 @@ export class StorageControlClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); const wrappedCallback: @@ -5214,7 +5214,7 @@ export class StorageControlClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } @@ -5222,7 +5222,7 @@ export class StorageControlClient { this._gaxModule.routingHeader.fromParams(routingParameter); const defaultCallSettings = this._defaults['listAnywhereCaches']; const callSettings = defaultCallSettings.merge(options); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('listAnywhereCaches stream %j', request); @@ -5280,7 +5280,7 @@ export class StorageControlClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } @@ -5288,7 +5288,7 @@ export class StorageControlClient { this._gaxModule.routingHeader.fromParams(routingParameter); const defaultCallSettings = this._defaults['listAnywhereCaches']; const callSettings = defaultCallSettings.merge(options); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('listAnywhereCaches iterate %j', request); @@ -5920,7 +5920,7 @@ export class StorageControlClient { */ close(): Promise { if (this.storageControlStub && !this._terminated) { - return this.storageControlStub.then(stub => { + return this.storageControlStub.then((stub) => { this._log.info('ending gRPC channel'); this._terminated = true; stub.close(); diff --git a/packages/google-storage-control/test/gapic_storage_control_v2.ts b/packages/google-storage-control/test/gapic_storage_control_v2.ts index 6bee211bf76d..f0b1d1c358d7 100644 --- a/packages/google-storage-control/test/gapic_storage_control_v2.ts +++ b/packages/google-storage-control/test/gapic_storage_control_v2.ts @@ -19,13 +19,13 @@ import * as protos from '../protos/protos'; import * as assert from 'assert'; import * as sinon from 'sinon'; -import {SinonStub} from 'sinon'; -import {describe, it} from 'mocha'; +import { SinonStub } from 'sinon'; +import { describe, it } from 'mocha'; import * as storagecontrolModule from '../src'; -import {PassThrough} from 'stream'; +import { PassThrough } from 'stream'; -import {protobuf, LROperation, operationsProtos} from 'google-gax'; +import { protobuf, LROperation, operationsProtos } from 'google-gax'; // Dynamically loaded proto JSON is needed to get the type information // to fill in default values for request objects @@ -45,7 +45,7 @@ function getTypeDefaultValue(typeName: string, fields: string[]) { function generateSampleMessage(instance: T) { const filledObject = ( instance.constructor as typeof protobuf.Message - ).toObject(instance as protobuf.Message, {defaults: true}); + ).toObject(instance as protobuf.Message, { defaults: true }); return (instance.constructor as typeof protobuf.Message).fromObject( filledObject, ) as T; @@ -149,9 +149,9 @@ function stubAsyncIterationCall( return Promise.reject(error); } if (counter >= responses!.length) { - return Promise.resolve({done: true, value: undefined}); + return Promise.resolve({ done: true, value: undefined }); } - return Promise.resolve({done: false, value: responses![counter++]}); + return Promise.resolve({ done: false, value: responses![counter++] }); }, }; }, @@ -271,7 +271,7 @@ describe('v2.StorageControlClient', () => { it('has initialize method and supports deferred initialization', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); assert.strictEqual(client.storageControlStub, undefined); @@ -279,12 +279,12 @@ describe('v2.StorageControlClient', () => { assert(client.storageControlStub); }); - it('has close method for the initialized client', done => { + it('has close method for the initialized client', (done) => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); - client.initialize().catch(err => { + client.initialize().catch((err) => { throw err; }); assert(client.storageControlStub); @@ -293,14 +293,14 @@ describe('v2.StorageControlClient', () => { .then(() => { done(); }) - .catch(err => { + .catch((err) => { throw err; }); }); - it('has close method for the non-initialized client', done => { + it('has close method for the non-initialized client', (done) => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); assert.strictEqual(client.storageControlStub, undefined); @@ -309,7 +309,7 @@ describe('v2.StorageControlClient', () => { .then(() => { done(); }) - .catch(err => { + .catch((err) => { throw err; }); }); @@ -317,7 +317,7 @@ describe('v2.StorageControlClient', () => { it('has getProjectId method', async () => { const fakeProjectId = 'fake-project-id'; const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); client.auth.getProjectId = sinon.stub().resolves(fakeProjectId); @@ -329,7 +329,7 @@ describe('v2.StorageControlClient', () => { it('has getProjectId method with callback', async () => { const fakeProjectId = 'fake-project-id'; const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); client.auth.getProjectId = sinon @@ -352,7 +352,7 @@ describe('v2.StorageControlClient', () => { describe('createFolder', () => { it('invokes createFolder without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -385,7 +385,7 @@ describe('v2.StorageControlClient', () => { it('invokes createFolder without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -434,7 +434,7 @@ describe('v2.StorageControlClient', () => { it('invokes createFolder with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -467,7 +467,7 @@ describe('v2.StorageControlClient', () => { it('invokes createFolder with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -477,7 +477,7 @@ describe('v2.StorageControlClient', () => { // path template: {bucket=**} request.parent = 'value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects(client.createFolder(request), expectedError); @@ -487,7 +487,7 @@ describe('v2.StorageControlClient', () => { describe('deleteFolder', () => { it('invokes deleteFolder without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -521,7 +521,7 @@ describe('v2.StorageControlClient', () => { it('invokes deleteFolder without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -571,7 +571,7 @@ describe('v2.StorageControlClient', () => { it('invokes deleteFolder with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -605,7 +605,7 @@ describe('v2.StorageControlClient', () => { it('invokes deleteFolder with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -615,7 +615,7 @@ describe('v2.StorageControlClient', () => { // path template: {bucket=projects/*/buckets/*}/** request.name = 'projects/value/buckets/value/value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects(client.deleteFolder(request), expectedError); @@ -625,7 +625,7 @@ describe('v2.StorageControlClient', () => { describe('getFolder', () => { it('invokes getFolder without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -659,7 +659,7 @@ describe('v2.StorageControlClient', () => { it('invokes getFolder without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -709,7 +709,7 @@ describe('v2.StorageControlClient', () => { it('invokes getFolder with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -740,7 +740,7 @@ describe('v2.StorageControlClient', () => { it('invokes getFolder with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -750,7 +750,7 @@ describe('v2.StorageControlClient', () => { // path template: {bucket=projects/*/buckets/*}/** request.name = 'projects/value/buckets/value/value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects(client.getFolder(request), expectedError); @@ -760,7 +760,7 @@ describe('v2.StorageControlClient', () => { describe('getStorageLayout', () => { it('invokes getStorageLayout without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -794,7 +794,7 @@ describe('v2.StorageControlClient', () => { it('invokes getStorageLayout without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -844,7 +844,7 @@ describe('v2.StorageControlClient', () => { it('invokes getStorageLayout with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -878,7 +878,7 @@ describe('v2.StorageControlClient', () => { it('invokes getStorageLayout with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -888,7 +888,7 @@ describe('v2.StorageControlClient', () => { // path template: {bucket=projects/*/buckets/*}/** request.name = 'projects/value/buckets/value/value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects(client.getStorageLayout(request), expectedError); @@ -898,7 +898,7 @@ describe('v2.StorageControlClient', () => { describe('createManagedFolder', () => { it('invokes createManagedFolder without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -932,7 +932,7 @@ describe('v2.StorageControlClient', () => { it('invokes createManagedFolder without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -981,7 +981,7 @@ describe('v2.StorageControlClient', () => { it('invokes createManagedFolder with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1014,7 +1014,7 @@ describe('v2.StorageControlClient', () => { it('invokes createManagedFolder with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1024,7 +1024,7 @@ describe('v2.StorageControlClient', () => { // path template: {bucket=**} request.parent = 'value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects(client.createManagedFolder(request), expectedError); @@ -1034,7 +1034,7 @@ describe('v2.StorageControlClient', () => { describe('deleteManagedFolder', () => { it('invokes deleteManagedFolder without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1069,7 +1069,7 @@ describe('v2.StorageControlClient', () => { it('invokes deleteManagedFolder without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1119,7 +1119,7 @@ describe('v2.StorageControlClient', () => { it('invokes deleteManagedFolder with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1153,7 +1153,7 @@ describe('v2.StorageControlClient', () => { it('invokes deleteManagedFolder with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1163,7 +1163,7 @@ describe('v2.StorageControlClient', () => { // path template: {bucket=projects/*/buckets/*}/** request.name = 'projects/value/buckets/value/value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects(client.deleteManagedFolder(request), expectedError); @@ -1173,7 +1173,7 @@ describe('v2.StorageControlClient', () => { describe('getManagedFolder', () => { it('invokes getManagedFolder without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1207,7 +1207,7 @@ describe('v2.StorageControlClient', () => { it('invokes getManagedFolder without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1257,7 +1257,7 @@ describe('v2.StorageControlClient', () => { it('invokes getManagedFolder with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1291,7 +1291,7 @@ describe('v2.StorageControlClient', () => { it('invokes getManagedFolder with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1301,7 +1301,7 @@ describe('v2.StorageControlClient', () => { // path template: {bucket=projects/*/buckets/*}/** request.name = 'projects/value/buckets/value/value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects(client.getManagedFolder(request), expectedError); @@ -1311,7 +1311,7 @@ describe('v2.StorageControlClient', () => { describe('disableAnywhereCache', () => { it('invokes disableAnywhereCache without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1346,7 +1346,7 @@ describe('v2.StorageControlClient', () => { it('invokes disableAnywhereCache without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1396,7 +1396,7 @@ describe('v2.StorageControlClient', () => { it('invokes disableAnywhereCache with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1430,7 +1430,7 @@ describe('v2.StorageControlClient', () => { it('invokes disableAnywhereCache with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1440,7 +1440,7 @@ describe('v2.StorageControlClient', () => { // path template: {bucket=projects/*/buckets/*}/** request.name = 'projects/value/buckets/value/value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects(client.disableAnywhereCache(request), expectedError); @@ -1450,7 +1450,7 @@ describe('v2.StorageControlClient', () => { describe('pauseAnywhereCache', () => { it('invokes pauseAnywhereCache without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1485,7 +1485,7 @@ describe('v2.StorageControlClient', () => { it('invokes pauseAnywhereCache without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1535,7 +1535,7 @@ describe('v2.StorageControlClient', () => { it('invokes pauseAnywhereCache with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1569,7 +1569,7 @@ describe('v2.StorageControlClient', () => { it('invokes pauseAnywhereCache with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1579,7 +1579,7 @@ describe('v2.StorageControlClient', () => { // path template: {bucket=projects/*/buckets/*}/** request.name = 'projects/value/buckets/value/value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects(client.pauseAnywhereCache(request), expectedError); @@ -1589,7 +1589,7 @@ describe('v2.StorageControlClient', () => { describe('resumeAnywhereCache', () => { it('invokes resumeAnywhereCache without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1624,7 +1624,7 @@ describe('v2.StorageControlClient', () => { it('invokes resumeAnywhereCache without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1674,7 +1674,7 @@ describe('v2.StorageControlClient', () => { it('invokes resumeAnywhereCache with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1708,7 +1708,7 @@ describe('v2.StorageControlClient', () => { it('invokes resumeAnywhereCache with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1718,7 +1718,7 @@ describe('v2.StorageControlClient', () => { // path template: {bucket=projects/*/buckets/*}/** request.name = 'projects/value/buckets/value/value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects(client.resumeAnywhereCache(request), expectedError); @@ -1728,7 +1728,7 @@ describe('v2.StorageControlClient', () => { describe('getAnywhereCache', () => { it('invokes getAnywhereCache without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1762,7 +1762,7 @@ describe('v2.StorageControlClient', () => { it('invokes getAnywhereCache without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1812,7 +1812,7 @@ describe('v2.StorageControlClient', () => { it('invokes getAnywhereCache with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1846,7 +1846,7 @@ describe('v2.StorageControlClient', () => { it('invokes getAnywhereCache with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1856,7 +1856,7 @@ describe('v2.StorageControlClient', () => { // path template: {bucket=projects/*/buckets/*}/** request.name = 'projects/value/buckets/value/value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects(client.getAnywhereCache(request), expectedError); @@ -1866,7 +1866,7 @@ describe('v2.StorageControlClient', () => { describe('getProjectIntelligenceConfig', () => { it('invokes getProjectIntelligenceConfig without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1898,7 +1898,7 @@ describe('v2.StorageControlClient', () => { it('invokes getProjectIntelligenceConfig without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1945,7 +1945,7 @@ describe('v2.StorageControlClient', () => { it('invokes getProjectIntelligenceConfig with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1979,7 +1979,7 @@ describe('v2.StorageControlClient', () => { it('invokes getProjectIntelligenceConfig with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1992,7 +1992,7 @@ describe('v2.StorageControlClient', () => { ); request.name = defaultValue1; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects( @@ -2005,7 +2005,7 @@ describe('v2.StorageControlClient', () => { describe('updateProjectIntelligenceConfig', () => { it('invokes updateProjectIntelligenceConfig without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2038,7 +2038,7 @@ describe('v2.StorageControlClient', () => { it('invokes updateProjectIntelligenceConfig without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2086,7 +2086,7 @@ describe('v2.StorageControlClient', () => { it('invokes updateProjectIntelligenceConfig with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2121,7 +2121,7 @@ describe('v2.StorageControlClient', () => { it('invokes updateProjectIntelligenceConfig with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2135,7 +2135,7 @@ describe('v2.StorageControlClient', () => { ); request.intelligenceConfig.name = defaultValue1; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects( @@ -2148,7 +2148,7 @@ describe('v2.StorageControlClient', () => { describe('getFolderIntelligenceConfig', () => { it('invokes getFolderIntelligenceConfig without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2180,7 +2180,7 @@ describe('v2.StorageControlClient', () => { it('invokes getFolderIntelligenceConfig without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2227,7 +2227,7 @@ describe('v2.StorageControlClient', () => { it('invokes getFolderIntelligenceConfig with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2261,7 +2261,7 @@ describe('v2.StorageControlClient', () => { it('invokes getFolderIntelligenceConfig with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2274,7 +2274,7 @@ describe('v2.StorageControlClient', () => { ); request.name = defaultValue1; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects( @@ -2287,7 +2287,7 @@ describe('v2.StorageControlClient', () => { describe('updateFolderIntelligenceConfig', () => { it('invokes updateFolderIntelligenceConfig without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2320,7 +2320,7 @@ describe('v2.StorageControlClient', () => { it('invokes updateFolderIntelligenceConfig without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2368,7 +2368,7 @@ describe('v2.StorageControlClient', () => { it('invokes updateFolderIntelligenceConfig with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2403,7 +2403,7 @@ describe('v2.StorageControlClient', () => { it('invokes updateFolderIntelligenceConfig with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2417,7 +2417,7 @@ describe('v2.StorageControlClient', () => { ); request.intelligenceConfig.name = defaultValue1; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects( @@ -2430,7 +2430,7 @@ describe('v2.StorageControlClient', () => { describe('getOrganizationIntelligenceConfig', () => { it('invokes getOrganizationIntelligenceConfig without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2463,7 +2463,7 @@ describe('v2.StorageControlClient', () => { it('invokes getOrganizationIntelligenceConfig without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2510,7 +2510,7 @@ describe('v2.StorageControlClient', () => { it('invokes getOrganizationIntelligenceConfig with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2544,7 +2544,7 @@ describe('v2.StorageControlClient', () => { it('invokes getOrganizationIntelligenceConfig with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2557,7 +2557,7 @@ describe('v2.StorageControlClient', () => { ); request.name = defaultValue1; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects( @@ -2570,7 +2570,7 @@ describe('v2.StorageControlClient', () => { describe('updateOrganizationIntelligenceConfig', () => { it('invokes updateOrganizationIntelligenceConfig without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2604,7 +2604,7 @@ describe('v2.StorageControlClient', () => { it('invokes updateOrganizationIntelligenceConfig without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2652,7 +2652,7 @@ describe('v2.StorageControlClient', () => { it('invokes updateOrganizationIntelligenceConfig with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2685,7 +2685,7 @@ describe('v2.StorageControlClient', () => { it('invokes updateOrganizationIntelligenceConfig with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2699,7 +2699,7 @@ describe('v2.StorageControlClient', () => { ); request.intelligenceConfig.name = defaultValue1; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects( @@ -2712,7 +2712,7 @@ describe('v2.StorageControlClient', () => { describe('getIamPolicy', () => { it('invokes getIamPolicy without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2743,7 +2743,7 @@ describe('v2.StorageControlClient', () => { it('invokes getIamPolicy without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2790,7 +2790,7 @@ describe('v2.StorageControlClient', () => { it('invokes getIamPolicy with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2821,7 +2821,7 @@ describe('v2.StorageControlClient', () => { it('invokes getIamPolicy with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2833,7 +2833,7 @@ describe('v2.StorageControlClient', () => { // path template: {bucket=projects/*/buckets/*}/** request.resource = 'projects/value/buckets/value/value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects(client.getIamPolicy(request), expectedError); @@ -2843,7 +2843,7 @@ describe('v2.StorageControlClient', () => { describe('setIamPolicy', () => { it('invokes setIamPolicy without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2874,7 +2874,7 @@ describe('v2.StorageControlClient', () => { it('invokes setIamPolicy without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2921,7 +2921,7 @@ describe('v2.StorageControlClient', () => { it('invokes setIamPolicy with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2952,7 +2952,7 @@ describe('v2.StorageControlClient', () => { it('invokes setIamPolicy with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2964,7 +2964,7 @@ describe('v2.StorageControlClient', () => { // path template: {bucket=projects/*/buckets/*}/** request.resource = 'projects/value/buckets/value/value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects(client.setIamPolicy(request), expectedError); @@ -2974,7 +2974,7 @@ describe('v2.StorageControlClient', () => { describe('testIamPermissions', () => { it('invokes testIamPermissions without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3008,7 +3008,7 @@ describe('v2.StorageControlClient', () => { it('invokes testIamPermissions without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3057,7 +3057,7 @@ describe('v2.StorageControlClient', () => { it('invokes testIamPermissions with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3090,7 +3090,7 @@ describe('v2.StorageControlClient', () => { it('invokes testIamPermissions with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3104,7 +3104,7 @@ describe('v2.StorageControlClient', () => { // path template: {bucket=projects/*/buckets/*}/managedFolders/** request.resource = 'projects/value/buckets/value/managedFolders/value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects(client.testIamPermissions(request), expectedError); @@ -3114,7 +3114,7 @@ describe('v2.StorageControlClient', () => { describe('renameFolder', () => { it('invokes renameFolder without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3149,7 +3149,7 @@ describe('v2.StorageControlClient', () => { it('invokes renameFolder without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3206,7 +3206,7 @@ describe('v2.StorageControlClient', () => { it('invokes renameFolder with call error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3240,7 +3240,7 @@ describe('v2.StorageControlClient', () => { it('invokes renameFolder with LRO error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3276,7 +3276,7 @@ describe('v2.StorageControlClient', () => { it('invokes checkRenameFolderProgress without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3284,8 +3284,8 @@ describe('v2.StorageControlClient', () => { new operationsProtos.google.longrunning.Operation(), ); expectedResponse.name = 'test'; - expectedResponse.response = {type_url: 'url', value: Buffer.from('')}; - expectedResponse.metadata = {type_url: 'url', value: Buffer.from('')}; + expectedResponse.response = { type_url: 'url', value: Buffer.from('') }; + expectedResponse.metadata = { type_url: 'url', value: Buffer.from('') }; client.operationsClient.getOperation = stubSimpleCall(expectedResponse); const decodedOperation = await client.checkRenameFolderProgress( @@ -3298,7 +3298,7 @@ describe('v2.StorageControlClient', () => { it('invokes checkRenameFolderProgress with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3316,7 +3316,7 @@ describe('v2.StorageControlClient', () => { describe('deleteFolderRecursive', () => { it('invokes deleteFolderRecursive without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3352,7 +3352,7 @@ describe('v2.StorageControlClient', () => { it('invokes deleteFolderRecursive without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3409,7 +3409,7 @@ describe('v2.StorageControlClient', () => { it('invokes deleteFolderRecursive with call error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3446,7 +3446,7 @@ describe('v2.StorageControlClient', () => { it('invokes deleteFolderRecursive with LRO error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3482,7 +3482,7 @@ describe('v2.StorageControlClient', () => { it('invokes checkDeleteFolderRecursiveProgress without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3490,8 +3490,8 @@ describe('v2.StorageControlClient', () => { new operationsProtos.google.longrunning.Operation(), ); expectedResponse.name = 'test'; - expectedResponse.response = {type_url: 'url', value: Buffer.from('')}; - expectedResponse.metadata = {type_url: 'url', value: Buffer.from('')}; + expectedResponse.response = { type_url: 'url', value: Buffer.from('') }; + expectedResponse.metadata = { type_url: 'url', value: Buffer.from('') }; client.operationsClient.getOperation = stubSimpleCall(expectedResponse); const decodedOperation = await client.checkDeleteFolderRecursiveProgress( @@ -3504,7 +3504,7 @@ describe('v2.StorageControlClient', () => { it('invokes checkDeleteFolderRecursiveProgress with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3525,7 +3525,7 @@ describe('v2.StorageControlClient', () => { describe('createAnywhereCache', () => { it('invokes createAnywhereCache without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3560,7 +3560,7 @@ describe('v2.StorageControlClient', () => { it('invokes createAnywhereCache without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3616,7 +3616,7 @@ describe('v2.StorageControlClient', () => { it('invokes createAnywhereCache with call error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3649,7 +3649,7 @@ describe('v2.StorageControlClient', () => { it('invokes createAnywhereCache with LRO error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3684,7 +3684,7 @@ describe('v2.StorageControlClient', () => { it('invokes checkCreateAnywhereCacheProgress without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3692,8 +3692,8 @@ describe('v2.StorageControlClient', () => { new operationsProtos.google.longrunning.Operation(), ); expectedResponse.name = 'test'; - expectedResponse.response = {type_url: 'url', value: Buffer.from('')}; - expectedResponse.metadata = {type_url: 'url', value: Buffer.from('')}; + expectedResponse.response = { type_url: 'url', value: Buffer.from('') }; + expectedResponse.metadata = { type_url: 'url', value: Buffer.from('') }; client.operationsClient.getOperation = stubSimpleCall(expectedResponse); const decodedOperation = await client.checkCreateAnywhereCacheProgress( @@ -3706,7 +3706,7 @@ describe('v2.StorageControlClient', () => { it('invokes checkCreateAnywhereCacheProgress with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3727,7 +3727,7 @@ describe('v2.StorageControlClient', () => { describe('updateAnywhereCache', () => { it('invokes updateAnywhereCache without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3764,7 +3764,7 @@ describe('v2.StorageControlClient', () => { it('invokes updateAnywhereCache without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3822,7 +3822,7 @@ describe('v2.StorageControlClient', () => { it('invokes updateAnywhereCache with call error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3857,7 +3857,7 @@ describe('v2.StorageControlClient', () => { it('invokes updateAnywhereCache with LRO error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3894,7 +3894,7 @@ describe('v2.StorageControlClient', () => { it('invokes checkUpdateAnywhereCacheProgress without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3902,8 +3902,8 @@ describe('v2.StorageControlClient', () => { new operationsProtos.google.longrunning.Operation(), ); expectedResponse.name = 'test'; - expectedResponse.response = {type_url: 'url', value: Buffer.from('')}; - expectedResponse.metadata = {type_url: 'url', value: Buffer.from('')}; + expectedResponse.response = { type_url: 'url', value: Buffer.from('') }; + expectedResponse.metadata = { type_url: 'url', value: Buffer.from('') }; client.operationsClient.getOperation = stubSimpleCall(expectedResponse); const decodedOperation = await client.checkUpdateAnywhereCacheProgress( @@ -3916,7 +3916,7 @@ describe('v2.StorageControlClient', () => { it('invokes checkUpdateAnywhereCacheProgress with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3937,7 +3937,7 @@ describe('v2.StorageControlClient', () => { describe('listFolders', () => { it('invokes listFolders without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3967,7 +3967,7 @@ describe('v2.StorageControlClient', () => { it('invokes listFolders without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4013,7 +4013,7 @@ describe('v2.StorageControlClient', () => { it('invokes listFolders with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4041,7 +4041,7 @@ describe('v2.StorageControlClient', () => { it('invokes listFoldersStream without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4092,7 +4092,7 @@ describe('v2.StorageControlClient', () => { it('invokes listFoldersStream with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4140,7 +4140,7 @@ describe('v2.StorageControlClient', () => { it('uses async iteration with listFolders without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4180,7 +4180,7 @@ describe('v2.StorageControlClient', () => { it('uses async iteration with listFolders with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4221,7 +4221,7 @@ describe('v2.StorageControlClient', () => { describe('listManagedFolders', () => { it('invokes listManagedFolders without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4263,7 +4263,7 @@ describe('v2.StorageControlClient', () => { it('invokes listManagedFolders without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4320,7 +4320,7 @@ describe('v2.StorageControlClient', () => { it('invokes listManagedFolders with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4353,7 +4353,7 @@ describe('v2.StorageControlClient', () => { it('invokes listManagedFoldersStream without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4410,7 +4410,7 @@ describe('v2.StorageControlClient', () => { it('invokes listManagedFoldersStream with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4456,7 +4456,7 @@ describe('v2.StorageControlClient', () => { it('uses async iteration with listManagedFolders without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4508,7 +4508,7 @@ describe('v2.StorageControlClient', () => { it('uses async iteration with listManagedFolders with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4553,7 +4553,7 @@ describe('v2.StorageControlClient', () => { describe('listAnywhereCaches', () => { it('invokes listAnywhereCaches without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4595,7 +4595,7 @@ describe('v2.StorageControlClient', () => { it('invokes listAnywhereCaches without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4652,7 +4652,7 @@ describe('v2.StorageControlClient', () => { it('invokes listAnywhereCaches with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4685,7 +4685,7 @@ describe('v2.StorageControlClient', () => { it('invokes listAnywhereCachesStream without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4742,7 +4742,7 @@ describe('v2.StorageControlClient', () => { it('invokes listAnywhereCachesStream with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4788,7 +4788,7 @@ describe('v2.StorageControlClient', () => { it('uses async iteration with listAnywhereCaches without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4840,7 +4840,7 @@ describe('v2.StorageControlClient', () => { it('uses async iteration with listAnywhereCaches with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4884,7 +4884,7 @@ describe('v2.StorageControlClient', () => { describe('getOperation', () => { it('invokes getOperation without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4905,7 +4905,7 @@ describe('v2.StorageControlClient', () => { }); it('invokes getOperation without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); const request = generateSampleMessage( @@ -4933,7 +4933,7 @@ describe('v2.StorageControlClient', () => { } }, ) - .catch(err => { + .catch((err) => { throw err; }); }); @@ -4943,7 +4943,7 @@ describe('v2.StorageControlClient', () => { }); it('invokes getOperation with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); const request = generateSampleMessage( @@ -4967,7 +4967,7 @@ describe('v2.StorageControlClient', () => { describe('cancelOperation', () => { it('invokes cancelOperation without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4989,7 +4989,7 @@ describe('v2.StorageControlClient', () => { }); it('invokes cancelOperation without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); const request = generateSampleMessage( @@ -5017,7 +5017,7 @@ describe('v2.StorageControlClient', () => { } }, ) - .catch(err => { + .catch((err) => { throw err; }); }); @@ -5027,7 +5027,7 @@ describe('v2.StorageControlClient', () => { }); it('invokes cancelOperation with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); const request = generateSampleMessage( @@ -5051,7 +5051,7 @@ describe('v2.StorageControlClient', () => { describe('deleteOperation', () => { it('invokes deleteOperation without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -5073,7 +5073,7 @@ describe('v2.StorageControlClient', () => { }); it('invokes deleteOperation without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); const request = generateSampleMessage( @@ -5101,7 +5101,7 @@ describe('v2.StorageControlClient', () => { } }, ) - .catch(err => { + .catch((err) => { throw err; }); }); @@ -5111,7 +5111,7 @@ describe('v2.StorageControlClient', () => { }); it('invokes deleteOperation with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); const request = generateSampleMessage( @@ -5135,7 +5135,7 @@ describe('v2.StorageControlClient', () => { describe('listOperationsAsync', () => { it('uses async iteration with listOperations without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); const request = generateSampleMessage( @@ -5170,7 +5170,7 @@ describe('v2.StorageControlClient', () => { }); it('uses async iteration with listOperations with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -5206,7 +5206,7 @@ describe('v2.StorageControlClient', () => { anywhere_cache: 'anywhereCacheValue', }; const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -5269,7 +5269,7 @@ describe('v2.StorageControlClient', () => { bucket: 'bucketValue', }; const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -5319,7 +5319,7 @@ describe('v2.StorageControlClient', () => { folder: 'folderValue', }; const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -5382,7 +5382,7 @@ describe('v2.StorageControlClient', () => { location: 'locationValue', }; const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -5446,7 +5446,7 @@ describe('v2.StorageControlClient', () => { managed_folder: 'managedFolderValue', }; const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -5509,7 +5509,7 @@ describe('v2.StorageControlClient', () => { location: 'locationValue', }; const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -5569,7 +5569,7 @@ describe('v2.StorageControlClient', () => { project: 'projectValue', }; const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -5608,7 +5608,7 @@ describe('v2.StorageControlClient', () => { location: 'locationValue', }; const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -5673,7 +5673,7 @@ describe('v2.StorageControlClient', () => { bucket: 'bucketValue', }; const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); diff --git a/packages/google-storage-control/test/gapic_storage_v2.ts b/packages/google-storage-control/test/gapic_storage_v2.ts index dcc1c531b3e9..c61481bc008e 100644 --- a/packages/google-storage-control/test/gapic_storage_v2.ts +++ b/packages/google-storage-control/test/gapic_storage_v2.ts @@ -19,13 +19,13 @@ import * as protos from '../protos/protos'; import * as assert from 'assert'; import * as sinon from 'sinon'; -import {SinonStub} from 'sinon'; -import {describe, it} from 'mocha'; +import { SinonStub } from 'sinon'; +import { describe, it } from 'mocha'; import * as storageModule from '../src'; -import {PassThrough} from 'stream'; +import { PassThrough } from 'stream'; -import {protobuf} from 'google-gax'; +import { protobuf } from 'google-gax'; // Dynamically loaded proto JSON is needed to get the type information // to fill in default values for request objects @@ -45,7 +45,7 @@ function getTypeDefaultValue(typeName: string, fields: string[]) { function generateSampleMessage(instance: T) { const filledObject = ( instance.constructor as typeof protobuf.Message - ).toObject(instance as protobuf.Message, {defaults: true}); + ).toObject(instance as protobuf.Message, { defaults: true }); return (instance.constructor as typeof protobuf.Message).fromObject( filledObject, ) as T; @@ -117,9 +117,9 @@ function stubAsyncIterationCall( return Promise.reject(error); } if (counter >= responses!.length) { - return Promise.resolve({done: true, value: undefined}); + return Promise.resolve({ done: true, value: undefined }); } - return Promise.resolve({done: false, value: responses![counter++]}); + return Promise.resolve({ done: false, value: responses![counter++] }); }, }; }, @@ -237,7 +237,7 @@ describe('v2.StorageClient', () => { it('has initialize method and supports deferred initialization', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); assert.strictEqual(client.storageStub, undefined); @@ -245,12 +245,12 @@ describe('v2.StorageClient', () => { assert(client.storageStub); }); - it('has close method for the initialized client', done => { + it('has close method for the initialized client', (done) => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); - client.initialize().catch(err => { + client.initialize().catch((err) => { throw err; }); assert(client.storageStub); @@ -259,14 +259,14 @@ describe('v2.StorageClient', () => { .then(() => { done(); }) - .catch(err => { + .catch((err) => { throw err; }); }); - it('has close method for the non-initialized client', done => { + it('has close method for the non-initialized client', (done) => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); assert.strictEqual(client.storageStub, undefined); @@ -275,7 +275,7 @@ describe('v2.StorageClient', () => { .then(() => { done(); }) - .catch(err => { + .catch((err) => { throw err; }); }); @@ -283,7 +283,7 @@ describe('v2.StorageClient', () => { it('has getProjectId method', async () => { const fakeProjectId = 'fake-project-id'; const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); client.auth.getProjectId = sinon.stub().resolves(fakeProjectId); @@ -295,7 +295,7 @@ describe('v2.StorageClient', () => { it('has getProjectId method with callback', async () => { const fakeProjectId = 'fake-project-id'; const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); client.auth.getProjectId = sinon @@ -318,7 +318,7 @@ describe('v2.StorageClient', () => { describe('deleteBucket', () => { it('invokes deleteBucket without error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -346,7 +346,7 @@ describe('v2.StorageClient', () => { it('invokes deleteBucket without error using callback', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -390,7 +390,7 @@ describe('v2.StorageClient', () => { it('invokes deleteBucket with error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -418,7 +418,7 @@ describe('v2.StorageClient', () => { it('invokes deleteBucket with closed client', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -428,7 +428,7 @@ describe('v2.StorageClient', () => { // path template: {bucket=**} request.name = 'value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects(client.deleteBucket(request), expectedError); @@ -438,7 +438,7 @@ describe('v2.StorageClient', () => { describe('getBucket', () => { it('invokes getBucket without error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -466,7 +466,7 @@ describe('v2.StorageClient', () => { it('invokes getBucket without error using callback', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -510,7 +510,7 @@ describe('v2.StorageClient', () => { it('invokes getBucket with error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -535,7 +535,7 @@ describe('v2.StorageClient', () => { it('invokes getBucket with closed client', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -545,7 +545,7 @@ describe('v2.StorageClient', () => { // path template: {bucket=**} request.name = 'value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects(client.getBucket(request), expectedError); @@ -555,7 +555,7 @@ describe('v2.StorageClient', () => { describe('createBucket', () => { it('invokes createBucket without error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -586,7 +586,7 @@ describe('v2.StorageClient', () => { it('invokes createBucket without error using callback', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -633,7 +633,7 @@ describe('v2.StorageClient', () => { it('invokes createBucket with error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -664,7 +664,7 @@ describe('v2.StorageClient', () => { it('invokes createBucket with closed client', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -677,7 +677,7 @@ describe('v2.StorageClient', () => { // path template: {project=**} request.bucket.project = 'value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects(client.createBucket(request), expectedError); @@ -687,7 +687,7 @@ describe('v2.StorageClient', () => { describe('lockBucketRetentionPolicy', () => { it('invokes lockBucketRetentionPolicy without error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -716,7 +716,7 @@ describe('v2.StorageClient', () => { it('invokes lockBucketRetentionPolicy without error using callback', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -760,7 +760,7 @@ describe('v2.StorageClient', () => { it('invokes lockBucketRetentionPolicy with error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -791,7 +791,7 @@ describe('v2.StorageClient', () => { it('invokes lockBucketRetentionPolicy with closed client', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -801,7 +801,7 @@ describe('v2.StorageClient', () => { // path template: {bucket=**} request.bucket = 'value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects( @@ -814,7 +814,7 @@ describe('v2.StorageClient', () => { describe('updateBucket', () => { it('invokes updateBucket without error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -843,7 +843,7 @@ describe('v2.StorageClient', () => { it('invokes updateBucket without error using callback', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -888,7 +888,7 @@ describe('v2.StorageClient', () => { it('invokes updateBucket with error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -917,7 +917,7 @@ describe('v2.StorageClient', () => { it('invokes updateBucket with closed client', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -928,7 +928,7 @@ describe('v2.StorageClient', () => { // path template: {bucket=**} request.bucket.name = 'value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects(client.updateBucket(request), expectedError); @@ -938,7 +938,7 @@ describe('v2.StorageClient', () => { describe('listBuckets', () => { it('invokes listBuckets without error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -968,7 +968,7 @@ describe('v2.StorageClient', () => { it('invokes listBuckets without error using callback', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1014,7 +1014,7 @@ describe('v2.StorageClient', () => { it('invokes listBuckets with error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1042,7 +1042,7 @@ describe('v2.StorageClient', () => { it('invokes listBucketsStream without error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1090,7 +1090,7 @@ describe('v2.StorageClient', () => { it('invokes listBucketsStream with error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1135,7 +1135,7 @@ describe('v2.StorageClient', () => { it('uses async iteration with listBuckets without error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1175,7 +1175,7 @@ describe('v2.StorageClient', () => { it('uses async iteration with listBuckets with error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1221,7 +1221,7 @@ describe('v2.StorageClient', () => { bucket: 'bucketValue', }; const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1272,7 +1272,7 @@ describe('v2.StorageClient', () => { crypto_key: 'cryptoKeyValue', }; const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1345,7 +1345,7 @@ describe('v2.StorageClient', () => { project: 'projectValue', }; const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); diff --git a/packages/google-storage-control/test/storage_control_compatibility.ts b/packages/google-storage-control/test/storage_control_compatibility.ts index d297cc76b60d..1f9bed80ed5f 100644 --- a/packages/google-storage-control/test/storage_control_compatibility.ts +++ b/packages/google-storage-control/test/storage_control_compatibility.ts @@ -13,8 +13,8 @@ // limitations under the License. import * as assert from 'assert'; -import {StorageControlClient as UberStorageControlClient} from '../src/storage_control_client'; -import {StorageControlClient as OriginalStorageControlClient} from '../src/v2/storage_control_client'; +import { StorageControlClient as UberStorageControlClient } from '../src/storage_control_client'; +import { StorageControlClient as OriginalStorageControlClient } from '../src/v2/storage_control_client'; describe('Backwards compatibility', () => { it('uber client should have all the methods of the original client', () => { From 4cc104c5395709e43c2c1d2065907a93b3729e89 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Mon, 20 Apr 2026 22:38:44 +0000 Subject: [PATCH 08/11] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20?= =?UTF-8?q?post-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- packages/google-storage-control/librarian.js | 6 +- .../samples/quickstart.js | 4 +- .../samples/test/quickstart.js | 6 +- packages/google-storage-control/src/index.ts | 8 +- .../src/storage_control_client.ts | 14 +- .../src/util/ast_utils.ts | 22 +- .../src/util/proto_utils.ts | 4 +- .../src/util/storage_control_utils.ts | 10 +- .../src/util/uber_client_builder.ts | 8 +- .../google-storage-control/src/v2/index.ts | 4 +- .../src/v2/storage_client.ts | 56 +-- .../src/v2/storage_control_client.ts | 158 +++---- .../test/gapic_storage_control_v2.ts | 386 +++++++++--------- .../test/gapic_storage_v2.ts | 104 ++--- .../test/storage_control_compatibility.ts | 4 +- 15 files changed, 399 insertions(+), 395 deletions(-) diff --git a/packages/google-storage-control/librarian.js b/packages/google-storage-control/librarian.js index ef4333642775..185695574aac 100644 --- a/packages/google-storage-control/librarian.js +++ b/packages/google-storage-control/librarian.js @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -const {execSync} = require('child_process'); +const { execSync } = require('child_process'); const path = require('path'); const fs = require('fs'); @@ -20,7 +20,7 @@ const packageRoot = __dirname; const utilDir = path.join(packageRoot, 'src', 'util'); try { - execSync('npm install', {cwd: packageRoot, stdio: 'inherit'}); + execSync('npm install', { cwd: packageRoot, stdio: 'inherit' }); const tscPath = path.join(packageRoot, 'node_modules', '.bin', 'tsc'); execSync(`${tscPath} src/util/storage_control_utils.ts`, { @@ -28,7 +28,7 @@ try { stdio: 'inherit', }); - execSync('node storage_control_utils.js', {cwd: utilDir, stdio: 'inherit'}); + execSync('node storage_control_utils.js', { cwd: utilDir, stdio: 'inherit' }); const files = fs.readdirSync(utilDir); for (const file of files) { diff --git a/packages/google-storage-control/samples/quickstart.js b/packages/google-storage-control/samples/quickstart.js index ad54eba3dadc..57ca42493cef 100644 --- a/packages/google-storage-control/samples/quickstart.js +++ b/packages/google-storage-control/samples/quickstart.js @@ -31,7 +31,7 @@ function main(bucketName) { // const bucketName = 'abc123' // Imports the Control library - const {StorageControlClient} = require('@google-cloud/storage-control').v2; + const { StorageControlClient } = require('@google-cloud/storage-control').v2; // Instantiates a client const controlClient = new StorageControlClient(); @@ -54,7 +54,7 @@ function main(bucketName) { callGetStorageLayout(); } -process.on('unhandledRejection', err => { +process.on('unhandledRejection', (err) => { console.error(err.message); process.exitCode = 1; }); diff --git a/packages/google-storage-control/samples/test/quickstart.js b/packages/google-storage-control/samples/test/quickstart.js index afa61bcad7b2..b22bc5a622e1 100644 --- a/packages/google-storage-control/samples/test/quickstart.js +++ b/packages/google-storage-control/samples/test/quickstart.js @@ -17,9 +17,9 @@ const assert = require('assert'); const path = require('path'); const cp = require('child_process'); -const {describe, it, before} = require('mocha'); +const { describe, it, before } = require('mocha'); -const execSync = cmd => cp.execSync(cmd, {encoding: 'utf-8'}); +const execSync = (cmd) => cp.execSync(cmd, { encoding: 'utf-8' }); const cwd = path.join(__dirname, '..'); @@ -27,7 +27,7 @@ describe('Quickstart', () => { it('should run quickstart', async () => { const bucketName = 'storage-control-test-monorepo'; - const output = execSync(`node ./quickstart.js ${bucketName}`, {cwd}); + const output = execSync(`node ./quickstart.js ${bucketName}`, { cwd }); assert.match(output, new RegExp(`Bucket ${bucketName} has location type`)); }); }); diff --git a/packages/google-storage-control/src/index.ts b/packages/google-storage-control/src/index.ts index fe7a674a297f..86a0b95c1b5f 100644 --- a/packages/google-storage-control/src/index.ts +++ b/packages/google-storage-control/src/index.ts @@ -17,9 +17,9 @@ // ** All changes to this file may be overwritten. ** import * as v2 from './v2'; -import {StorageControlClient} from './storage_control_client'; +import { StorageControlClient } from './storage_control_client'; -export {v2, StorageControlClient}; -export default {v2, StorageControlClient}; +export { v2, StorageControlClient }; +export default { v2, StorageControlClient }; import * as protos from '../protos/protos'; -export {protos}; +export { protos }; diff --git a/packages/google-storage-control/src/storage_control_client.ts b/packages/google-storage-control/src/storage_control_client.ts index 8c4f670492d8..8807528cc2f4 100644 --- a/packages/google-storage-control/src/storage_control_client.ts +++ b/packages/google-storage-control/src/storage_control_client.ts @@ -15,9 +15,9 @@ // ** This file is automatically generated ** // ** All changes to this file may be overwritten. ** -import {protos} from './'; -import {StorageControlClient as StorageControlInternal} from './v2/storage_control_client'; -import {StorageClient} from './v2/storage_client'; +import { protos } from './'; +import { StorageControlClient as StorageControlInternal } from './v2/storage_control_client'; +import { StorageClient } from './v2/storage_client'; import type * as gax from 'google-gax'; import { Callback, @@ -27,7 +27,7 @@ import { LROperation, Descriptors, } from 'google-gax'; -import {Transform} from 'stream'; +import { Transform } from 'stream'; /** * Options passed to the underlying client. @@ -86,10 +86,10 @@ export class StorageControlClient { batching: {}, }; warn: (code: string, message: string, warnType?: string) => void; - innerApiCalls: {[name: string]: Function}; - pathTemplates: {[name: string]: gax.PathTemplate}; + innerApiCalls: { [name: string]: Function }; + pathTemplates: { [name: string]: gax.PathTemplate }; operationsClient: gax.OperationsClient; - storageControlStub?: Promise<{[name: string]: Function}>; + storageControlStub?: Promise<{ [name: string]: Function }>; /** * @param {object} [StorageControlClientOptions] - Enables user to instantiate clients separately and use those as the subclients. * To have sub-clients with different options, instantiate each client separately. diff --git a/packages/google-storage-control/src/util/ast_utils.ts b/packages/google-storage-control/src/util/ast_utils.ts index 2f11b46d4d97..589260ff85a6 100644 --- a/packages/google-storage-control/src/util/ast_utils.ts +++ b/packages/google-storage-control/src/util/ast_utils.ts @@ -77,7 +77,7 @@ function getOverloadedMethod( let promiseReturnType = ''; if (ts.isUnionTypeNode(node.type)) { const promiseTypeNode = node.type.types.find( - t => + (t) => t.kind === ts.SyntaxKind.TypeReference && t.getText(sourceFile).startsWith('Promise'), ); @@ -97,7 +97,7 @@ function getOverloadedMethod( let callbackType = ''; if (ts.isUnionTypeNode(optionsOrCallbackParam.type)) { const callbackTypeNode = optionsOrCallbackParam.type.types.find( - t => + (t) => t.kind === ts.SyntaxKind.TypeReference && (t.getText(sourceFile).startsWith('Callback') || t.getText(sourceFile).startsWith('PaginationCallback')), @@ -158,7 +158,7 @@ function extract(node: ts.Node, client: string): void { ); let docString = ''; if (commentRanges) { - commentRanges.map(r => { + commentRanges.map((r) => { docString = docString.concat( sourceFile!.getFullText().slice(r.pos, r.end), ); @@ -175,7 +175,7 @@ function extract(node: ts.Node, client: string): void { } } } - ts.forEachChild(node, childNode => { + ts.forEachChild(node, (childNode) => { extract(childNode, client); }); } @@ -190,7 +190,7 @@ function extract(node: ts.Node, client: string): void { * @returns {string} The generated source code for the methods. */ function ast(file: string, client: string): [string, string][] { - const program = ts.createProgram([file], {allowJs: true}); + const program = ts.createProgram([file], { allowJs: true }); sourceFile = program.getSourceFile(file)!; if (!sourceFile) { throw new Error(`Could not find source file: ${file}`); @@ -200,7 +200,7 @@ function ast(file: string, client: string): [string, string][] { extract(sourceFile, client); program.getTypeChecker(); - return foundNodes.map(f => { + return foundNodes.map((f) => { let output = ''; const [name, node] = f; const escapedName = getEscapedText(name); @@ -216,7 +216,7 @@ function ast(file: string, client: string): [string, string][] { } const isStatic = node.modifiers?.some( - m => m.kind === ts.SyntaxKind.StaticKeyword, + (m) => m.kind === ts.SyntaxKind.StaticKeyword, ); if (!isExcludedFunction) { const docString = methodDocstrings.get(functionName); @@ -293,7 +293,7 @@ function ast(file: string, client: string): [string, string][] { `; } else { const hasRequestArg = node.parameters.some( - p => getEscapedText(p.name) === 'request', + (p) => getEscapedText(p.name) === 'request', ); // If there's no 'request' parameter, it's a simple helper method. @@ -356,7 +356,7 @@ export function astHelper(files: string[], clients: string[]) { } } let output = ''; - functions.forEach(source => { + functions.forEach((source) => { output += source; }); return output; @@ -379,7 +379,7 @@ export function parseClientName(client: string) { * @returns {Map} A map of public property names to their full text. */ export function getPropertyDeclarations(file: string): Map { - const program = ts.createProgram([file], {allowJs: true}); + const program = ts.createProgram([file], { allowJs: true }); const sourceFile = program.getSourceFile(file)!; if (!sourceFile) { throw new Error(`Could not find source file: ${file}`); @@ -389,7 +389,7 @@ export function getPropertyDeclarations(file: string): Map { function visit(node: ts.Node) { if (ts.isPropertyDeclaration(node)) { const isPrivate = node.modifiers?.some( - m => m.kind === ts.SyntaxKind.PrivateKeyword, + (m) => m.kind === ts.SyntaxKind.PrivateKeyword, ); if (!isPrivate) { const propertyName = getEscapedText(node.name); diff --git a/packages/google-storage-control/src/util/proto_utils.ts b/packages/google-storage-control/src/util/proto_utils.ts index f93343497c35..e7082a00d793 100644 --- a/packages/google-storage-control/src/util/proto_utils.ts +++ b/packages/google-storage-control/src/util/proto_utils.ts @@ -41,10 +41,10 @@ export function cleanObjectReferences( filePaths: string[], replacements: Replacement[], ): void { - filePaths.forEach(filePath => { + filePaths.forEach((filePath) => { const fullPath = path.join(__dirname, '..', '..', filePath); if (fs.existsSync(fullPath)) { - replacements.forEach(({pattern, replacement}) => { + replacements.forEach(({ pattern, replacement }) => { try { const data = fs.readFileSync(fullPath, 'utf8'); const result = data.replace(pattern, replacement); diff --git a/packages/google-storage-control/src/util/storage_control_utils.ts b/packages/google-storage-control/src/util/storage_control_utils.ts index 0924c65f206f..e0cbae28a887 100644 --- a/packages/google-storage-control/src/util/storage_control_utils.ts +++ b/packages/google-storage-control/src/util/storage_control_utils.ts @@ -18,9 +18,9 @@ import { filesToUpdate, replacements, } from './proto_utils'; -import {buildOutput} from './uber_client_builder'; -import {fixIndexFile, fixV2Index} from './index_fix_utils'; -import {updateSamples, fixDocsHeaders} from './samples_and_doc_fix_utils'; +import { buildOutput } from './uber_client_builder'; +import { fixIndexFile, fixV2Index } from './index_fix_utils'; +import { updateSamples, fixDocsHeaders } from './samples_and_doc_fix_utils'; async function main() { fixIndexFile('src/index.ts'); @@ -29,9 +29,9 @@ async function main() { updateSamples(); fixDocsHeaders(); const finaloutput = await buildOutput(); - fs.writeFile('../storage_control_client.ts', finaloutput, err => { + fs.writeFile('../storage_control_client.ts', finaloutput, (err) => { if (err) throw err; }); } -main().catch(err => console.error(err)); +main().catch((err) => console.error(err)); diff --git a/packages/google-storage-control/src/util/uber_client_builder.ts b/packages/google-storage-control/src/util/uber_client_builder.ts index af7a71299579..318739cc0e22 100644 --- a/packages/google-storage-control/src/util/uber_client_builder.ts +++ b/packages/google-storage-control/src/util/uber_client_builder.ts @@ -13,7 +13,11 @@ // limitations under the License. import * as prettier from 'prettier'; -import {astHelper, parseClientName, getPropertyDeclarations} from './ast_utils'; +import { + astHelper, + parseClientName, + getPropertyDeclarations, +} from './ast_utils'; export const CLIENTS = ['StorageControlInternal', 'StorageClient']; export const FILES = [ @@ -170,7 +174,7 @@ function buildClientConstructor(clients: string[]) { }); constructorInitializers = constructorInitializers.concat('\t}'); let output = 'export class StorageControlClient{\n'; - properties.forEach(property => { + properties.forEach((property) => { variableDecl = variableDecl.concat(property); }); output = output.concat( diff --git a/packages/google-storage-control/src/v2/index.ts b/packages/google-storage-control/src/v2/index.ts index 58c2e508c0c0..fd30edff11a1 100644 --- a/packages/google-storage-control/src/v2/index.ts +++ b/packages/google-storage-control/src/v2/index.ts @@ -16,6 +16,6 @@ // ** https://github.com/googleapis/gapic-generator-typescript ** // ** All changes to this file may be overwritten. ** -export {StorageControlClient} from './storage_control_client'; +export { StorageControlClient } from './storage_control_client'; -export {StorageClient} from './storage_client'; +export { StorageClient } from './storage_client'; diff --git a/packages/google-storage-control/src/v2/storage_client.ts b/packages/google-storage-control/src/v2/storage_client.ts index 1ae3c0138a25..253ee5d76a93 100644 --- a/packages/google-storage-control/src/v2/storage_client.ts +++ b/packages/google-storage-control/src/v2/storage_client.ts @@ -26,10 +26,10 @@ import type { PaginationCallback, GaxCall, } from 'google-gax'; -import {Transform} from 'stream'; +import { Transform } from 'stream'; import * as protos from '../../protos/protos'; import jsonProtos = require('../../protos/protos.json'); -import {loggingUtils as logging, decodeAnyProtosInArray} from 'google-gax'; +import { loggingUtils as logging, decodeAnyProtosInArray } from 'google-gax'; /** * Client JSON configuration object, loaded from @@ -77,7 +77,7 @@ export class StorageClient { private _gaxModule: typeof gax | typeof gax.fallback; private _gaxGrpc: gax.GrpcClient | gax.fallback.GrpcClient; private _protos: {}; - private _defaults: {[method: string]: gax.CallSettings}; + private _defaults: { [method: string]: gax.CallSettings }; private _universeDomain: string; private _servicePath: string; private _log = logging.log('storage'); @@ -90,9 +90,9 @@ export class StorageClient { batching: {}, }; warn: (code: string, message: string, warnType?: string) => void; - innerApiCalls: {[name: string]: Function}; - pathTemplates: {[name: string]: gax.PathTemplate}; - storageStub?: Promise<{[name: string]: Function}>; + innerApiCalls: { [name: string]: Function }; + pathTemplates: { [name: string]: gax.PathTemplate }; + storageStub?: Promise<{ [name: string]: Function }>; /** * Construct an instance of StorageClient. @@ -168,7 +168,7 @@ export class StorageClient { const fallback = opts?.fallback ?? (typeof window !== 'undefined' && typeof window?.fetch === 'function'); - opts = Object.assign({servicePath, port, clientConfig, fallback}, opts); + opts = Object.assign({ servicePath, port, clientConfig, fallback }, opts); // Request numeric enum values if REST transport is used. opts.numericEnums = true; @@ -255,7 +255,7 @@ export class StorageClient { 'google.storage.v2.Storage', gapicConfig as gax.ClientConfig, opts.clientConfig || {}, - {'x-goog-api-client': clientHeader.join(' ')}, + { 'x-goog-api-client': clientHeader.join(' ') }, ); // Set up a dictionary of "inner API calls"; the core implementation @@ -295,7 +295,7 @@ export class StorageClient { (this._protos as any).google.storage.v2.Storage, this._opts, this._providedCustomServicePath, - ) as Promise<{[method: string]: Function}>; + ) as Promise<{ [method: string]: Function }>; // Iterate over each of the methods that the service provides // and create an API call method for each. @@ -309,7 +309,7 @@ export class StorageClient { ]; for (const methodName of storageStubMethods) { const callPromise = this.storageStub.then( - stub => + (stub) => (...args: Array<{}>) => { if (this._terminated) { return Promise.reject('The client has already been closed.'); @@ -536,13 +536,13 @@ export class StorageClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('deleteBucket request %j', request); @@ -689,13 +689,13 @@ export class StorageClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('getBucket request %j', request); @@ -858,7 +858,7 @@ export class StorageClient { .match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['project'] ?? fieldValue; - Object.assign(routingParameter, {project: parameterValue}); + Object.assign(routingParameter, { project: parameterValue }); } } } @@ -870,13 +870,13 @@ export class StorageClient { .match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['project'] ?? fieldValue; - Object.assign(routingParameter, {project: parameterValue}); + Object.assign(routingParameter, { project: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('createBucket request %j', request); @@ -1032,13 +1032,13 @@ export class StorageClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('lockBucketRetentionPolicy request %j', request); @@ -1206,13 +1206,13 @@ export class StorageClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('updateBucket request %j', request); @@ -1373,13 +1373,13 @@ export class StorageClient { .match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['project'] ?? fieldValue; - Object.assign(routingParameter, {project: parameterValue}); + Object.assign(routingParameter, { project: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); const wrappedCallback: @@ -1461,7 +1461,7 @@ export class StorageClient { .match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['project'] ?? fieldValue; - Object.assign(routingParameter, {project: parameterValue}); + Object.assign(routingParameter, { project: parameterValue }); } } } @@ -1469,7 +1469,7 @@ export class StorageClient { this._gaxModule.routingHeader.fromParams(routingParameter); const defaultCallSettings = this._defaults['listBuckets']; const callSettings = defaultCallSettings.merge(options); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('listBuckets stream %j', request); @@ -1535,7 +1535,7 @@ export class StorageClient { .match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['project'] ?? fieldValue; - Object.assign(routingParameter, {project: parameterValue}); + Object.assign(routingParameter, { project: parameterValue }); } } } @@ -1543,7 +1543,7 @@ export class StorageClient { this._gaxModule.routingHeader.fromParams(routingParameter); const defaultCallSettings = this._defaults['listBuckets']; const callSettings = defaultCallSettings.merge(options); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('listBuckets iterate %j', request); @@ -1695,7 +1695,7 @@ export class StorageClient { */ close(): Promise { if (this.storageStub && !this._terminated) { - return this.storageStub.then(stub => { + return this.storageStub.then((stub) => { this._log.info('ending gRPC channel'); this._terminated = true; stub.close(); diff --git a/packages/google-storage-control/src/v2/storage_control_client.ts b/packages/google-storage-control/src/v2/storage_control_client.ts index 4e1b43a82325..b98859b00fbc 100644 --- a/packages/google-storage-control/src/v2/storage_control_client.ts +++ b/packages/google-storage-control/src/v2/storage_control_client.ts @@ -28,10 +28,10 @@ import type { PaginationCallback, GaxCall, } from 'google-gax'; -import {Transform} from 'stream'; +import { Transform } from 'stream'; import * as protos from '../../protos/protos'; import jsonProtos = require('../../protos/protos.json'); -import {loggingUtils as logging, decodeAnyProtosInArray} from 'google-gax'; +import { loggingUtils as logging, decodeAnyProtosInArray } from 'google-gax'; /** * Client JSON configuration object, loaded from @@ -54,7 +54,7 @@ export class StorageControlClient { private _gaxModule: typeof gax | typeof gax.fallback; private _gaxGrpc: gax.GrpcClient | gax.fallback.GrpcClient; private _protos: {}; - private _defaults: {[method: string]: gax.CallSettings}; + private _defaults: { [method: string]: gax.CallSettings }; private _universeDomain: string; private _servicePath: string; private _log = logging.log('storage-control'); @@ -67,10 +67,10 @@ export class StorageControlClient { batching: {}, }; warn: (code: string, message: string, warnType?: string) => void; - innerApiCalls: {[name: string]: Function}; - pathTemplates: {[name: string]: gax.PathTemplate}; + innerApiCalls: { [name: string]: Function }; + pathTemplates: { [name: string]: gax.PathTemplate }; operationsClient: gax.OperationsClient; - storageControlStub?: Promise<{[name: string]: Function}>; + storageControlStub?: Promise<{ [name: string]: Function }>; /** * Construct an instance of StorageControlClient. @@ -146,7 +146,7 @@ export class StorageControlClient { const fallback = opts?.fallback ?? (typeof window !== 'undefined' && typeof window?.fetch === 'function'); - opts = Object.assign({servicePath, port, clientConfig, fallback}, opts); + opts = Object.assign({ servicePath, port, clientConfig, fallback }, opts); // Request numeric enum values if REST transport is used. opts.numericEnums = true; @@ -331,7 +331,7 @@ export class StorageControlClient { 'google.storage.control.v2.StorageControl', gapicConfig as gax.ClientConfig, opts.clientConfig || {}, - {'x-goog-api-client': clientHeader.join(' ')}, + { 'x-goog-api-client': clientHeader.join(' ') }, ); // Set up a dictionary of "inner API calls"; the core implementation @@ -371,7 +371,7 @@ export class StorageControlClient { (this._protos as any).google.storage.control.v2.StorageControl, this._opts, this._providedCustomServicePath, - ) as Promise<{[method: string]: Function}>; + ) as Promise<{ [method: string]: Function }>; // Iterate over each of the methods that the service provides // and create an API call method for each. @@ -406,7 +406,7 @@ export class StorageControlClient { ]; for (const methodName of storageControlStubMethods) { const callPromise = this.storageControlStub.then( - stub => + (stub) => (...args: Array<{}>) => { if (this._terminated) { return Promise.reject('The client has already been closed.'); @@ -632,13 +632,13 @@ export class StorageControlClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('createFolder request %j', request); @@ -785,13 +785,13 @@ export class StorageControlClient { .match(RegExp('(?projects/[^/]+/buckets/[^/]+)(?:/.*)?')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('deleteFolder request %j', request); @@ -936,13 +936,13 @@ export class StorageControlClient { .match(RegExp('(?projects/[^/]+/buckets/[^/]+)(?:/.*)?')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('getFolder request %j', request); @@ -1089,13 +1089,13 @@ export class StorageControlClient { .match(RegExp('(?projects/[^/]+/buckets/[^/]+)(?:/.*)?')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('getStorageLayout request %j', request); @@ -1246,13 +1246,13 @@ export class StorageControlClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('createManagedFolder request %j', request); @@ -1413,13 +1413,13 @@ export class StorageControlClient { .match(RegExp('(?projects/[^/]+/buckets/[^/]+)(?:/.*)?')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('deleteManagedFolder request %j', request); @@ -1575,13 +1575,13 @@ export class StorageControlClient { .match(RegExp('(?projects/[^/]+/buckets/[^/]+)(?:/.*)?')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('getManagedFolder request %j', request); @@ -1731,13 +1731,13 @@ export class StorageControlClient { .match(RegExp('(?projects/[^/]+/buckets/[^/]+)(?:/.*)?')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('disableAnywhereCache request %j', request); @@ -1887,13 +1887,13 @@ export class StorageControlClient { .match(RegExp('(?projects/[^/]+/buckets/[^/]+)(?:/.*)?')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('pauseAnywhereCache request %j', request); @@ -2043,13 +2043,13 @@ export class StorageControlClient { .match(RegExp('(?projects/[^/]+/buckets/[^/]+)(?:/.*)?')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('resumeAnywhereCache request %j', request); @@ -2198,13 +2198,13 @@ export class StorageControlClient { .match(RegExp('(?projects/[^/]+/buckets/[^/]+)(?:/.*)?')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('getAnywhereCache request %j', request); @@ -2347,7 +2347,7 @@ export class StorageControlClient { this._gaxModule.routingHeader.fromParams({ name: request.name ?? '', }); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('getProjectIntelligenceConfig request %j', request); @@ -2497,7 +2497,7 @@ export class StorageControlClient { this._gaxModule.routingHeader.fromParams({ 'intelligence_config.name': request.intelligenceConfig!.name ?? '', }); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('updateProjectIntelligenceConfig request %j', request); @@ -2649,7 +2649,7 @@ export class StorageControlClient { this._gaxModule.routingHeader.fromParams({ name: request.name ?? '', }); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('getFolderIntelligenceConfig request %j', request); @@ -2799,7 +2799,7 @@ export class StorageControlClient { this._gaxModule.routingHeader.fromParams({ 'intelligence_config.name': request.intelligenceConfig!.name ?? '', }); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('updateFolderIntelligenceConfig request %j', request); @@ -2951,7 +2951,7 @@ export class StorageControlClient { this._gaxModule.routingHeader.fromParams({ name: request.name ?? '', }); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('getOrganizationIntelligenceConfig request %j', request); @@ -3107,7 +3107,7 @@ export class StorageControlClient { this._gaxModule.routingHeader.fromParams({ 'intelligence_config.name': request.intelligenceConfig!.name ?? '', }); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('updateOrganizationIntelligenceConfig request %j', request); @@ -3253,7 +3253,7 @@ export class StorageControlClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } @@ -3265,13 +3265,13 @@ export class StorageControlClient { .match(RegExp('(?projects/[^/]+/buckets/[^/]+)(?:/.*)?')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('getIamPolicy request %j', request); @@ -3414,7 +3414,7 @@ export class StorageControlClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } @@ -3426,13 +3426,13 @@ export class StorageControlClient { .match(RegExp('(?projects/[^/]+/buckets/[^/]+)(?:/.*)?')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('setIamPolicy request %j', request); @@ -3571,7 +3571,7 @@ export class StorageControlClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } @@ -3585,7 +3585,7 @@ export class StorageControlClient { ); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } @@ -3601,13 +3601,13 @@ export class StorageControlClient { ); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('testIamPermissions request %j', request); @@ -3776,13 +3776,13 @@ export class StorageControlClient { .match(RegExp('(?projects/[^/]+/buckets/[^/]+)(?:/.*)?')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); const wrappedCallback: @@ -3839,7 +3839,7 @@ export class StorageControlClient { this._log.info('renameFolder long-running'); const request = new this._gaxModule.operationsProtos.google.longrunning.GetOperationRequest( - {name}, + { name }, ); const [operation] = await this.operationsClient.getOperation(request); const decodeOperation = new this._gaxModule.Operation( @@ -3971,13 +3971,13 @@ export class StorageControlClient { .match(RegExp('(?projects/[^/]+/buckets/[^/]+)(?:/.*)?')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); const wrappedCallback: @@ -4034,7 +4034,7 @@ export class StorageControlClient { this._log.info('deleteFolderRecursive long-running'); const request = new this._gaxModule.operationsProtos.google.longrunning.GetOperationRequest( - {name}, + { name }, ); const [operation] = await this.operationsClient.getOperation(request); const decodeOperation = new this._gaxModule.Operation( @@ -4162,13 +4162,13 @@ export class StorageControlClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); const wrappedCallback: @@ -4225,7 +4225,7 @@ export class StorageControlClient { this._log.info('createAnywhereCache long-running'); const request = new this._gaxModule.operationsProtos.google.longrunning.GetOperationRequest( - {name}, + { name }, ); const [operation] = await this.operationsClient.getOperation(request); const decodeOperation = new this._gaxModule.Operation( @@ -4360,13 +4360,13 @@ export class StorageControlClient { .match(RegExp('(?projects/[^/]+/buckets/[^/]+)(?:/.*)?')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); const wrappedCallback: @@ -4423,7 +4423,7 @@ export class StorageControlClient { this._log.info('updateAnywhereCache long-running'); const request = new this._gaxModule.operationsProtos.google.longrunning.GetOperationRequest( - {name}, + { name }, ); const [operation] = await this.operationsClient.getOperation(request); const decodeOperation = new this._gaxModule.Operation( @@ -4551,13 +4551,13 @@ export class StorageControlClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); const wrappedCallback: @@ -4648,7 +4648,7 @@ export class StorageControlClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } @@ -4656,7 +4656,7 @@ export class StorageControlClient { this._gaxModule.routingHeader.fromParams(routingParameter); const defaultCallSettings = this._defaults['listFolders']; const callSettings = defaultCallSettings.merge(options); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('listFolders stream %j', request); @@ -4729,7 +4729,7 @@ export class StorageControlClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } @@ -4737,7 +4737,7 @@ export class StorageControlClient { this._gaxModule.routingHeader.fromParams(routingParameter); const defaultCallSettings = this._defaults['listFolders']; const callSettings = defaultCallSettings.merge(options); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('listFolders iterate %j', request); @@ -4855,13 +4855,13 @@ export class StorageControlClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); const wrappedCallback: @@ -4940,7 +4940,7 @@ export class StorageControlClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } @@ -4948,7 +4948,7 @@ export class StorageControlClient { this._gaxModule.routingHeader.fromParams(routingParameter); const defaultCallSettings = this._defaults['listManagedFolders']; const callSettings = defaultCallSettings.merge(options); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('listManagedFolders stream %j', request); @@ -5009,7 +5009,7 @@ export class StorageControlClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } @@ -5017,7 +5017,7 @@ export class StorageControlClient { this._gaxModule.routingHeader.fromParams(routingParameter); const defaultCallSettings = this._defaults['listManagedFolders']; const callSettings = defaultCallSettings.merge(options); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('listManagedFolders iterate %j', request); @@ -5132,13 +5132,13 @@ export class StorageControlClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); const wrappedCallback: @@ -5214,7 +5214,7 @@ export class StorageControlClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } @@ -5222,7 +5222,7 @@ export class StorageControlClient { this._gaxModule.routingHeader.fromParams(routingParameter); const defaultCallSettings = this._defaults['listAnywhereCaches']; const callSettings = defaultCallSettings.merge(options); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('listAnywhereCaches stream %j', request); @@ -5280,7 +5280,7 @@ export class StorageControlClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, {bucket: parameterValue}); + Object.assign(routingParameter, { bucket: parameterValue }); } } } @@ -5288,7 +5288,7 @@ export class StorageControlClient { this._gaxModule.routingHeader.fromParams(routingParameter); const defaultCallSettings = this._defaults['listAnywhereCaches']; const callSettings = defaultCallSettings.merge(options); - this.initialize().catch(err => { + this.initialize().catch((err) => { throw err; }); this._log.info('listAnywhereCaches iterate %j', request); @@ -5920,7 +5920,7 @@ export class StorageControlClient { */ close(): Promise { if (this.storageControlStub && !this._terminated) { - return this.storageControlStub.then(stub => { + return this.storageControlStub.then((stub) => { this._log.info('ending gRPC channel'); this._terminated = true; stub.close(); diff --git a/packages/google-storage-control/test/gapic_storage_control_v2.ts b/packages/google-storage-control/test/gapic_storage_control_v2.ts index 6bee211bf76d..f0b1d1c358d7 100644 --- a/packages/google-storage-control/test/gapic_storage_control_v2.ts +++ b/packages/google-storage-control/test/gapic_storage_control_v2.ts @@ -19,13 +19,13 @@ import * as protos from '../protos/protos'; import * as assert from 'assert'; import * as sinon from 'sinon'; -import {SinonStub} from 'sinon'; -import {describe, it} from 'mocha'; +import { SinonStub } from 'sinon'; +import { describe, it } from 'mocha'; import * as storagecontrolModule from '../src'; -import {PassThrough} from 'stream'; +import { PassThrough } from 'stream'; -import {protobuf, LROperation, operationsProtos} from 'google-gax'; +import { protobuf, LROperation, operationsProtos } from 'google-gax'; // Dynamically loaded proto JSON is needed to get the type information // to fill in default values for request objects @@ -45,7 +45,7 @@ function getTypeDefaultValue(typeName: string, fields: string[]) { function generateSampleMessage(instance: T) { const filledObject = ( instance.constructor as typeof protobuf.Message - ).toObject(instance as protobuf.Message, {defaults: true}); + ).toObject(instance as protobuf.Message, { defaults: true }); return (instance.constructor as typeof protobuf.Message).fromObject( filledObject, ) as T; @@ -149,9 +149,9 @@ function stubAsyncIterationCall( return Promise.reject(error); } if (counter >= responses!.length) { - return Promise.resolve({done: true, value: undefined}); + return Promise.resolve({ done: true, value: undefined }); } - return Promise.resolve({done: false, value: responses![counter++]}); + return Promise.resolve({ done: false, value: responses![counter++] }); }, }; }, @@ -271,7 +271,7 @@ describe('v2.StorageControlClient', () => { it('has initialize method and supports deferred initialization', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); assert.strictEqual(client.storageControlStub, undefined); @@ -279,12 +279,12 @@ describe('v2.StorageControlClient', () => { assert(client.storageControlStub); }); - it('has close method for the initialized client', done => { + it('has close method for the initialized client', (done) => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); - client.initialize().catch(err => { + client.initialize().catch((err) => { throw err; }); assert(client.storageControlStub); @@ -293,14 +293,14 @@ describe('v2.StorageControlClient', () => { .then(() => { done(); }) - .catch(err => { + .catch((err) => { throw err; }); }); - it('has close method for the non-initialized client', done => { + it('has close method for the non-initialized client', (done) => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); assert.strictEqual(client.storageControlStub, undefined); @@ -309,7 +309,7 @@ describe('v2.StorageControlClient', () => { .then(() => { done(); }) - .catch(err => { + .catch((err) => { throw err; }); }); @@ -317,7 +317,7 @@ describe('v2.StorageControlClient', () => { it('has getProjectId method', async () => { const fakeProjectId = 'fake-project-id'; const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); client.auth.getProjectId = sinon.stub().resolves(fakeProjectId); @@ -329,7 +329,7 @@ describe('v2.StorageControlClient', () => { it('has getProjectId method with callback', async () => { const fakeProjectId = 'fake-project-id'; const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); client.auth.getProjectId = sinon @@ -352,7 +352,7 @@ describe('v2.StorageControlClient', () => { describe('createFolder', () => { it('invokes createFolder without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -385,7 +385,7 @@ describe('v2.StorageControlClient', () => { it('invokes createFolder without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -434,7 +434,7 @@ describe('v2.StorageControlClient', () => { it('invokes createFolder with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -467,7 +467,7 @@ describe('v2.StorageControlClient', () => { it('invokes createFolder with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -477,7 +477,7 @@ describe('v2.StorageControlClient', () => { // path template: {bucket=**} request.parent = 'value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects(client.createFolder(request), expectedError); @@ -487,7 +487,7 @@ describe('v2.StorageControlClient', () => { describe('deleteFolder', () => { it('invokes deleteFolder without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -521,7 +521,7 @@ describe('v2.StorageControlClient', () => { it('invokes deleteFolder without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -571,7 +571,7 @@ describe('v2.StorageControlClient', () => { it('invokes deleteFolder with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -605,7 +605,7 @@ describe('v2.StorageControlClient', () => { it('invokes deleteFolder with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -615,7 +615,7 @@ describe('v2.StorageControlClient', () => { // path template: {bucket=projects/*/buckets/*}/** request.name = 'projects/value/buckets/value/value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects(client.deleteFolder(request), expectedError); @@ -625,7 +625,7 @@ describe('v2.StorageControlClient', () => { describe('getFolder', () => { it('invokes getFolder without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -659,7 +659,7 @@ describe('v2.StorageControlClient', () => { it('invokes getFolder without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -709,7 +709,7 @@ describe('v2.StorageControlClient', () => { it('invokes getFolder with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -740,7 +740,7 @@ describe('v2.StorageControlClient', () => { it('invokes getFolder with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -750,7 +750,7 @@ describe('v2.StorageControlClient', () => { // path template: {bucket=projects/*/buckets/*}/** request.name = 'projects/value/buckets/value/value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects(client.getFolder(request), expectedError); @@ -760,7 +760,7 @@ describe('v2.StorageControlClient', () => { describe('getStorageLayout', () => { it('invokes getStorageLayout without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -794,7 +794,7 @@ describe('v2.StorageControlClient', () => { it('invokes getStorageLayout without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -844,7 +844,7 @@ describe('v2.StorageControlClient', () => { it('invokes getStorageLayout with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -878,7 +878,7 @@ describe('v2.StorageControlClient', () => { it('invokes getStorageLayout with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -888,7 +888,7 @@ describe('v2.StorageControlClient', () => { // path template: {bucket=projects/*/buckets/*}/** request.name = 'projects/value/buckets/value/value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects(client.getStorageLayout(request), expectedError); @@ -898,7 +898,7 @@ describe('v2.StorageControlClient', () => { describe('createManagedFolder', () => { it('invokes createManagedFolder without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -932,7 +932,7 @@ describe('v2.StorageControlClient', () => { it('invokes createManagedFolder without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -981,7 +981,7 @@ describe('v2.StorageControlClient', () => { it('invokes createManagedFolder with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1014,7 +1014,7 @@ describe('v2.StorageControlClient', () => { it('invokes createManagedFolder with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1024,7 +1024,7 @@ describe('v2.StorageControlClient', () => { // path template: {bucket=**} request.parent = 'value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects(client.createManagedFolder(request), expectedError); @@ -1034,7 +1034,7 @@ describe('v2.StorageControlClient', () => { describe('deleteManagedFolder', () => { it('invokes deleteManagedFolder without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1069,7 +1069,7 @@ describe('v2.StorageControlClient', () => { it('invokes deleteManagedFolder without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1119,7 +1119,7 @@ describe('v2.StorageControlClient', () => { it('invokes deleteManagedFolder with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1153,7 +1153,7 @@ describe('v2.StorageControlClient', () => { it('invokes deleteManagedFolder with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1163,7 +1163,7 @@ describe('v2.StorageControlClient', () => { // path template: {bucket=projects/*/buckets/*}/** request.name = 'projects/value/buckets/value/value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects(client.deleteManagedFolder(request), expectedError); @@ -1173,7 +1173,7 @@ describe('v2.StorageControlClient', () => { describe('getManagedFolder', () => { it('invokes getManagedFolder without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1207,7 +1207,7 @@ describe('v2.StorageControlClient', () => { it('invokes getManagedFolder without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1257,7 +1257,7 @@ describe('v2.StorageControlClient', () => { it('invokes getManagedFolder with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1291,7 +1291,7 @@ describe('v2.StorageControlClient', () => { it('invokes getManagedFolder with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1301,7 +1301,7 @@ describe('v2.StorageControlClient', () => { // path template: {bucket=projects/*/buckets/*}/** request.name = 'projects/value/buckets/value/value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects(client.getManagedFolder(request), expectedError); @@ -1311,7 +1311,7 @@ describe('v2.StorageControlClient', () => { describe('disableAnywhereCache', () => { it('invokes disableAnywhereCache without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1346,7 +1346,7 @@ describe('v2.StorageControlClient', () => { it('invokes disableAnywhereCache without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1396,7 +1396,7 @@ describe('v2.StorageControlClient', () => { it('invokes disableAnywhereCache with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1430,7 +1430,7 @@ describe('v2.StorageControlClient', () => { it('invokes disableAnywhereCache with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1440,7 +1440,7 @@ describe('v2.StorageControlClient', () => { // path template: {bucket=projects/*/buckets/*}/** request.name = 'projects/value/buckets/value/value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects(client.disableAnywhereCache(request), expectedError); @@ -1450,7 +1450,7 @@ describe('v2.StorageControlClient', () => { describe('pauseAnywhereCache', () => { it('invokes pauseAnywhereCache without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1485,7 +1485,7 @@ describe('v2.StorageControlClient', () => { it('invokes pauseAnywhereCache without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1535,7 +1535,7 @@ describe('v2.StorageControlClient', () => { it('invokes pauseAnywhereCache with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1569,7 +1569,7 @@ describe('v2.StorageControlClient', () => { it('invokes pauseAnywhereCache with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1579,7 +1579,7 @@ describe('v2.StorageControlClient', () => { // path template: {bucket=projects/*/buckets/*}/** request.name = 'projects/value/buckets/value/value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects(client.pauseAnywhereCache(request), expectedError); @@ -1589,7 +1589,7 @@ describe('v2.StorageControlClient', () => { describe('resumeAnywhereCache', () => { it('invokes resumeAnywhereCache without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1624,7 +1624,7 @@ describe('v2.StorageControlClient', () => { it('invokes resumeAnywhereCache without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1674,7 +1674,7 @@ describe('v2.StorageControlClient', () => { it('invokes resumeAnywhereCache with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1708,7 +1708,7 @@ describe('v2.StorageControlClient', () => { it('invokes resumeAnywhereCache with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1718,7 +1718,7 @@ describe('v2.StorageControlClient', () => { // path template: {bucket=projects/*/buckets/*}/** request.name = 'projects/value/buckets/value/value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects(client.resumeAnywhereCache(request), expectedError); @@ -1728,7 +1728,7 @@ describe('v2.StorageControlClient', () => { describe('getAnywhereCache', () => { it('invokes getAnywhereCache without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1762,7 +1762,7 @@ describe('v2.StorageControlClient', () => { it('invokes getAnywhereCache without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1812,7 +1812,7 @@ describe('v2.StorageControlClient', () => { it('invokes getAnywhereCache with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1846,7 +1846,7 @@ describe('v2.StorageControlClient', () => { it('invokes getAnywhereCache with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1856,7 +1856,7 @@ describe('v2.StorageControlClient', () => { // path template: {bucket=projects/*/buckets/*}/** request.name = 'projects/value/buckets/value/value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects(client.getAnywhereCache(request), expectedError); @@ -1866,7 +1866,7 @@ describe('v2.StorageControlClient', () => { describe('getProjectIntelligenceConfig', () => { it('invokes getProjectIntelligenceConfig without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1898,7 +1898,7 @@ describe('v2.StorageControlClient', () => { it('invokes getProjectIntelligenceConfig without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1945,7 +1945,7 @@ describe('v2.StorageControlClient', () => { it('invokes getProjectIntelligenceConfig with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1979,7 +1979,7 @@ describe('v2.StorageControlClient', () => { it('invokes getProjectIntelligenceConfig with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1992,7 +1992,7 @@ describe('v2.StorageControlClient', () => { ); request.name = defaultValue1; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects( @@ -2005,7 +2005,7 @@ describe('v2.StorageControlClient', () => { describe('updateProjectIntelligenceConfig', () => { it('invokes updateProjectIntelligenceConfig without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2038,7 +2038,7 @@ describe('v2.StorageControlClient', () => { it('invokes updateProjectIntelligenceConfig without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2086,7 +2086,7 @@ describe('v2.StorageControlClient', () => { it('invokes updateProjectIntelligenceConfig with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2121,7 +2121,7 @@ describe('v2.StorageControlClient', () => { it('invokes updateProjectIntelligenceConfig with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2135,7 +2135,7 @@ describe('v2.StorageControlClient', () => { ); request.intelligenceConfig.name = defaultValue1; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects( @@ -2148,7 +2148,7 @@ describe('v2.StorageControlClient', () => { describe('getFolderIntelligenceConfig', () => { it('invokes getFolderIntelligenceConfig without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2180,7 +2180,7 @@ describe('v2.StorageControlClient', () => { it('invokes getFolderIntelligenceConfig without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2227,7 +2227,7 @@ describe('v2.StorageControlClient', () => { it('invokes getFolderIntelligenceConfig with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2261,7 +2261,7 @@ describe('v2.StorageControlClient', () => { it('invokes getFolderIntelligenceConfig with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2274,7 +2274,7 @@ describe('v2.StorageControlClient', () => { ); request.name = defaultValue1; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects( @@ -2287,7 +2287,7 @@ describe('v2.StorageControlClient', () => { describe('updateFolderIntelligenceConfig', () => { it('invokes updateFolderIntelligenceConfig without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2320,7 +2320,7 @@ describe('v2.StorageControlClient', () => { it('invokes updateFolderIntelligenceConfig without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2368,7 +2368,7 @@ describe('v2.StorageControlClient', () => { it('invokes updateFolderIntelligenceConfig with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2403,7 +2403,7 @@ describe('v2.StorageControlClient', () => { it('invokes updateFolderIntelligenceConfig with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2417,7 +2417,7 @@ describe('v2.StorageControlClient', () => { ); request.intelligenceConfig.name = defaultValue1; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects( @@ -2430,7 +2430,7 @@ describe('v2.StorageControlClient', () => { describe('getOrganizationIntelligenceConfig', () => { it('invokes getOrganizationIntelligenceConfig without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2463,7 +2463,7 @@ describe('v2.StorageControlClient', () => { it('invokes getOrganizationIntelligenceConfig without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2510,7 +2510,7 @@ describe('v2.StorageControlClient', () => { it('invokes getOrganizationIntelligenceConfig with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2544,7 +2544,7 @@ describe('v2.StorageControlClient', () => { it('invokes getOrganizationIntelligenceConfig with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2557,7 +2557,7 @@ describe('v2.StorageControlClient', () => { ); request.name = defaultValue1; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects( @@ -2570,7 +2570,7 @@ describe('v2.StorageControlClient', () => { describe('updateOrganizationIntelligenceConfig', () => { it('invokes updateOrganizationIntelligenceConfig without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2604,7 +2604,7 @@ describe('v2.StorageControlClient', () => { it('invokes updateOrganizationIntelligenceConfig without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2652,7 +2652,7 @@ describe('v2.StorageControlClient', () => { it('invokes updateOrganizationIntelligenceConfig with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2685,7 +2685,7 @@ describe('v2.StorageControlClient', () => { it('invokes updateOrganizationIntelligenceConfig with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2699,7 +2699,7 @@ describe('v2.StorageControlClient', () => { ); request.intelligenceConfig.name = defaultValue1; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects( @@ -2712,7 +2712,7 @@ describe('v2.StorageControlClient', () => { describe('getIamPolicy', () => { it('invokes getIamPolicy without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2743,7 +2743,7 @@ describe('v2.StorageControlClient', () => { it('invokes getIamPolicy without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2790,7 +2790,7 @@ describe('v2.StorageControlClient', () => { it('invokes getIamPolicy with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2821,7 +2821,7 @@ describe('v2.StorageControlClient', () => { it('invokes getIamPolicy with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2833,7 +2833,7 @@ describe('v2.StorageControlClient', () => { // path template: {bucket=projects/*/buckets/*}/** request.resource = 'projects/value/buckets/value/value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects(client.getIamPolicy(request), expectedError); @@ -2843,7 +2843,7 @@ describe('v2.StorageControlClient', () => { describe('setIamPolicy', () => { it('invokes setIamPolicy without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2874,7 +2874,7 @@ describe('v2.StorageControlClient', () => { it('invokes setIamPolicy without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2921,7 +2921,7 @@ describe('v2.StorageControlClient', () => { it('invokes setIamPolicy with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2952,7 +2952,7 @@ describe('v2.StorageControlClient', () => { it('invokes setIamPolicy with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -2964,7 +2964,7 @@ describe('v2.StorageControlClient', () => { // path template: {bucket=projects/*/buckets/*}/** request.resource = 'projects/value/buckets/value/value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects(client.setIamPolicy(request), expectedError); @@ -2974,7 +2974,7 @@ describe('v2.StorageControlClient', () => { describe('testIamPermissions', () => { it('invokes testIamPermissions without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3008,7 +3008,7 @@ describe('v2.StorageControlClient', () => { it('invokes testIamPermissions without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3057,7 +3057,7 @@ describe('v2.StorageControlClient', () => { it('invokes testIamPermissions with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3090,7 +3090,7 @@ describe('v2.StorageControlClient', () => { it('invokes testIamPermissions with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3104,7 +3104,7 @@ describe('v2.StorageControlClient', () => { // path template: {bucket=projects/*/buckets/*}/managedFolders/** request.resource = 'projects/value/buckets/value/managedFolders/value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects(client.testIamPermissions(request), expectedError); @@ -3114,7 +3114,7 @@ describe('v2.StorageControlClient', () => { describe('renameFolder', () => { it('invokes renameFolder without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3149,7 +3149,7 @@ describe('v2.StorageControlClient', () => { it('invokes renameFolder without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3206,7 +3206,7 @@ describe('v2.StorageControlClient', () => { it('invokes renameFolder with call error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3240,7 +3240,7 @@ describe('v2.StorageControlClient', () => { it('invokes renameFolder with LRO error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3276,7 +3276,7 @@ describe('v2.StorageControlClient', () => { it('invokes checkRenameFolderProgress without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3284,8 +3284,8 @@ describe('v2.StorageControlClient', () => { new operationsProtos.google.longrunning.Operation(), ); expectedResponse.name = 'test'; - expectedResponse.response = {type_url: 'url', value: Buffer.from('')}; - expectedResponse.metadata = {type_url: 'url', value: Buffer.from('')}; + expectedResponse.response = { type_url: 'url', value: Buffer.from('') }; + expectedResponse.metadata = { type_url: 'url', value: Buffer.from('') }; client.operationsClient.getOperation = stubSimpleCall(expectedResponse); const decodedOperation = await client.checkRenameFolderProgress( @@ -3298,7 +3298,7 @@ describe('v2.StorageControlClient', () => { it('invokes checkRenameFolderProgress with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3316,7 +3316,7 @@ describe('v2.StorageControlClient', () => { describe('deleteFolderRecursive', () => { it('invokes deleteFolderRecursive without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3352,7 +3352,7 @@ describe('v2.StorageControlClient', () => { it('invokes deleteFolderRecursive without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3409,7 +3409,7 @@ describe('v2.StorageControlClient', () => { it('invokes deleteFolderRecursive with call error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3446,7 +3446,7 @@ describe('v2.StorageControlClient', () => { it('invokes deleteFolderRecursive with LRO error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3482,7 +3482,7 @@ describe('v2.StorageControlClient', () => { it('invokes checkDeleteFolderRecursiveProgress without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3490,8 +3490,8 @@ describe('v2.StorageControlClient', () => { new operationsProtos.google.longrunning.Operation(), ); expectedResponse.name = 'test'; - expectedResponse.response = {type_url: 'url', value: Buffer.from('')}; - expectedResponse.metadata = {type_url: 'url', value: Buffer.from('')}; + expectedResponse.response = { type_url: 'url', value: Buffer.from('') }; + expectedResponse.metadata = { type_url: 'url', value: Buffer.from('') }; client.operationsClient.getOperation = stubSimpleCall(expectedResponse); const decodedOperation = await client.checkDeleteFolderRecursiveProgress( @@ -3504,7 +3504,7 @@ describe('v2.StorageControlClient', () => { it('invokes checkDeleteFolderRecursiveProgress with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3525,7 +3525,7 @@ describe('v2.StorageControlClient', () => { describe('createAnywhereCache', () => { it('invokes createAnywhereCache without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3560,7 +3560,7 @@ describe('v2.StorageControlClient', () => { it('invokes createAnywhereCache without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3616,7 +3616,7 @@ describe('v2.StorageControlClient', () => { it('invokes createAnywhereCache with call error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3649,7 +3649,7 @@ describe('v2.StorageControlClient', () => { it('invokes createAnywhereCache with LRO error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3684,7 +3684,7 @@ describe('v2.StorageControlClient', () => { it('invokes checkCreateAnywhereCacheProgress without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3692,8 +3692,8 @@ describe('v2.StorageControlClient', () => { new operationsProtos.google.longrunning.Operation(), ); expectedResponse.name = 'test'; - expectedResponse.response = {type_url: 'url', value: Buffer.from('')}; - expectedResponse.metadata = {type_url: 'url', value: Buffer.from('')}; + expectedResponse.response = { type_url: 'url', value: Buffer.from('') }; + expectedResponse.metadata = { type_url: 'url', value: Buffer.from('') }; client.operationsClient.getOperation = stubSimpleCall(expectedResponse); const decodedOperation = await client.checkCreateAnywhereCacheProgress( @@ -3706,7 +3706,7 @@ describe('v2.StorageControlClient', () => { it('invokes checkCreateAnywhereCacheProgress with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3727,7 +3727,7 @@ describe('v2.StorageControlClient', () => { describe('updateAnywhereCache', () => { it('invokes updateAnywhereCache without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3764,7 +3764,7 @@ describe('v2.StorageControlClient', () => { it('invokes updateAnywhereCache without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3822,7 +3822,7 @@ describe('v2.StorageControlClient', () => { it('invokes updateAnywhereCache with call error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3857,7 +3857,7 @@ describe('v2.StorageControlClient', () => { it('invokes updateAnywhereCache with LRO error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3894,7 +3894,7 @@ describe('v2.StorageControlClient', () => { it('invokes checkUpdateAnywhereCacheProgress without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3902,8 +3902,8 @@ describe('v2.StorageControlClient', () => { new operationsProtos.google.longrunning.Operation(), ); expectedResponse.name = 'test'; - expectedResponse.response = {type_url: 'url', value: Buffer.from('')}; - expectedResponse.metadata = {type_url: 'url', value: Buffer.from('')}; + expectedResponse.response = { type_url: 'url', value: Buffer.from('') }; + expectedResponse.metadata = { type_url: 'url', value: Buffer.from('') }; client.operationsClient.getOperation = stubSimpleCall(expectedResponse); const decodedOperation = await client.checkUpdateAnywhereCacheProgress( @@ -3916,7 +3916,7 @@ describe('v2.StorageControlClient', () => { it('invokes checkUpdateAnywhereCacheProgress with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3937,7 +3937,7 @@ describe('v2.StorageControlClient', () => { describe('listFolders', () => { it('invokes listFolders without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -3967,7 +3967,7 @@ describe('v2.StorageControlClient', () => { it('invokes listFolders without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4013,7 +4013,7 @@ describe('v2.StorageControlClient', () => { it('invokes listFolders with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4041,7 +4041,7 @@ describe('v2.StorageControlClient', () => { it('invokes listFoldersStream without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4092,7 +4092,7 @@ describe('v2.StorageControlClient', () => { it('invokes listFoldersStream with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4140,7 +4140,7 @@ describe('v2.StorageControlClient', () => { it('uses async iteration with listFolders without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4180,7 +4180,7 @@ describe('v2.StorageControlClient', () => { it('uses async iteration with listFolders with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4221,7 +4221,7 @@ describe('v2.StorageControlClient', () => { describe('listManagedFolders', () => { it('invokes listManagedFolders without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4263,7 +4263,7 @@ describe('v2.StorageControlClient', () => { it('invokes listManagedFolders without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4320,7 +4320,7 @@ describe('v2.StorageControlClient', () => { it('invokes listManagedFolders with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4353,7 +4353,7 @@ describe('v2.StorageControlClient', () => { it('invokes listManagedFoldersStream without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4410,7 +4410,7 @@ describe('v2.StorageControlClient', () => { it('invokes listManagedFoldersStream with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4456,7 +4456,7 @@ describe('v2.StorageControlClient', () => { it('uses async iteration with listManagedFolders without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4508,7 +4508,7 @@ describe('v2.StorageControlClient', () => { it('uses async iteration with listManagedFolders with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4553,7 +4553,7 @@ describe('v2.StorageControlClient', () => { describe('listAnywhereCaches', () => { it('invokes listAnywhereCaches without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4595,7 +4595,7 @@ describe('v2.StorageControlClient', () => { it('invokes listAnywhereCaches without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4652,7 +4652,7 @@ describe('v2.StorageControlClient', () => { it('invokes listAnywhereCaches with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4685,7 +4685,7 @@ describe('v2.StorageControlClient', () => { it('invokes listAnywhereCachesStream without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4742,7 +4742,7 @@ describe('v2.StorageControlClient', () => { it('invokes listAnywhereCachesStream with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4788,7 +4788,7 @@ describe('v2.StorageControlClient', () => { it('uses async iteration with listAnywhereCaches without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4840,7 +4840,7 @@ describe('v2.StorageControlClient', () => { it('uses async iteration with listAnywhereCaches with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4884,7 +4884,7 @@ describe('v2.StorageControlClient', () => { describe('getOperation', () => { it('invokes getOperation without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4905,7 +4905,7 @@ describe('v2.StorageControlClient', () => { }); it('invokes getOperation without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); const request = generateSampleMessage( @@ -4933,7 +4933,7 @@ describe('v2.StorageControlClient', () => { } }, ) - .catch(err => { + .catch((err) => { throw err; }); }); @@ -4943,7 +4943,7 @@ describe('v2.StorageControlClient', () => { }); it('invokes getOperation with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); const request = generateSampleMessage( @@ -4967,7 +4967,7 @@ describe('v2.StorageControlClient', () => { describe('cancelOperation', () => { it('invokes cancelOperation without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -4989,7 +4989,7 @@ describe('v2.StorageControlClient', () => { }); it('invokes cancelOperation without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); const request = generateSampleMessage( @@ -5017,7 +5017,7 @@ describe('v2.StorageControlClient', () => { } }, ) - .catch(err => { + .catch((err) => { throw err; }); }); @@ -5027,7 +5027,7 @@ describe('v2.StorageControlClient', () => { }); it('invokes cancelOperation with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); const request = generateSampleMessage( @@ -5051,7 +5051,7 @@ describe('v2.StorageControlClient', () => { describe('deleteOperation', () => { it('invokes deleteOperation without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -5073,7 +5073,7 @@ describe('v2.StorageControlClient', () => { }); it('invokes deleteOperation without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); const request = generateSampleMessage( @@ -5101,7 +5101,7 @@ describe('v2.StorageControlClient', () => { } }, ) - .catch(err => { + .catch((err) => { throw err; }); }); @@ -5111,7 +5111,7 @@ describe('v2.StorageControlClient', () => { }); it('invokes deleteOperation with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); const request = generateSampleMessage( @@ -5135,7 +5135,7 @@ describe('v2.StorageControlClient', () => { describe('listOperationsAsync', () => { it('uses async iteration with listOperations without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); const request = generateSampleMessage( @@ -5170,7 +5170,7 @@ describe('v2.StorageControlClient', () => { }); it('uses async iteration with listOperations with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -5206,7 +5206,7 @@ describe('v2.StorageControlClient', () => { anywhere_cache: 'anywhereCacheValue', }; const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -5269,7 +5269,7 @@ describe('v2.StorageControlClient', () => { bucket: 'bucketValue', }; const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -5319,7 +5319,7 @@ describe('v2.StorageControlClient', () => { folder: 'folderValue', }; const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -5382,7 +5382,7 @@ describe('v2.StorageControlClient', () => { location: 'locationValue', }; const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -5446,7 +5446,7 @@ describe('v2.StorageControlClient', () => { managed_folder: 'managedFolderValue', }; const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -5509,7 +5509,7 @@ describe('v2.StorageControlClient', () => { location: 'locationValue', }; const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -5569,7 +5569,7 @@ describe('v2.StorageControlClient', () => { project: 'projectValue', }; const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -5608,7 +5608,7 @@ describe('v2.StorageControlClient', () => { location: 'locationValue', }; const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -5673,7 +5673,7 @@ describe('v2.StorageControlClient', () => { bucket: 'bucketValue', }; const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); diff --git a/packages/google-storage-control/test/gapic_storage_v2.ts b/packages/google-storage-control/test/gapic_storage_v2.ts index dcc1c531b3e9..c61481bc008e 100644 --- a/packages/google-storage-control/test/gapic_storage_v2.ts +++ b/packages/google-storage-control/test/gapic_storage_v2.ts @@ -19,13 +19,13 @@ import * as protos from '../protos/protos'; import * as assert from 'assert'; import * as sinon from 'sinon'; -import {SinonStub} from 'sinon'; -import {describe, it} from 'mocha'; +import { SinonStub } from 'sinon'; +import { describe, it } from 'mocha'; import * as storageModule from '../src'; -import {PassThrough} from 'stream'; +import { PassThrough } from 'stream'; -import {protobuf} from 'google-gax'; +import { protobuf } from 'google-gax'; // Dynamically loaded proto JSON is needed to get the type information // to fill in default values for request objects @@ -45,7 +45,7 @@ function getTypeDefaultValue(typeName: string, fields: string[]) { function generateSampleMessage(instance: T) { const filledObject = ( instance.constructor as typeof protobuf.Message - ).toObject(instance as protobuf.Message, {defaults: true}); + ).toObject(instance as protobuf.Message, { defaults: true }); return (instance.constructor as typeof protobuf.Message).fromObject( filledObject, ) as T; @@ -117,9 +117,9 @@ function stubAsyncIterationCall( return Promise.reject(error); } if (counter >= responses!.length) { - return Promise.resolve({done: true, value: undefined}); + return Promise.resolve({ done: true, value: undefined }); } - return Promise.resolve({done: false, value: responses![counter++]}); + return Promise.resolve({ done: false, value: responses![counter++] }); }, }; }, @@ -237,7 +237,7 @@ describe('v2.StorageClient', () => { it('has initialize method and supports deferred initialization', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); assert.strictEqual(client.storageStub, undefined); @@ -245,12 +245,12 @@ describe('v2.StorageClient', () => { assert(client.storageStub); }); - it('has close method for the initialized client', done => { + it('has close method for the initialized client', (done) => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); - client.initialize().catch(err => { + client.initialize().catch((err) => { throw err; }); assert(client.storageStub); @@ -259,14 +259,14 @@ describe('v2.StorageClient', () => { .then(() => { done(); }) - .catch(err => { + .catch((err) => { throw err; }); }); - it('has close method for the non-initialized client', done => { + it('has close method for the non-initialized client', (done) => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); assert.strictEqual(client.storageStub, undefined); @@ -275,7 +275,7 @@ describe('v2.StorageClient', () => { .then(() => { done(); }) - .catch(err => { + .catch((err) => { throw err; }); }); @@ -283,7 +283,7 @@ describe('v2.StorageClient', () => { it('has getProjectId method', async () => { const fakeProjectId = 'fake-project-id'; const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); client.auth.getProjectId = sinon.stub().resolves(fakeProjectId); @@ -295,7 +295,7 @@ describe('v2.StorageClient', () => { it('has getProjectId method with callback', async () => { const fakeProjectId = 'fake-project-id'; const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); client.auth.getProjectId = sinon @@ -318,7 +318,7 @@ describe('v2.StorageClient', () => { describe('deleteBucket', () => { it('invokes deleteBucket without error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -346,7 +346,7 @@ describe('v2.StorageClient', () => { it('invokes deleteBucket without error using callback', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -390,7 +390,7 @@ describe('v2.StorageClient', () => { it('invokes deleteBucket with error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -418,7 +418,7 @@ describe('v2.StorageClient', () => { it('invokes deleteBucket with closed client', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -428,7 +428,7 @@ describe('v2.StorageClient', () => { // path template: {bucket=**} request.name = 'value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects(client.deleteBucket(request), expectedError); @@ -438,7 +438,7 @@ describe('v2.StorageClient', () => { describe('getBucket', () => { it('invokes getBucket without error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -466,7 +466,7 @@ describe('v2.StorageClient', () => { it('invokes getBucket without error using callback', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -510,7 +510,7 @@ describe('v2.StorageClient', () => { it('invokes getBucket with error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -535,7 +535,7 @@ describe('v2.StorageClient', () => { it('invokes getBucket with closed client', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -545,7 +545,7 @@ describe('v2.StorageClient', () => { // path template: {bucket=**} request.name = 'value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects(client.getBucket(request), expectedError); @@ -555,7 +555,7 @@ describe('v2.StorageClient', () => { describe('createBucket', () => { it('invokes createBucket without error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -586,7 +586,7 @@ describe('v2.StorageClient', () => { it('invokes createBucket without error using callback', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -633,7 +633,7 @@ describe('v2.StorageClient', () => { it('invokes createBucket with error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -664,7 +664,7 @@ describe('v2.StorageClient', () => { it('invokes createBucket with closed client', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -677,7 +677,7 @@ describe('v2.StorageClient', () => { // path template: {project=**} request.bucket.project = 'value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects(client.createBucket(request), expectedError); @@ -687,7 +687,7 @@ describe('v2.StorageClient', () => { describe('lockBucketRetentionPolicy', () => { it('invokes lockBucketRetentionPolicy without error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -716,7 +716,7 @@ describe('v2.StorageClient', () => { it('invokes lockBucketRetentionPolicy without error using callback', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -760,7 +760,7 @@ describe('v2.StorageClient', () => { it('invokes lockBucketRetentionPolicy with error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -791,7 +791,7 @@ describe('v2.StorageClient', () => { it('invokes lockBucketRetentionPolicy with closed client', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -801,7 +801,7 @@ describe('v2.StorageClient', () => { // path template: {bucket=**} request.bucket = 'value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects( @@ -814,7 +814,7 @@ describe('v2.StorageClient', () => { describe('updateBucket', () => { it('invokes updateBucket without error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -843,7 +843,7 @@ describe('v2.StorageClient', () => { it('invokes updateBucket without error using callback', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -888,7 +888,7 @@ describe('v2.StorageClient', () => { it('invokes updateBucket with error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -917,7 +917,7 @@ describe('v2.StorageClient', () => { it('invokes updateBucket with closed client', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -928,7 +928,7 @@ describe('v2.StorageClient', () => { // path template: {bucket=**} request.bucket.name = 'value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch(err => { + client.close().catch((err) => { throw err; }); await assert.rejects(client.updateBucket(request), expectedError); @@ -938,7 +938,7 @@ describe('v2.StorageClient', () => { describe('listBuckets', () => { it('invokes listBuckets without error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -968,7 +968,7 @@ describe('v2.StorageClient', () => { it('invokes listBuckets without error using callback', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1014,7 +1014,7 @@ describe('v2.StorageClient', () => { it('invokes listBuckets with error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1042,7 +1042,7 @@ describe('v2.StorageClient', () => { it('invokes listBucketsStream without error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1090,7 +1090,7 @@ describe('v2.StorageClient', () => { it('invokes listBucketsStream with error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1135,7 +1135,7 @@ describe('v2.StorageClient', () => { it('uses async iteration with listBuckets without error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1175,7 +1175,7 @@ describe('v2.StorageClient', () => { it('uses async iteration with listBuckets with error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1221,7 +1221,7 @@ describe('v2.StorageClient', () => { bucket: 'bucketValue', }; const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1272,7 +1272,7 @@ describe('v2.StorageClient', () => { crypto_key: 'cryptoKeyValue', }; const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); @@ -1345,7 +1345,7 @@ describe('v2.StorageClient', () => { project: 'projectValue', }; const client = new storageModule.v2.StorageClient({ - credentials: {client_email: 'bogus', private_key: 'bogus'}, + credentials: { client_email: 'bogus', private_key: 'bogus' }, projectId: 'bogus', }); await client.initialize(); diff --git a/packages/google-storage-control/test/storage_control_compatibility.ts b/packages/google-storage-control/test/storage_control_compatibility.ts index d297cc76b60d..1f9bed80ed5f 100644 --- a/packages/google-storage-control/test/storage_control_compatibility.ts +++ b/packages/google-storage-control/test/storage_control_compatibility.ts @@ -13,8 +13,8 @@ // limitations under the License. import * as assert from 'assert'; -import {StorageControlClient as UberStorageControlClient} from '../src/storage_control_client'; -import {StorageControlClient as OriginalStorageControlClient} from '../src/v2/storage_control_client'; +import { StorageControlClient as UberStorageControlClient } from '../src/storage_control_client'; +import { StorageControlClient as OriginalStorageControlClient } from '../src/v2/storage_control_client'; describe('Backwards compatibility', () => { it('uber client should have all the methods of the original client', () => { From 2aa5598c5df850f73a8673326aceb7b6dc93c8c8 Mon Sep 17 00:00:00 2001 From: feywind <57276408+feywind@users.noreply.github.com> Date: Tue, 21 Apr 2026 17:45:32 -0400 Subject: [PATCH 09/11] chore: use more common gts 6 for shared version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d14984434c95..db19b0b3dbcf 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "parse-link-header": "^2.0.0" }, "devDependencies": { - "gts": "^7.0.0" + "gts": "^6.0.2" }, "engines": { "node": ">=18" From 6b4b6fcd55bfb074ebb8cecd9ac2b7330fd0aecd Mon Sep 17 00:00:00 2001 From: feywind <57276408+feywind@users.noreply.github.com> Date: Tue, 21 Apr 2026 17:45:47 -0400 Subject: [PATCH 10/11] chore: prettierignore should cover all sub-packages --- .prettierignore | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.prettierignore b/.prettierignore index 9340ad9b86d3..bc125fc6d754 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,6 +1,6 @@ **/node_modules **/coverage -test/fixtures -build/ -docs/ -protos/ +**/test/fixtures +**/build/ +**/docs/ +**/protos/ From 4d98731887ebc00873bb67ae7e60d90f4ff855dc Mon Sep 17 00:00:00 2001 From: feywind <57276408+feywind@users.noreply.github.com> Date: Tue, 21 Apr 2026 17:53:53 -0400 Subject: [PATCH 11/11] chore: fix linting problems mostly caused by owlbot --- packages/google-storage-control/librarian.js | 8 +- .../samples/quickstart.js | 4 +- .../samples/test/quickstart.js | 6 +- packages/google-storage-control/src/index.ts | 8 +- .../src/storage_control_client.ts | 14 +- .../src/util/ast_utils.ts | 22 +- .../src/util/proto_utils.ts | 4 +- .../src/util/storage_control_utils.ts | 10 +- .../src/util/uber_client_builder.ts | 14 +- .../google-storage-control/src/v2/index.ts | 4 +- .../src/v2/storage_client.ts | 56 +-- .../src/v2/storage_control_client.ts | 158 +++---- .../test/gapic_storage_control_v2.ts | 386 +++++++++--------- .../test/gapic_storage_v2.ts | 104 ++--- .../test/storage_control_compatibility.ts | 4 +- 15 files changed, 399 insertions(+), 403 deletions(-) diff --git a/packages/google-storage-control/librarian.js b/packages/google-storage-control/librarian.js index 185695574aac..52352a1d3bfa 100644 --- a/packages/google-storage-control/librarian.js +++ b/packages/google-storage-control/librarian.js @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -const { execSync } = require('child_process'); +const {execSync} = require('child_process'); const path = require('path'); const fs = require('fs'); @@ -20,7 +20,7 @@ const packageRoot = __dirname; const utilDir = path.join(packageRoot, 'src', 'util'); try { - execSync('npm install', { cwd: packageRoot, stdio: 'inherit' }); + execSync('npm install', {cwd: packageRoot, stdio: 'inherit'}); const tscPath = path.join(packageRoot, 'node_modules', '.bin', 'tsc'); execSync(`${tscPath} src/util/storage_control_utils.ts`, { @@ -28,7 +28,7 @@ try { stdio: 'inherit', }); - execSync('node storage_control_utils.js', { cwd: utilDir, stdio: 'inherit' }); + execSync('node storage_control_utils.js', {cwd: utilDir, stdio: 'inherit'}); const files = fs.readdirSync(utilDir); for (const file of files) { @@ -38,5 +38,5 @@ try { } } catch (error) { console.error(error); - process.exit(1); + process.exitCode = 1; } diff --git a/packages/google-storage-control/samples/quickstart.js b/packages/google-storage-control/samples/quickstart.js index 57ca42493cef..ad54eba3dadc 100644 --- a/packages/google-storage-control/samples/quickstart.js +++ b/packages/google-storage-control/samples/quickstart.js @@ -31,7 +31,7 @@ function main(bucketName) { // const bucketName = 'abc123' // Imports the Control library - const { StorageControlClient } = require('@google-cloud/storage-control').v2; + const {StorageControlClient} = require('@google-cloud/storage-control').v2; // Instantiates a client const controlClient = new StorageControlClient(); @@ -54,7 +54,7 @@ function main(bucketName) { callGetStorageLayout(); } -process.on('unhandledRejection', (err) => { +process.on('unhandledRejection', err => { console.error(err.message); process.exitCode = 1; }); diff --git a/packages/google-storage-control/samples/test/quickstart.js b/packages/google-storage-control/samples/test/quickstart.js index b22bc5a622e1..b9be9220cece 100644 --- a/packages/google-storage-control/samples/test/quickstart.js +++ b/packages/google-storage-control/samples/test/quickstart.js @@ -17,9 +17,9 @@ const assert = require('assert'); const path = require('path'); const cp = require('child_process'); -const { describe, it, before } = require('mocha'); +const {describe, it} = require('mocha'); -const execSync = (cmd) => cp.execSync(cmd, { encoding: 'utf-8' }); +const execSync = cmd => cp.execSync(cmd, {encoding: 'utf-8'}); const cwd = path.join(__dirname, '..'); @@ -27,7 +27,7 @@ describe('Quickstart', () => { it('should run quickstart', async () => { const bucketName = 'storage-control-test-monorepo'; - const output = execSync(`node ./quickstart.js ${bucketName}`, { cwd }); + const output = execSync(`node ./quickstart.js ${bucketName}`, {cwd}); assert.match(output, new RegExp(`Bucket ${bucketName} has location type`)); }); }); diff --git a/packages/google-storage-control/src/index.ts b/packages/google-storage-control/src/index.ts index 86a0b95c1b5f..fe7a674a297f 100644 --- a/packages/google-storage-control/src/index.ts +++ b/packages/google-storage-control/src/index.ts @@ -17,9 +17,9 @@ // ** All changes to this file may be overwritten. ** import * as v2 from './v2'; -import { StorageControlClient } from './storage_control_client'; +import {StorageControlClient} from './storage_control_client'; -export { v2, StorageControlClient }; -export default { v2, StorageControlClient }; +export {v2, StorageControlClient}; +export default {v2, StorageControlClient}; import * as protos from '../protos/protos'; -export { protos }; +export {protos}; diff --git a/packages/google-storage-control/src/storage_control_client.ts b/packages/google-storage-control/src/storage_control_client.ts index 8807528cc2f4..8c4f670492d8 100644 --- a/packages/google-storage-control/src/storage_control_client.ts +++ b/packages/google-storage-control/src/storage_control_client.ts @@ -15,9 +15,9 @@ // ** This file is automatically generated ** // ** All changes to this file may be overwritten. ** -import { protos } from './'; -import { StorageControlClient as StorageControlInternal } from './v2/storage_control_client'; -import { StorageClient } from './v2/storage_client'; +import {protos} from './'; +import {StorageControlClient as StorageControlInternal} from './v2/storage_control_client'; +import {StorageClient} from './v2/storage_client'; import type * as gax from 'google-gax'; import { Callback, @@ -27,7 +27,7 @@ import { LROperation, Descriptors, } from 'google-gax'; -import { Transform } from 'stream'; +import {Transform} from 'stream'; /** * Options passed to the underlying client. @@ -86,10 +86,10 @@ export class StorageControlClient { batching: {}, }; warn: (code: string, message: string, warnType?: string) => void; - innerApiCalls: { [name: string]: Function }; - pathTemplates: { [name: string]: gax.PathTemplate }; + innerApiCalls: {[name: string]: Function}; + pathTemplates: {[name: string]: gax.PathTemplate}; operationsClient: gax.OperationsClient; - storageControlStub?: Promise<{ [name: string]: Function }>; + storageControlStub?: Promise<{[name: string]: Function}>; /** * @param {object} [StorageControlClientOptions] - Enables user to instantiate clients separately and use those as the subclients. * To have sub-clients with different options, instantiate each client separately. diff --git a/packages/google-storage-control/src/util/ast_utils.ts b/packages/google-storage-control/src/util/ast_utils.ts index 589260ff85a6..2f11b46d4d97 100644 --- a/packages/google-storage-control/src/util/ast_utils.ts +++ b/packages/google-storage-control/src/util/ast_utils.ts @@ -77,7 +77,7 @@ function getOverloadedMethod( let promiseReturnType = ''; if (ts.isUnionTypeNode(node.type)) { const promiseTypeNode = node.type.types.find( - (t) => + t => t.kind === ts.SyntaxKind.TypeReference && t.getText(sourceFile).startsWith('Promise'), ); @@ -97,7 +97,7 @@ function getOverloadedMethod( let callbackType = ''; if (ts.isUnionTypeNode(optionsOrCallbackParam.type)) { const callbackTypeNode = optionsOrCallbackParam.type.types.find( - (t) => + t => t.kind === ts.SyntaxKind.TypeReference && (t.getText(sourceFile).startsWith('Callback') || t.getText(sourceFile).startsWith('PaginationCallback')), @@ -158,7 +158,7 @@ function extract(node: ts.Node, client: string): void { ); let docString = ''; if (commentRanges) { - commentRanges.map((r) => { + commentRanges.map(r => { docString = docString.concat( sourceFile!.getFullText().slice(r.pos, r.end), ); @@ -175,7 +175,7 @@ function extract(node: ts.Node, client: string): void { } } } - ts.forEachChild(node, (childNode) => { + ts.forEachChild(node, childNode => { extract(childNode, client); }); } @@ -190,7 +190,7 @@ function extract(node: ts.Node, client: string): void { * @returns {string} The generated source code for the methods. */ function ast(file: string, client: string): [string, string][] { - const program = ts.createProgram([file], { allowJs: true }); + const program = ts.createProgram([file], {allowJs: true}); sourceFile = program.getSourceFile(file)!; if (!sourceFile) { throw new Error(`Could not find source file: ${file}`); @@ -200,7 +200,7 @@ function ast(file: string, client: string): [string, string][] { extract(sourceFile, client); program.getTypeChecker(); - return foundNodes.map((f) => { + return foundNodes.map(f => { let output = ''; const [name, node] = f; const escapedName = getEscapedText(name); @@ -216,7 +216,7 @@ function ast(file: string, client: string): [string, string][] { } const isStatic = node.modifiers?.some( - (m) => m.kind === ts.SyntaxKind.StaticKeyword, + m => m.kind === ts.SyntaxKind.StaticKeyword, ); if (!isExcludedFunction) { const docString = methodDocstrings.get(functionName); @@ -293,7 +293,7 @@ function ast(file: string, client: string): [string, string][] { `; } else { const hasRequestArg = node.parameters.some( - (p) => getEscapedText(p.name) === 'request', + p => getEscapedText(p.name) === 'request', ); // If there's no 'request' parameter, it's a simple helper method. @@ -356,7 +356,7 @@ export function astHelper(files: string[], clients: string[]) { } } let output = ''; - functions.forEach((source) => { + functions.forEach(source => { output += source; }); return output; @@ -379,7 +379,7 @@ export function parseClientName(client: string) { * @returns {Map} A map of public property names to their full text. */ export function getPropertyDeclarations(file: string): Map { - const program = ts.createProgram([file], { allowJs: true }); + const program = ts.createProgram([file], {allowJs: true}); const sourceFile = program.getSourceFile(file)!; if (!sourceFile) { throw new Error(`Could not find source file: ${file}`); @@ -389,7 +389,7 @@ export function getPropertyDeclarations(file: string): Map { function visit(node: ts.Node) { if (ts.isPropertyDeclaration(node)) { const isPrivate = node.modifiers?.some( - (m) => m.kind === ts.SyntaxKind.PrivateKeyword, + m => m.kind === ts.SyntaxKind.PrivateKeyword, ); if (!isPrivate) { const propertyName = getEscapedText(node.name); diff --git a/packages/google-storage-control/src/util/proto_utils.ts b/packages/google-storage-control/src/util/proto_utils.ts index e7082a00d793..f93343497c35 100644 --- a/packages/google-storage-control/src/util/proto_utils.ts +++ b/packages/google-storage-control/src/util/proto_utils.ts @@ -41,10 +41,10 @@ export function cleanObjectReferences( filePaths: string[], replacements: Replacement[], ): void { - filePaths.forEach((filePath) => { + filePaths.forEach(filePath => { const fullPath = path.join(__dirname, '..', '..', filePath); if (fs.existsSync(fullPath)) { - replacements.forEach(({ pattern, replacement }) => { + replacements.forEach(({pattern, replacement}) => { try { const data = fs.readFileSync(fullPath, 'utf8'); const result = data.replace(pattern, replacement); diff --git a/packages/google-storage-control/src/util/storage_control_utils.ts b/packages/google-storage-control/src/util/storage_control_utils.ts index e0cbae28a887..0924c65f206f 100644 --- a/packages/google-storage-control/src/util/storage_control_utils.ts +++ b/packages/google-storage-control/src/util/storage_control_utils.ts @@ -18,9 +18,9 @@ import { filesToUpdate, replacements, } from './proto_utils'; -import { buildOutput } from './uber_client_builder'; -import { fixIndexFile, fixV2Index } from './index_fix_utils'; -import { updateSamples, fixDocsHeaders } from './samples_and_doc_fix_utils'; +import {buildOutput} from './uber_client_builder'; +import {fixIndexFile, fixV2Index} from './index_fix_utils'; +import {updateSamples, fixDocsHeaders} from './samples_and_doc_fix_utils'; async function main() { fixIndexFile('src/index.ts'); @@ -29,9 +29,9 @@ async function main() { updateSamples(); fixDocsHeaders(); const finaloutput = await buildOutput(); - fs.writeFile('../storage_control_client.ts', finaloutput, (err) => { + fs.writeFile('../storage_control_client.ts', finaloutput, err => { if (err) throw err; }); } -main().catch((err) => console.error(err)); +main().catch(err => console.error(err)); diff --git a/packages/google-storage-control/src/util/uber_client_builder.ts b/packages/google-storage-control/src/util/uber_client_builder.ts index 318739cc0e22..15eca13cb1e9 100644 --- a/packages/google-storage-control/src/util/uber_client_builder.ts +++ b/packages/google-storage-control/src/util/uber_client_builder.ts @@ -13,11 +13,7 @@ // limitations under the License. import * as prettier from 'prettier'; -import { - astHelper, - parseClientName, - getPropertyDeclarations, -} from './ast_utils'; +import {astHelper, parseClientName, getPropertyDeclarations} from './ast_utils'; export const CLIENTS = ['StorageControlInternal', 'StorageClient']; export const FILES = [ @@ -141,9 +137,9 @@ function buildOptionTypes(clients: string[]) { function buildClientConstructor(clients: string[]) { let variableDecl = ''; const comment = `\t/** - \* @param {object} [StorageControlClientOptions] - Enables user to instantiate clients separately and use those as the subclients. - \* To have sub-clients with different options, instantiate each client separately. - \*/`; + * @param {object} [StorageControlClientOptions] - Enables user to instantiate clients separately and use those as the subclients. + * To have sub-clients with different options, instantiate each client separately. + */`; let constructorInitializers = `\tconstructor(options?: StorageControlClientOptions){ options = options || {};\n`; let clientCounter = 0; @@ -174,7 +170,7 @@ function buildClientConstructor(clients: string[]) { }); constructorInitializers = constructorInitializers.concat('\t}'); let output = 'export class StorageControlClient{\n'; - properties.forEach((property) => { + properties.forEach(property => { variableDecl = variableDecl.concat(property); }); output = output.concat( diff --git a/packages/google-storage-control/src/v2/index.ts b/packages/google-storage-control/src/v2/index.ts index fd30edff11a1..58c2e508c0c0 100644 --- a/packages/google-storage-control/src/v2/index.ts +++ b/packages/google-storage-control/src/v2/index.ts @@ -16,6 +16,6 @@ // ** https://github.com/googleapis/gapic-generator-typescript ** // ** All changes to this file may be overwritten. ** -export { StorageControlClient } from './storage_control_client'; +export {StorageControlClient} from './storage_control_client'; -export { StorageClient } from './storage_client'; +export {StorageClient} from './storage_client'; diff --git a/packages/google-storage-control/src/v2/storage_client.ts b/packages/google-storage-control/src/v2/storage_client.ts index 253ee5d76a93..1ae3c0138a25 100644 --- a/packages/google-storage-control/src/v2/storage_client.ts +++ b/packages/google-storage-control/src/v2/storage_client.ts @@ -26,10 +26,10 @@ import type { PaginationCallback, GaxCall, } from 'google-gax'; -import { Transform } from 'stream'; +import {Transform} from 'stream'; import * as protos from '../../protos/protos'; import jsonProtos = require('../../protos/protos.json'); -import { loggingUtils as logging, decodeAnyProtosInArray } from 'google-gax'; +import {loggingUtils as logging, decodeAnyProtosInArray} from 'google-gax'; /** * Client JSON configuration object, loaded from @@ -77,7 +77,7 @@ export class StorageClient { private _gaxModule: typeof gax | typeof gax.fallback; private _gaxGrpc: gax.GrpcClient | gax.fallback.GrpcClient; private _protos: {}; - private _defaults: { [method: string]: gax.CallSettings }; + private _defaults: {[method: string]: gax.CallSettings}; private _universeDomain: string; private _servicePath: string; private _log = logging.log('storage'); @@ -90,9 +90,9 @@ export class StorageClient { batching: {}, }; warn: (code: string, message: string, warnType?: string) => void; - innerApiCalls: { [name: string]: Function }; - pathTemplates: { [name: string]: gax.PathTemplate }; - storageStub?: Promise<{ [name: string]: Function }>; + innerApiCalls: {[name: string]: Function}; + pathTemplates: {[name: string]: gax.PathTemplate}; + storageStub?: Promise<{[name: string]: Function}>; /** * Construct an instance of StorageClient. @@ -168,7 +168,7 @@ export class StorageClient { const fallback = opts?.fallback ?? (typeof window !== 'undefined' && typeof window?.fetch === 'function'); - opts = Object.assign({ servicePath, port, clientConfig, fallback }, opts); + opts = Object.assign({servicePath, port, clientConfig, fallback}, opts); // Request numeric enum values if REST transport is used. opts.numericEnums = true; @@ -255,7 +255,7 @@ export class StorageClient { 'google.storage.v2.Storage', gapicConfig as gax.ClientConfig, opts.clientConfig || {}, - { 'x-goog-api-client': clientHeader.join(' ') }, + {'x-goog-api-client': clientHeader.join(' ')}, ); // Set up a dictionary of "inner API calls"; the core implementation @@ -295,7 +295,7 @@ export class StorageClient { (this._protos as any).google.storage.v2.Storage, this._opts, this._providedCustomServicePath, - ) as Promise<{ [method: string]: Function }>; + ) as Promise<{[method: string]: Function}>; // Iterate over each of the methods that the service provides // and create an API call method for each. @@ -309,7 +309,7 @@ export class StorageClient { ]; for (const methodName of storageStubMethods) { const callPromise = this.storageStub.then( - (stub) => + stub => (...args: Array<{}>) => { if (this._terminated) { return Promise.reject('The client has already been closed.'); @@ -536,13 +536,13 @@ export class StorageClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, { bucket: parameterValue }); + Object.assign(routingParameter, {bucket: parameterValue}); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch((err) => { + this.initialize().catch(err => { throw err; }); this._log.info('deleteBucket request %j', request); @@ -689,13 +689,13 @@ export class StorageClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, { bucket: parameterValue }); + Object.assign(routingParameter, {bucket: parameterValue}); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch((err) => { + this.initialize().catch(err => { throw err; }); this._log.info('getBucket request %j', request); @@ -858,7 +858,7 @@ export class StorageClient { .match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['project'] ?? fieldValue; - Object.assign(routingParameter, { project: parameterValue }); + Object.assign(routingParameter, {project: parameterValue}); } } } @@ -870,13 +870,13 @@ export class StorageClient { .match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['project'] ?? fieldValue; - Object.assign(routingParameter, { project: parameterValue }); + Object.assign(routingParameter, {project: parameterValue}); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch((err) => { + this.initialize().catch(err => { throw err; }); this._log.info('createBucket request %j', request); @@ -1032,13 +1032,13 @@ export class StorageClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, { bucket: parameterValue }); + Object.assign(routingParameter, {bucket: parameterValue}); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch((err) => { + this.initialize().catch(err => { throw err; }); this._log.info('lockBucketRetentionPolicy request %j', request); @@ -1206,13 +1206,13 @@ export class StorageClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, { bucket: parameterValue }); + Object.assign(routingParameter, {bucket: parameterValue}); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch((err) => { + this.initialize().catch(err => { throw err; }); this._log.info('updateBucket request %j', request); @@ -1373,13 +1373,13 @@ export class StorageClient { .match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['project'] ?? fieldValue; - Object.assign(routingParameter, { project: parameterValue }); + Object.assign(routingParameter, {project: parameterValue}); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch((err) => { + this.initialize().catch(err => { throw err; }); const wrappedCallback: @@ -1461,7 +1461,7 @@ export class StorageClient { .match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['project'] ?? fieldValue; - Object.assign(routingParameter, { project: parameterValue }); + Object.assign(routingParameter, {project: parameterValue}); } } } @@ -1469,7 +1469,7 @@ export class StorageClient { this._gaxModule.routingHeader.fromParams(routingParameter); const defaultCallSettings = this._defaults['listBuckets']; const callSettings = defaultCallSettings.merge(options); - this.initialize().catch((err) => { + this.initialize().catch(err => { throw err; }); this._log.info('listBuckets stream %j', request); @@ -1535,7 +1535,7 @@ export class StorageClient { .match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['project'] ?? fieldValue; - Object.assign(routingParameter, { project: parameterValue }); + Object.assign(routingParameter, {project: parameterValue}); } } } @@ -1543,7 +1543,7 @@ export class StorageClient { this._gaxModule.routingHeader.fromParams(routingParameter); const defaultCallSettings = this._defaults['listBuckets']; const callSettings = defaultCallSettings.merge(options); - this.initialize().catch((err) => { + this.initialize().catch(err => { throw err; }); this._log.info('listBuckets iterate %j', request); @@ -1695,7 +1695,7 @@ export class StorageClient { */ close(): Promise { if (this.storageStub && !this._terminated) { - return this.storageStub.then((stub) => { + return this.storageStub.then(stub => { this._log.info('ending gRPC channel'); this._terminated = true; stub.close(); diff --git a/packages/google-storage-control/src/v2/storage_control_client.ts b/packages/google-storage-control/src/v2/storage_control_client.ts index b98859b00fbc..4e1b43a82325 100644 --- a/packages/google-storage-control/src/v2/storage_control_client.ts +++ b/packages/google-storage-control/src/v2/storage_control_client.ts @@ -28,10 +28,10 @@ import type { PaginationCallback, GaxCall, } from 'google-gax'; -import { Transform } from 'stream'; +import {Transform} from 'stream'; import * as protos from '../../protos/protos'; import jsonProtos = require('../../protos/protos.json'); -import { loggingUtils as logging, decodeAnyProtosInArray } from 'google-gax'; +import {loggingUtils as logging, decodeAnyProtosInArray} from 'google-gax'; /** * Client JSON configuration object, loaded from @@ -54,7 +54,7 @@ export class StorageControlClient { private _gaxModule: typeof gax | typeof gax.fallback; private _gaxGrpc: gax.GrpcClient | gax.fallback.GrpcClient; private _protos: {}; - private _defaults: { [method: string]: gax.CallSettings }; + private _defaults: {[method: string]: gax.CallSettings}; private _universeDomain: string; private _servicePath: string; private _log = logging.log('storage-control'); @@ -67,10 +67,10 @@ export class StorageControlClient { batching: {}, }; warn: (code: string, message: string, warnType?: string) => void; - innerApiCalls: { [name: string]: Function }; - pathTemplates: { [name: string]: gax.PathTemplate }; + innerApiCalls: {[name: string]: Function}; + pathTemplates: {[name: string]: gax.PathTemplate}; operationsClient: gax.OperationsClient; - storageControlStub?: Promise<{ [name: string]: Function }>; + storageControlStub?: Promise<{[name: string]: Function}>; /** * Construct an instance of StorageControlClient. @@ -146,7 +146,7 @@ export class StorageControlClient { const fallback = opts?.fallback ?? (typeof window !== 'undefined' && typeof window?.fetch === 'function'); - opts = Object.assign({ servicePath, port, clientConfig, fallback }, opts); + opts = Object.assign({servicePath, port, clientConfig, fallback}, opts); // Request numeric enum values if REST transport is used. opts.numericEnums = true; @@ -331,7 +331,7 @@ export class StorageControlClient { 'google.storage.control.v2.StorageControl', gapicConfig as gax.ClientConfig, opts.clientConfig || {}, - { 'x-goog-api-client': clientHeader.join(' ') }, + {'x-goog-api-client': clientHeader.join(' ')}, ); // Set up a dictionary of "inner API calls"; the core implementation @@ -371,7 +371,7 @@ export class StorageControlClient { (this._protos as any).google.storage.control.v2.StorageControl, this._opts, this._providedCustomServicePath, - ) as Promise<{ [method: string]: Function }>; + ) as Promise<{[method: string]: Function}>; // Iterate over each of the methods that the service provides // and create an API call method for each. @@ -406,7 +406,7 @@ export class StorageControlClient { ]; for (const methodName of storageControlStubMethods) { const callPromise = this.storageControlStub.then( - (stub) => + stub => (...args: Array<{}>) => { if (this._terminated) { return Promise.reject('The client has already been closed.'); @@ -632,13 +632,13 @@ export class StorageControlClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, { bucket: parameterValue }); + Object.assign(routingParameter, {bucket: parameterValue}); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch((err) => { + this.initialize().catch(err => { throw err; }); this._log.info('createFolder request %j', request); @@ -785,13 +785,13 @@ export class StorageControlClient { .match(RegExp('(?projects/[^/]+/buckets/[^/]+)(?:/.*)?')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, { bucket: parameterValue }); + Object.assign(routingParameter, {bucket: parameterValue}); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch((err) => { + this.initialize().catch(err => { throw err; }); this._log.info('deleteFolder request %j', request); @@ -936,13 +936,13 @@ export class StorageControlClient { .match(RegExp('(?projects/[^/]+/buckets/[^/]+)(?:/.*)?')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, { bucket: parameterValue }); + Object.assign(routingParameter, {bucket: parameterValue}); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch((err) => { + this.initialize().catch(err => { throw err; }); this._log.info('getFolder request %j', request); @@ -1089,13 +1089,13 @@ export class StorageControlClient { .match(RegExp('(?projects/[^/]+/buckets/[^/]+)(?:/.*)?')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, { bucket: parameterValue }); + Object.assign(routingParameter, {bucket: parameterValue}); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch((err) => { + this.initialize().catch(err => { throw err; }); this._log.info('getStorageLayout request %j', request); @@ -1246,13 +1246,13 @@ export class StorageControlClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, { bucket: parameterValue }); + Object.assign(routingParameter, {bucket: parameterValue}); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch((err) => { + this.initialize().catch(err => { throw err; }); this._log.info('createManagedFolder request %j', request); @@ -1413,13 +1413,13 @@ export class StorageControlClient { .match(RegExp('(?projects/[^/]+/buckets/[^/]+)(?:/.*)?')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, { bucket: parameterValue }); + Object.assign(routingParameter, {bucket: parameterValue}); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch((err) => { + this.initialize().catch(err => { throw err; }); this._log.info('deleteManagedFolder request %j', request); @@ -1575,13 +1575,13 @@ export class StorageControlClient { .match(RegExp('(?projects/[^/]+/buckets/[^/]+)(?:/.*)?')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, { bucket: parameterValue }); + Object.assign(routingParameter, {bucket: parameterValue}); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch((err) => { + this.initialize().catch(err => { throw err; }); this._log.info('getManagedFolder request %j', request); @@ -1731,13 +1731,13 @@ export class StorageControlClient { .match(RegExp('(?projects/[^/]+/buckets/[^/]+)(?:/.*)?')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, { bucket: parameterValue }); + Object.assign(routingParameter, {bucket: parameterValue}); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch((err) => { + this.initialize().catch(err => { throw err; }); this._log.info('disableAnywhereCache request %j', request); @@ -1887,13 +1887,13 @@ export class StorageControlClient { .match(RegExp('(?projects/[^/]+/buckets/[^/]+)(?:/.*)?')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, { bucket: parameterValue }); + Object.assign(routingParameter, {bucket: parameterValue}); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch((err) => { + this.initialize().catch(err => { throw err; }); this._log.info('pauseAnywhereCache request %j', request); @@ -2043,13 +2043,13 @@ export class StorageControlClient { .match(RegExp('(?projects/[^/]+/buckets/[^/]+)(?:/.*)?')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, { bucket: parameterValue }); + Object.assign(routingParameter, {bucket: parameterValue}); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch((err) => { + this.initialize().catch(err => { throw err; }); this._log.info('resumeAnywhereCache request %j', request); @@ -2198,13 +2198,13 @@ export class StorageControlClient { .match(RegExp('(?projects/[^/]+/buckets/[^/]+)(?:/.*)?')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, { bucket: parameterValue }); + Object.assign(routingParameter, {bucket: parameterValue}); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch((err) => { + this.initialize().catch(err => { throw err; }); this._log.info('getAnywhereCache request %j', request); @@ -2347,7 +2347,7 @@ export class StorageControlClient { this._gaxModule.routingHeader.fromParams({ name: request.name ?? '', }); - this.initialize().catch((err) => { + this.initialize().catch(err => { throw err; }); this._log.info('getProjectIntelligenceConfig request %j', request); @@ -2497,7 +2497,7 @@ export class StorageControlClient { this._gaxModule.routingHeader.fromParams({ 'intelligence_config.name': request.intelligenceConfig!.name ?? '', }); - this.initialize().catch((err) => { + this.initialize().catch(err => { throw err; }); this._log.info('updateProjectIntelligenceConfig request %j', request); @@ -2649,7 +2649,7 @@ export class StorageControlClient { this._gaxModule.routingHeader.fromParams({ name: request.name ?? '', }); - this.initialize().catch((err) => { + this.initialize().catch(err => { throw err; }); this._log.info('getFolderIntelligenceConfig request %j', request); @@ -2799,7 +2799,7 @@ export class StorageControlClient { this._gaxModule.routingHeader.fromParams({ 'intelligence_config.name': request.intelligenceConfig!.name ?? '', }); - this.initialize().catch((err) => { + this.initialize().catch(err => { throw err; }); this._log.info('updateFolderIntelligenceConfig request %j', request); @@ -2951,7 +2951,7 @@ export class StorageControlClient { this._gaxModule.routingHeader.fromParams({ name: request.name ?? '', }); - this.initialize().catch((err) => { + this.initialize().catch(err => { throw err; }); this._log.info('getOrganizationIntelligenceConfig request %j', request); @@ -3107,7 +3107,7 @@ export class StorageControlClient { this._gaxModule.routingHeader.fromParams({ 'intelligence_config.name': request.intelligenceConfig!.name ?? '', }); - this.initialize().catch((err) => { + this.initialize().catch(err => { throw err; }); this._log.info('updateOrganizationIntelligenceConfig request %j', request); @@ -3253,7 +3253,7 @@ export class StorageControlClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, { bucket: parameterValue }); + Object.assign(routingParameter, {bucket: parameterValue}); } } } @@ -3265,13 +3265,13 @@ export class StorageControlClient { .match(RegExp('(?projects/[^/]+/buckets/[^/]+)(?:/.*)?')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, { bucket: parameterValue }); + Object.assign(routingParameter, {bucket: parameterValue}); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch((err) => { + this.initialize().catch(err => { throw err; }); this._log.info('getIamPolicy request %j', request); @@ -3414,7 +3414,7 @@ export class StorageControlClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, { bucket: parameterValue }); + Object.assign(routingParameter, {bucket: parameterValue}); } } } @@ -3426,13 +3426,13 @@ export class StorageControlClient { .match(RegExp('(?projects/[^/]+/buckets/[^/]+)(?:/.*)?')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, { bucket: parameterValue }); + Object.assign(routingParameter, {bucket: parameterValue}); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch((err) => { + this.initialize().catch(err => { throw err; }); this._log.info('setIamPolicy request %j', request); @@ -3571,7 +3571,7 @@ export class StorageControlClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, { bucket: parameterValue }); + Object.assign(routingParameter, {bucket: parameterValue}); } } } @@ -3585,7 +3585,7 @@ export class StorageControlClient { ); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, { bucket: parameterValue }); + Object.assign(routingParameter, {bucket: parameterValue}); } } } @@ -3601,13 +3601,13 @@ export class StorageControlClient { ); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, { bucket: parameterValue }); + Object.assign(routingParameter, {bucket: parameterValue}); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch((err) => { + this.initialize().catch(err => { throw err; }); this._log.info('testIamPermissions request %j', request); @@ -3776,13 +3776,13 @@ export class StorageControlClient { .match(RegExp('(?projects/[^/]+/buckets/[^/]+)(?:/.*)?')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, { bucket: parameterValue }); + Object.assign(routingParameter, {bucket: parameterValue}); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch((err) => { + this.initialize().catch(err => { throw err; }); const wrappedCallback: @@ -3839,7 +3839,7 @@ export class StorageControlClient { this._log.info('renameFolder long-running'); const request = new this._gaxModule.operationsProtos.google.longrunning.GetOperationRequest( - { name }, + {name}, ); const [operation] = await this.operationsClient.getOperation(request); const decodeOperation = new this._gaxModule.Operation( @@ -3971,13 +3971,13 @@ export class StorageControlClient { .match(RegExp('(?projects/[^/]+/buckets/[^/]+)(?:/.*)?')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, { bucket: parameterValue }); + Object.assign(routingParameter, {bucket: parameterValue}); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch((err) => { + this.initialize().catch(err => { throw err; }); const wrappedCallback: @@ -4034,7 +4034,7 @@ export class StorageControlClient { this._log.info('deleteFolderRecursive long-running'); const request = new this._gaxModule.operationsProtos.google.longrunning.GetOperationRequest( - { name }, + {name}, ); const [operation] = await this.operationsClient.getOperation(request); const decodeOperation = new this._gaxModule.Operation( @@ -4162,13 +4162,13 @@ export class StorageControlClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, { bucket: parameterValue }); + Object.assign(routingParameter, {bucket: parameterValue}); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch((err) => { + this.initialize().catch(err => { throw err; }); const wrappedCallback: @@ -4225,7 +4225,7 @@ export class StorageControlClient { this._log.info('createAnywhereCache long-running'); const request = new this._gaxModule.operationsProtos.google.longrunning.GetOperationRequest( - { name }, + {name}, ); const [operation] = await this.operationsClient.getOperation(request); const decodeOperation = new this._gaxModule.Operation( @@ -4360,13 +4360,13 @@ export class StorageControlClient { .match(RegExp('(?projects/[^/]+/buckets/[^/]+)(?:/.*)?')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, { bucket: parameterValue }); + Object.assign(routingParameter, {bucket: parameterValue}); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch((err) => { + this.initialize().catch(err => { throw err; }); const wrappedCallback: @@ -4423,7 +4423,7 @@ export class StorageControlClient { this._log.info('updateAnywhereCache long-running'); const request = new this._gaxModule.operationsProtos.google.longrunning.GetOperationRequest( - { name }, + {name}, ); const [operation] = await this.operationsClient.getOperation(request); const decodeOperation = new this._gaxModule.Operation( @@ -4551,13 +4551,13 @@ export class StorageControlClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, { bucket: parameterValue }); + Object.assign(routingParameter, {bucket: parameterValue}); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch((err) => { + this.initialize().catch(err => { throw err; }); const wrappedCallback: @@ -4648,7 +4648,7 @@ export class StorageControlClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, { bucket: parameterValue }); + Object.assign(routingParameter, {bucket: parameterValue}); } } } @@ -4656,7 +4656,7 @@ export class StorageControlClient { this._gaxModule.routingHeader.fromParams(routingParameter); const defaultCallSettings = this._defaults['listFolders']; const callSettings = defaultCallSettings.merge(options); - this.initialize().catch((err) => { + this.initialize().catch(err => { throw err; }); this._log.info('listFolders stream %j', request); @@ -4729,7 +4729,7 @@ export class StorageControlClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, { bucket: parameterValue }); + Object.assign(routingParameter, {bucket: parameterValue}); } } } @@ -4737,7 +4737,7 @@ export class StorageControlClient { this._gaxModule.routingHeader.fromParams(routingParameter); const defaultCallSettings = this._defaults['listFolders']; const callSettings = defaultCallSettings.merge(options); - this.initialize().catch((err) => { + this.initialize().catch(err => { throw err; }); this._log.info('listFolders iterate %j', request); @@ -4855,13 +4855,13 @@ export class StorageControlClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, { bucket: parameterValue }); + Object.assign(routingParameter, {bucket: parameterValue}); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch((err) => { + this.initialize().catch(err => { throw err; }); const wrappedCallback: @@ -4940,7 +4940,7 @@ export class StorageControlClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, { bucket: parameterValue }); + Object.assign(routingParameter, {bucket: parameterValue}); } } } @@ -4948,7 +4948,7 @@ export class StorageControlClient { this._gaxModule.routingHeader.fromParams(routingParameter); const defaultCallSettings = this._defaults['listManagedFolders']; const callSettings = defaultCallSettings.merge(options); - this.initialize().catch((err) => { + this.initialize().catch(err => { throw err; }); this._log.info('listManagedFolders stream %j', request); @@ -5009,7 +5009,7 @@ export class StorageControlClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, { bucket: parameterValue }); + Object.assign(routingParameter, {bucket: parameterValue}); } } } @@ -5017,7 +5017,7 @@ export class StorageControlClient { this._gaxModule.routingHeader.fromParams(routingParameter); const defaultCallSettings = this._defaults['listManagedFolders']; const callSettings = defaultCallSettings.merge(options); - this.initialize().catch((err) => { + this.initialize().catch(err => { throw err; }); this._log.info('listManagedFolders iterate %j', request); @@ -5132,13 +5132,13 @@ export class StorageControlClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, { bucket: parameterValue }); + Object.assign(routingParameter, {bucket: parameterValue}); } } } options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams(routingParameter); - this.initialize().catch((err) => { + this.initialize().catch(err => { throw err; }); const wrappedCallback: @@ -5214,7 +5214,7 @@ export class StorageControlClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, { bucket: parameterValue }); + Object.assign(routingParameter, {bucket: parameterValue}); } } } @@ -5222,7 +5222,7 @@ export class StorageControlClient { this._gaxModule.routingHeader.fromParams(routingParameter); const defaultCallSettings = this._defaults['listAnywhereCaches']; const callSettings = defaultCallSettings.merge(options); - this.initialize().catch((err) => { + this.initialize().catch(err => { throw err; }); this._log.info('listAnywhereCaches stream %j', request); @@ -5280,7 +5280,7 @@ export class StorageControlClient { const match = fieldValue.toString().match(RegExp('(?(?:.*)?)')); if (match) { const parameterValue = match.groups?.['bucket'] ?? fieldValue; - Object.assign(routingParameter, { bucket: parameterValue }); + Object.assign(routingParameter, {bucket: parameterValue}); } } } @@ -5288,7 +5288,7 @@ export class StorageControlClient { this._gaxModule.routingHeader.fromParams(routingParameter); const defaultCallSettings = this._defaults['listAnywhereCaches']; const callSettings = defaultCallSettings.merge(options); - this.initialize().catch((err) => { + this.initialize().catch(err => { throw err; }); this._log.info('listAnywhereCaches iterate %j', request); @@ -5920,7 +5920,7 @@ export class StorageControlClient { */ close(): Promise { if (this.storageControlStub && !this._terminated) { - return this.storageControlStub.then((stub) => { + return this.storageControlStub.then(stub => { this._log.info('ending gRPC channel'); this._terminated = true; stub.close(); diff --git a/packages/google-storage-control/test/gapic_storage_control_v2.ts b/packages/google-storage-control/test/gapic_storage_control_v2.ts index f0b1d1c358d7..6bee211bf76d 100644 --- a/packages/google-storage-control/test/gapic_storage_control_v2.ts +++ b/packages/google-storage-control/test/gapic_storage_control_v2.ts @@ -19,13 +19,13 @@ import * as protos from '../protos/protos'; import * as assert from 'assert'; import * as sinon from 'sinon'; -import { SinonStub } from 'sinon'; -import { describe, it } from 'mocha'; +import {SinonStub} from 'sinon'; +import {describe, it} from 'mocha'; import * as storagecontrolModule from '../src'; -import { PassThrough } from 'stream'; +import {PassThrough} from 'stream'; -import { protobuf, LROperation, operationsProtos } from 'google-gax'; +import {protobuf, LROperation, operationsProtos} from 'google-gax'; // Dynamically loaded proto JSON is needed to get the type information // to fill in default values for request objects @@ -45,7 +45,7 @@ function getTypeDefaultValue(typeName: string, fields: string[]) { function generateSampleMessage(instance: T) { const filledObject = ( instance.constructor as typeof protobuf.Message - ).toObject(instance as protobuf.Message, { defaults: true }); + ).toObject(instance as protobuf.Message, {defaults: true}); return (instance.constructor as typeof protobuf.Message).fromObject( filledObject, ) as T; @@ -149,9 +149,9 @@ function stubAsyncIterationCall( return Promise.reject(error); } if (counter >= responses!.length) { - return Promise.resolve({ done: true, value: undefined }); + return Promise.resolve({done: true, value: undefined}); } - return Promise.resolve({ done: false, value: responses![counter++] }); + return Promise.resolve({done: false, value: responses![counter++]}); }, }; }, @@ -271,7 +271,7 @@ describe('v2.StorageControlClient', () => { it('has initialize method and supports deferred initialization', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); assert.strictEqual(client.storageControlStub, undefined); @@ -279,12 +279,12 @@ describe('v2.StorageControlClient', () => { assert(client.storageControlStub); }); - it('has close method for the initialized client', (done) => { + it('has close method for the initialized client', done => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); - client.initialize().catch((err) => { + client.initialize().catch(err => { throw err; }); assert(client.storageControlStub); @@ -293,14 +293,14 @@ describe('v2.StorageControlClient', () => { .then(() => { done(); }) - .catch((err) => { + .catch(err => { throw err; }); }); - it('has close method for the non-initialized client', (done) => { + it('has close method for the non-initialized client', done => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); assert.strictEqual(client.storageControlStub, undefined); @@ -309,7 +309,7 @@ describe('v2.StorageControlClient', () => { .then(() => { done(); }) - .catch((err) => { + .catch(err => { throw err; }); }); @@ -317,7 +317,7 @@ describe('v2.StorageControlClient', () => { it('has getProjectId method', async () => { const fakeProjectId = 'fake-project-id'; const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); client.auth.getProjectId = sinon.stub().resolves(fakeProjectId); @@ -329,7 +329,7 @@ describe('v2.StorageControlClient', () => { it('has getProjectId method with callback', async () => { const fakeProjectId = 'fake-project-id'; const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); client.auth.getProjectId = sinon @@ -352,7 +352,7 @@ describe('v2.StorageControlClient', () => { describe('createFolder', () => { it('invokes createFolder without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -385,7 +385,7 @@ describe('v2.StorageControlClient', () => { it('invokes createFolder without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -434,7 +434,7 @@ describe('v2.StorageControlClient', () => { it('invokes createFolder with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -467,7 +467,7 @@ describe('v2.StorageControlClient', () => { it('invokes createFolder with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -477,7 +477,7 @@ describe('v2.StorageControlClient', () => { // path template: {bucket=**} request.parent = 'value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch((err) => { + client.close().catch(err => { throw err; }); await assert.rejects(client.createFolder(request), expectedError); @@ -487,7 +487,7 @@ describe('v2.StorageControlClient', () => { describe('deleteFolder', () => { it('invokes deleteFolder without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -521,7 +521,7 @@ describe('v2.StorageControlClient', () => { it('invokes deleteFolder without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -571,7 +571,7 @@ describe('v2.StorageControlClient', () => { it('invokes deleteFolder with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -605,7 +605,7 @@ describe('v2.StorageControlClient', () => { it('invokes deleteFolder with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -615,7 +615,7 @@ describe('v2.StorageControlClient', () => { // path template: {bucket=projects/*/buckets/*}/** request.name = 'projects/value/buckets/value/value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch((err) => { + client.close().catch(err => { throw err; }); await assert.rejects(client.deleteFolder(request), expectedError); @@ -625,7 +625,7 @@ describe('v2.StorageControlClient', () => { describe('getFolder', () => { it('invokes getFolder without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -659,7 +659,7 @@ describe('v2.StorageControlClient', () => { it('invokes getFolder without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -709,7 +709,7 @@ describe('v2.StorageControlClient', () => { it('invokes getFolder with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -740,7 +740,7 @@ describe('v2.StorageControlClient', () => { it('invokes getFolder with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -750,7 +750,7 @@ describe('v2.StorageControlClient', () => { // path template: {bucket=projects/*/buckets/*}/** request.name = 'projects/value/buckets/value/value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch((err) => { + client.close().catch(err => { throw err; }); await assert.rejects(client.getFolder(request), expectedError); @@ -760,7 +760,7 @@ describe('v2.StorageControlClient', () => { describe('getStorageLayout', () => { it('invokes getStorageLayout without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -794,7 +794,7 @@ describe('v2.StorageControlClient', () => { it('invokes getStorageLayout without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -844,7 +844,7 @@ describe('v2.StorageControlClient', () => { it('invokes getStorageLayout with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -878,7 +878,7 @@ describe('v2.StorageControlClient', () => { it('invokes getStorageLayout with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -888,7 +888,7 @@ describe('v2.StorageControlClient', () => { // path template: {bucket=projects/*/buckets/*}/** request.name = 'projects/value/buckets/value/value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch((err) => { + client.close().catch(err => { throw err; }); await assert.rejects(client.getStorageLayout(request), expectedError); @@ -898,7 +898,7 @@ describe('v2.StorageControlClient', () => { describe('createManagedFolder', () => { it('invokes createManagedFolder without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -932,7 +932,7 @@ describe('v2.StorageControlClient', () => { it('invokes createManagedFolder without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -981,7 +981,7 @@ describe('v2.StorageControlClient', () => { it('invokes createManagedFolder with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -1014,7 +1014,7 @@ describe('v2.StorageControlClient', () => { it('invokes createManagedFolder with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -1024,7 +1024,7 @@ describe('v2.StorageControlClient', () => { // path template: {bucket=**} request.parent = 'value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch((err) => { + client.close().catch(err => { throw err; }); await assert.rejects(client.createManagedFolder(request), expectedError); @@ -1034,7 +1034,7 @@ describe('v2.StorageControlClient', () => { describe('deleteManagedFolder', () => { it('invokes deleteManagedFolder without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -1069,7 +1069,7 @@ describe('v2.StorageControlClient', () => { it('invokes deleteManagedFolder without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -1119,7 +1119,7 @@ describe('v2.StorageControlClient', () => { it('invokes deleteManagedFolder with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -1153,7 +1153,7 @@ describe('v2.StorageControlClient', () => { it('invokes deleteManagedFolder with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -1163,7 +1163,7 @@ describe('v2.StorageControlClient', () => { // path template: {bucket=projects/*/buckets/*}/** request.name = 'projects/value/buckets/value/value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch((err) => { + client.close().catch(err => { throw err; }); await assert.rejects(client.deleteManagedFolder(request), expectedError); @@ -1173,7 +1173,7 @@ describe('v2.StorageControlClient', () => { describe('getManagedFolder', () => { it('invokes getManagedFolder without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -1207,7 +1207,7 @@ describe('v2.StorageControlClient', () => { it('invokes getManagedFolder without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -1257,7 +1257,7 @@ describe('v2.StorageControlClient', () => { it('invokes getManagedFolder with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -1291,7 +1291,7 @@ describe('v2.StorageControlClient', () => { it('invokes getManagedFolder with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -1301,7 +1301,7 @@ describe('v2.StorageControlClient', () => { // path template: {bucket=projects/*/buckets/*}/** request.name = 'projects/value/buckets/value/value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch((err) => { + client.close().catch(err => { throw err; }); await assert.rejects(client.getManagedFolder(request), expectedError); @@ -1311,7 +1311,7 @@ describe('v2.StorageControlClient', () => { describe('disableAnywhereCache', () => { it('invokes disableAnywhereCache without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -1346,7 +1346,7 @@ describe('v2.StorageControlClient', () => { it('invokes disableAnywhereCache without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -1396,7 +1396,7 @@ describe('v2.StorageControlClient', () => { it('invokes disableAnywhereCache with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -1430,7 +1430,7 @@ describe('v2.StorageControlClient', () => { it('invokes disableAnywhereCache with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -1440,7 +1440,7 @@ describe('v2.StorageControlClient', () => { // path template: {bucket=projects/*/buckets/*}/** request.name = 'projects/value/buckets/value/value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch((err) => { + client.close().catch(err => { throw err; }); await assert.rejects(client.disableAnywhereCache(request), expectedError); @@ -1450,7 +1450,7 @@ describe('v2.StorageControlClient', () => { describe('pauseAnywhereCache', () => { it('invokes pauseAnywhereCache without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -1485,7 +1485,7 @@ describe('v2.StorageControlClient', () => { it('invokes pauseAnywhereCache without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -1535,7 +1535,7 @@ describe('v2.StorageControlClient', () => { it('invokes pauseAnywhereCache with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -1569,7 +1569,7 @@ describe('v2.StorageControlClient', () => { it('invokes pauseAnywhereCache with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -1579,7 +1579,7 @@ describe('v2.StorageControlClient', () => { // path template: {bucket=projects/*/buckets/*}/** request.name = 'projects/value/buckets/value/value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch((err) => { + client.close().catch(err => { throw err; }); await assert.rejects(client.pauseAnywhereCache(request), expectedError); @@ -1589,7 +1589,7 @@ describe('v2.StorageControlClient', () => { describe('resumeAnywhereCache', () => { it('invokes resumeAnywhereCache without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -1624,7 +1624,7 @@ describe('v2.StorageControlClient', () => { it('invokes resumeAnywhereCache without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -1674,7 +1674,7 @@ describe('v2.StorageControlClient', () => { it('invokes resumeAnywhereCache with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -1708,7 +1708,7 @@ describe('v2.StorageControlClient', () => { it('invokes resumeAnywhereCache with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -1718,7 +1718,7 @@ describe('v2.StorageControlClient', () => { // path template: {bucket=projects/*/buckets/*}/** request.name = 'projects/value/buckets/value/value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch((err) => { + client.close().catch(err => { throw err; }); await assert.rejects(client.resumeAnywhereCache(request), expectedError); @@ -1728,7 +1728,7 @@ describe('v2.StorageControlClient', () => { describe('getAnywhereCache', () => { it('invokes getAnywhereCache without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -1762,7 +1762,7 @@ describe('v2.StorageControlClient', () => { it('invokes getAnywhereCache without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -1812,7 +1812,7 @@ describe('v2.StorageControlClient', () => { it('invokes getAnywhereCache with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -1846,7 +1846,7 @@ describe('v2.StorageControlClient', () => { it('invokes getAnywhereCache with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -1856,7 +1856,7 @@ describe('v2.StorageControlClient', () => { // path template: {bucket=projects/*/buckets/*}/** request.name = 'projects/value/buckets/value/value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch((err) => { + client.close().catch(err => { throw err; }); await assert.rejects(client.getAnywhereCache(request), expectedError); @@ -1866,7 +1866,7 @@ describe('v2.StorageControlClient', () => { describe('getProjectIntelligenceConfig', () => { it('invokes getProjectIntelligenceConfig without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -1898,7 +1898,7 @@ describe('v2.StorageControlClient', () => { it('invokes getProjectIntelligenceConfig without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -1945,7 +1945,7 @@ describe('v2.StorageControlClient', () => { it('invokes getProjectIntelligenceConfig with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -1979,7 +1979,7 @@ describe('v2.StorageControlClient', () => { it('invokes getProjectIntelligenceConfig with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -1992,7 +1992,7 @@ describe('v2.StorageControlClient', () => { ); request.name = defaultValue1; const expectedError = new Error('The client has already been closed.'); - client.close().catch((err) => { + client.close().catch(err => { throw err; }); await assert.rejects( @@ -2005,7 +2005,7 @@ describe('v2.StorageControlClient', () => { describe('updateProjectIntelligenceConfig', () => { it('invokes updateProjectIntelligenceConfig without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -2038,7 +2038,7 @@ describe('v2.StorageControlClient', () => { it('invokes updateProjectIntelligenceConfig without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -2086,7 +2086,7 @@ describe('v2.StorageControlClient', () => { it('invokes updateProjectIntelligenceConfig with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -2121,7 +2121,7 @@ describe('v2.StorageControlClient', () => { it('invokes updateProjectIntelligenceConfig with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -2135,7 +2135,7 @@ describe('v2.StorageControlClient', () => { ); request.intelligenceConfig.name = defaultValue1; const expectedError = new Error('The client has already been closed.'); - client.close().catch((err) => { + client.close().catch(err => { throw err; }); await assert.rejects( @@ -2148,7 +2148,7 @@ describe('v2.StorageControlClient', () => { describe('getFolderIntelligenceConfig', () => { it('invokes getFolderIntelligenceConfig without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -2180,7 +2180,7 @@ describe('v2.StorageControlClient', () => { it('invokes getFolderIntelligenceConfig without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -2227,7 +2227,7 @@ describe('v2.StorageControlClient', () => { it('invokes getFolderIntelligenceConfig with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -2261,7 +2261,7 @@ describe('v2.StorageControlClient', () => { it('invokes getFolderIntelligenceConfig with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -2274,7 +2274,7 @@ describe('v2.StorageControlClient', () => { ); request.name = defaultValue1; const expectedError = new Error('The client has already been closed.'); - client.close().catch((err) => { + client.close().catch(err => { throw err; }); await assert.rejects( @@ -2287,7 +2287,7 @@ describe('v2.StorageControlClient', () => { describe('updateFolderIntelligenceConfig', () => { it('invokes updateFolderIntelligenceConfig without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -2320,7 +2320,7 @@ describe('v2.StorageControlClient', () => { it('invokes updateFolderIntelligenceConfig without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -2368,7 +2368,7 @@ describe('v2.StorageControlClient', () => { it('invokes updateFolderIntelligenceConfig with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -2403,7 +2403,7 @@ describe('v2.StorageControlClient', () => { it('invokes updateFolderIntelligenceConfig with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -2417,7 +2417,7 @@ describe('v2.StorageControlClient', () => { ); request.intelligenceConfig.name = defaultValue1; const expectedError = new Error('The client has already been closed.'); - client.close().catch((err) => { + client.close().catch(err => { throw err; }); await assert.rejects( @@ -2430,7 +2430,7 @@ describe('v2.StorageControlClient', () => { describe('getOrganizationIntelligenceConfig', () => { it('invokes getOrganizationIntelligenceConfig without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -2463,7 +2463,7 @@ describe('v2.StorageControlClient', () => { it('invokes getOrganizationIntelligenceConfig without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -2510,7 +2510,7 @@ describe('v2.StorageControlClient', () => { it('invokes getOrganizationIntelligenceConfig with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -2544,7 +2544,7 @@ describe('v2.StorageControlClient', () => { it('invokes getOrganizationIntelligenceConfig with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -2557,7 +2557,7 @@ describe('v2.StorageControlClient', () => { ); request.name = defaultValue1; const expectedError = new Error('The client has already been closed.'); - client.close().catch((err) => { + client.close().catch(err => { throw err; }); await assert.rejects( @@ -2570,7 +2570,7 @@ describe('v2.StorageControlClient', () => { describe('updateOrganizationIntelligenceConfig', () => { it('invokes updateOrganizationIntelligenceConfig without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -2604,7 +2604,7 @@ describe('v2.StorageControlClient', () => { it('invokes updateOrganizationIntelligenceConfig without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -2652,7 +2652,7 @@ describe('v2.StorageControlClient', () => { it('invokes updateOrganizationIntelligenceConfig with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -2685,7 +2685,7 @@ describe('v2.StorageControlClient', () => { it('invokes updateOrganizationIntelligenceConfig with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -2699,7 +2699,7 @@ describe('v2.StorageControlClient', () => { ); request.intelligenceConfig.name = defaultValue1; const expectedError = new Error('The client has already been closed.'); - client.close().catch((err) => { + client.close().catch(err => { throw err; }); await assert.rejects( @@ -2712,7 +2712,7 @@ describe('v2.StorageControlClient', () => { describe('getIamPolicy', () => { it('invokes getIamPolicy without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -2743,7 +2743,7 @@ describe('v2.StorageControlClient', () => { it('invokes getIamPolicy without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -2790,7 +2790,7 @@ describe('v2.StorageControlClient', () => { it('invokes getIamPolicy with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -2821,7 +2821,7 @@ describe('v2.StorageControlClient', () => { it('invokes getIamPolicy with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -2833,7 +2833,7 @@ describe('v2.StorageControlClient', () => { // path template: {bucket=projects/*/buckets/*}/** request.resource = 'projects/value/buckets/value/value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch((err) => { + client.close().catch(err => { throw err; }); await assert.rejects(client.getIamPolicy(request), expectedError); @@ -2843,7 +2843,7 @@ describe('v2.StorageControlClient', () => { describe('setIamPolicy', () => { it('invokes setIamPolicy without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -2874,7 +2874,7 @@ describe('v2.StorageControlClient', () => { it('invokes setIamPolicy without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -2921,7 +2921,7 @@ describe('v2.StorageControlClient', () => { it('invokes setIamPolicy with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -2952,7 +2952,7 @@ describe('v2.StorageControlClient', () => { it('invokes setIamPolicy with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -2964,7 +2964,7 @@ describe('v2.StorageControlClient', () => { // path template: {bucket=projects/*/buckets/*}/** request.resource = 'projects/value/buckets/value/value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch((err) => { + client.close().catch(err => { throw err; }); await assert.rejects(client.setIamPolicy(request), expectedError); @@ -2974,7 +2974,7 @@ describe('v2.StorageControlClient', () => { describe('testIamPermissions', () => { it('invokes testIamPermissions without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -3008,7 +3008,7 @@ describe('v2.StorageControlClient', () => { it('invokes testIamPermissions without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -3057,7 +3057,7 @@ describe('v2.StorageControlClient', () => { it('invokes testIamPermissions with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -3090,7 +3090,7 @@ describe('v2.StorageControlClient', () => { it('invokes testIamPermissions with closed client', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -3104,7 +3104,7 @@ describe('v2.StorageControlClient', () => { // path template: {bucket=projects/*/buckets/*}/managedFolders/** request.resource = 'projects/value/buckets/value/managedFolders/value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch((err) => { + client.close().catch(err => { throw err; }); await assert.rejects(client.testIamPermissions(request), expectedError); @@ -3114,7 +3114,7 @@ describe('v2.StorageControlClient', () => { describe('renameFolder', () => { it('invokes renameFolder without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -3149,7 +3149,7 @@ describe('v2.StorageControlClient', () => { it('invokes renameFolder without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -3206,7 +3206,7 @@ describe('v2.StorageControlClient', () => { it('invokes renameFolder with call error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -3240,7 +3240,7 @@ describe('v2.StorageControlClient', () => { it('invokes renameFolder with LRO error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -3276,7 +3276,7 @@ describe('v2.StorageControlClient', () => { it('invokes checkRenameFolderProgress without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -3284,8 +3284,8 @@ describe('v2.StorageControlClient', () => { new operationsProtos.google.longrunning.Operation(), ); expectedResponse.name = 'test'; - expectedResponse.response = { type_url: 'url', value: Buffer.from('') }; - expectedResponse.metadata = { type_url: 'url', value: Buffer.from('') }; + expectedResponse.response = {type_url: 'url', value: Buffer.from('')}; + expectedResponse.metadata = {type_url: 'url', value: Buffer.from('')}; client.operationsClient.getOperation = stubSimpleCall(expectedResponse); const decodedOperation = await client.checkRenameFolderProgress( @@ -3298,7 +3298,7 @@ describe('v2.StorageControlClient', () => { it('invokes checkRenameFolderProgress with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -3316,7 +3316,7 @@ describe('v2.StorageControlClient', () => { describe('deleteFolderRecursive', () => { it('invokes deleteFolderRecursive without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -3352,7 +3352,7 @@ describe('v2.StorageControlClient', () => { it('invokes deleteFolderRecursive without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -3409,7 +3409,7 @@ describe('v2.StorageControlClient', () => { it('invokes deleteFolderRecursive with call error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -3446,7 +3446,7 @@ describe('v2.StorageControlClient', () => { it('invokes deleteFolderRecursive with LRO error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -3482,7 +3482,7 @@ describe('v2.StorageControlClient', () => { it('invokes checkDeleteFolderRecursiveProgress without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -3490,8 +3490,8 @@ describe('v2.StorageControlClient', () => { new operationsProtos.google.longrunning.Operation(), ); expectedResponse.name = 'test'; - expectedResponse.response = { type_url: 'url', value: Buffer.from('') }; - expectedResponse.metadata = { type_url: 'url', value: Buffer.from('') }; + expectedResponse.response = {type_url: 'url', value: Buffer.from('')}; + expectedResponse.metadata = {type_url: 'url', value: Buffer.from('')}; client.operationsClient.getOperation = stubSimpleCall(expectedResponse); const decodedOperation = await client.checkDeleteFolderRecursiveProgress( @@ -3504,7 +3504,7 @@ describe('v2.StorageControlClient', () => { it('invokes checkDeleteFolderRecursiveProgress with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -3525,7 +3525,7 @@ describe('v2.StorageControlClient', () => { describe('createAnywhereCache', () => { it('invokes createAnywhereCache without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -3560,7 +3560,7 @@ describe('v2.StorageControlClient', () => { it('invokes createAnywhereCache without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -3616,7 +3616,7 @@ describe('v2.StorageControlClient', () => { it('invokes createAnywhereCache with call error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -3649,7 +3649,7 @@ describe('v2.StorageControlClient', () => { it('invokes createAnywhereCache with LRO error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -3684,7 +3684,7 @@ describe('v2.StorageControlClient', () => { it('invokes checkCreateAnywhereCacheProgress without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -3692,8 +3692,8 @@ describe('v2.StorageControlClient', () => { new operationsProtos.google.longrunning.Operation(), ); expectedResponse.name = 'test'; - expectedResponse.response = { type_url: 'url', value: Buffer.from('') }; - expectedResponse.metadata = { type_url: 'url', value: Buffer.from('') }; + expectedResponse.response = {type_url: 'url', value: Buffer.from('')}; + expectedResponse.metadata = {type_url: 'url', value: Buffer.from('')}; client.operationsClient.getOperation = stubSimpleCall(expectedResponse); const decodedOperation = await client.checkCreateAnywhereCacheProgress( @@ -3706,7 +3706,7 @@ describe('v2.StorageControlClient', () => { it('invokes checkCreateAnywhereCacheProgress with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -3727,7 +3727,7 @@ describe('v2.StorageControlClient', () => { describe('updateAnywhereCache', () => { it('invokes updateAnywhereCache without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -3764,7 +3764,7 @@ describe('v2.StorageControlClient', () => { it('invokes updateAnywhereCache without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -3822,7 +3822,7 @@ describe('v2.StorageControlClient', () => { it('invokes updateAnywhereCache with call error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -3857,7 +3857,7 @@ describe('v2.StorageControlClient', () => { it('invokes updateAnywhereCache with LRO error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -3894,7 +3894,7 @@ describe('v2.StorageControlClient', () => { it('invokes checkUpdateAnywhereCacheProgress without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -3902,8 +3902,8 @@ describe('v2.StorageControlClient', () => { new operationsProtos.google.longrunning.Operation(), ); expectedResponse.name = 'test'; - expectedResponse.response = { type_url: 'url', value: Buffer.from('') }; - expectedResponse.metadata = { type_url: 'url', value: Buffer.from('') }; + expectedResponse.response = {type_url: 'url', value: Buffer.from('')}; + expectedResponse.metadata = {type_url: 'url', value: Buffer.from('')}; client.operationsClient.getOperation = stubSimpleCall(expectedResponse); const decodedOperation = await client.checkUpdateAnywhereCacheProgress( @@ -3916,7 +3916,7 @@ describe('v2.StorageControlClient', () => { it('invokes checkUpdateAnywhereCacheProgress with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -3937,7 +3937,7 @@ describe('v2.StorageControlClient', () => { describe('listFolders', () => { it('invokes listFolders without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -3967,7 +3967,7 @@ describe('v2.StorageControlClient', () => { it('invokes listFolders without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -4013,7 +4013,7 @@ describe('v2.StorageControlClient', () => { it('invokes listFolders with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -4041,7 +4041,7 @@ describe('v2.StorageControlClient', () => { it('invokes listFoldersStream without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -4092,7 +4092,7 @@ describe('v2.StorageControlClient', () => { it('invokes listFoldersStream with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -4140,7 +4140,7 @@ describe('v2.StorageControlClient', () => { it('uses async iteration with listFolders without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -4180,7 +4180,7 @@ describe('v2.StorageControlClient', () => { it('uses async iteration with listFolders with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -4221,7 +4221,7 @@ describe('v2.StorageControlClient', () => { describe('listManagedFolders', () => { it('invokes listManagedFolders without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -4263,7 +4263,7 @@ describe('v2.StorageControlClient', () => { it('invokes listManagedFolders without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -4320,7 +4320,7 @@ describe('v2.StorageControlClient', () => { it('invokes listManagedFolders with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -4353,7 +4353,7 @@ describe('v2.StorageControlClient', () => { it('invokes listManagedFoldersStream without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -4410,7 +4410,7 @@ describe('v2.StorageControlClient', () => { it('invokes listManagedFoldersStream with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -4456,7 +4456,7 @@ describe('v2.StorageControlClient', () => { it('uses async iteration with listManagedFolders without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -4508,7 +4508,7 @@ describe('v2.StorageControlClient', () => { it('uses async iteration with listManagedFolders with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -4553,7 +4553,7 @@ describe('v2.StorageControlClient', () => { describe('listAnywhereCaches', () => { it('invokes listAnywhereCaches without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -4595,7 +4595,7 @@ describe('v2.StorageControlClient', () => { it('invokes listAnywhereCaches without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -4652,7 +4652,7 @@ describe('v2.StorageControlClient', () => { it('invokes listAnywhereCaches with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -4685,7 +4685,7 @@ describe('v2.StorageControlClient', () => { it('invokes listAnywhereCachesStream without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -4742,7 +4742,7 @@ describe('v2.StorageControlClient', () => { it('invokes listAnywhereCachesStream with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -4788,7 +4788,7 @@ describe('v2.StorageControlClient', () => { it('uses async iteration with listAnywhereCaches without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -4840,7 +4840,7 @@ describe('v2.StorageControlClient', () => { it('uses async iteration with listAnywhereCaches with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -4884,7 +4884,7 @@ describe('v2.StorageControlClient', () => { describe('getOperation', () => { it('invokes getOperation without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -4905,7 +4905,7 @@ describe('v2.StorageControlClient', () => { }); it('invokes getOperation without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); const request = generateSampleMessage( @@ -4933,7 +4933,7 @@ describe('v2.StorageControlClient', () => { } }, ) - .catch((err) => { + .catch(err => { throw err; }); }); @@ -4943,7 +4943,7 @@ describe('v2.StorageControlClient', () => { }); it('invokes getOperation with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); const request = generateSampleMessage( @@ -4967,7 +4967,7 @@ describe('v2.StorageControlClient', () => { describe('cancelOperation', () => { it('invokes cancelOperation without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -4989,7 +4989,7 @@ describe('v2.StorageControlClient', () => { }); it('invokes cancelOperation without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); const request = generateSampleMessage( @@ -5017,7 +5017,7 @@ describe('v2.StorageControlClient', () => { } }, ) - .catch((err) => { + .catch(err => { throw err; }); }); @@ -5027,7 +5027,7 @@ describe('v2.StorageControlClient', () => { }); it('invokes cancelOperation with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); const request = generateSampleMessage( @@ -5051,7 +5051,7 @@ describe('v2.StorageControlClient', () => { describe('deleteOperation', () => { it('invokes deleteOperation without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -5073,7 +5073,7 @@ describe('v2.StorageControlClient', () => { }); it('invokes deleteOperation without error using callback', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); const request = generateSampleMessage( @@ -5101,7 +5101,7 @@ describe('v2.StorageControlClient', () => { } }, ) - .catch((err) => { + .catch(err => { throw err; }); }); @@ -5111,7 +5111,7 @@ describe('v2.StorageControlClient', () => { }); it('invokes deleteOperation with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); const request = generateSampleMessage( @@ -5135,7 +5135,7 @@ describe('v2.StorageControlClient', () => { describe('listOperationsAsync', () => { it('uses async iteration with listOperations without error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); const request = generateSampleMessage( @@ -5170,7 +5170,7 @@ describe('v2.StorageControlClient', () => { }); it('uses async iteration with listOperations with error', async () => { const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -5206,7 +5206,7 @@ describe('v2.StorageControlClient', () => { anywhere_cache: 'anywhereCacheValue', }; const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -5269,7 +5269,7 @@ describe('v2.StorageControlClient', () => { bucket: 'bucketValue', }; const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -5319,7 +5319,7 @@ describe('v2.StorageControlClient', () => { folder: 'folderValue', }; const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -5382,7 +5382,7 @@ describe('v2.StorageControlClient', () => { location: 'locationValue', }; const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -5446,7 +5446,7 @@ describe('v2.StorageControlClient', () => { managed_folder: 'managedFolderValue', }; const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -5509,7 +5509,7 @@ describe('v2.StorageControlClient', () => { location: 'locationValue', }; const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -5569,7 +5569,7 @@ describe('v2.StorageControlClient', () => { project: 'projectValue', }; const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -5608,7 +5608,7 @@ describe('v2.StorageControlClient', () => { location: 'locationValue', }; const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -5673,7 +5673,7 @@ describe('v2.StorageControlClient', () => { bucket: 'bucketValue', }; const client = new storagecontrolModule.v2.StorageControlClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); diff --git a/packages/google-storage-control/test/gapic_storage_v2.ts b/packages/google-storage-control/test/gapic_storage_v2.ts index c61481bc008e..dcc1c531b3e9 100644 --- a/packages/google-storage-control/test/gapic_storage_v2.ts +++ b/packages/google-storage-control/test/gapic_storage_v2.ts @@ -19,13 +19,13 @@ import * as protos from '../protos/protos'; import * as assert from 'assert'; import * as sinon from 'sinon'; -import { SinonStub } from 'sinon'; -import { describe, it } from 'mocha'; +import {SinonStub} from 'sinon'; +import {describe, it} from 'mocha'; import * as storageModule from '../src'; -import { PassThrough } from 'stream'; +import {PassThrough} from 'stream'; -import { protobuf } from 'google-gax'; +import {protobuf} from 'google-gax'; // Dynamically loaded proto JSON is needed to get the type information // to fill in default values for request objects @@ -45,7 +45,7 @@ function getTypeDefaultValue(typeName: string, fields: string[]) { function generateSampleMessage(instance: T) { const filledObject = ( instance.constructor as typeof protobuf.Message - ).toObject(instance as protobuf.Message, { defaults: true }); + ).toObject(instance as protobuf.Message, {defaults: true}); return (instance.constructor as typeof protobuf.Message).fromObject( filledObject, ) as T; @@ -117,9 +117,9 @@ function stubAsyncIterationCall( return Promise.reject(error); } if (counter >= responses!.length) { - return Promise.resolve({ done: true, value: undefined }); + return Promise.resolve({done: true, value: undefined}); } - return Promise.resolve({ done: false, value: responses![counter++] }); + return Promise.resolve({done: false, value: responses![counter++]}); }, }; }, @@ -237,7 +237,7 @@ describe('v2.StorageClient', () => { it('has initialize method and supports deferred initialization', async () => { const client = new storageModule.v2.StorageClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); assert.strictEqual(client.storageStub, undefined); @@ -245,12 +245,12 @@ describe('v2.StorageClient', () => { assert(client.storageStub); }); - it('has close method for the initialized client', (done) => { + it('has close method for the initialized client', done => { const client = new storageModule.v2.StorageClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); - client.initialize().catch((err) => { + client.initialize().catch(err => { throw err; }); assert(client.storageStub); @@ -259,14 +259,14 @@ describe('v2.StorageClient', () => { .then(() => { done(); }) - .catch((err) => { + .catch(err => { throw err; }); }); - it('has close method for the non-initialized client', (done) => { + it('has close method for the non-initialized client', done => { const client = new storageModule.v2.StorageClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); assert.strictEqual(client.storageStub, undefined); @@ -275,7 +275,7 @@ describe('v2.StorageClient', () => { .then(() => { done(); }) - .catch((err) => { + .catch(err => { throw err; }); }); @@ -283,7 +283,7 @@ describe('v2.StorageClient', () => { it('has getProjectId method', async () => { const fakeProjectId = 'fake-project-id'; const client = new storageModule.v2.StorageClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); client.auth.getProjectId = sinon.stub().resolves(fakeProjectId); @@ -295,7 +295,7 @@ describe('v2.StorageClient', () => { it('has getProjectId method with callback', async () => { const fakeProjectId = 'fake-project-id'; const client = new storageModule.v2.StorageClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); client.auth.getProjectId = sinon @@ -318,7 +318,7 @@ describe('v2.StorageClient', () => { describe('deleteBucket', () => { it('invokes deleteBucket without error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -346,7 +346,7 @@ describe('v2.StorageClient', () => { it('invokes deleteBucket without error using callback', async () => { const client = new storageModule.v2.StorageClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -390,7 +390,7 @@ describe('v2.StorageClient', () => { it('invokes deleteBucket with error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -418,7 +418,7 @@ describe('v2.StorageClient', () => { it('invokes deleteBucket with closed client', async () => { const client = new storageModule.v2.StorageClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -428,7 +428,7 @@ describe('v2.StorageClient', () => { // path template: {bucket=**} request.name = 'value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch((err) => { + client.close().catch(err => { throw err; }); await assert.rejects(client.deleteBucket(request), expectedError); @@ -438,7 +438,7 @@ describe('v2.StorageClient', () => { describe('getBucket', () => { it('invokes getBucket without error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -466,7 +466,7 @@ describe('v2.StorageClient', () => { it('invokes getBucket without error using callback', async () => { const client = new storageModule.v2.StorageClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -510,7 +510,7 @@ describe('v2.StorageClient', () => { it('invokes getBucket with error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -535,7 +535,7 @@ describe('v2.StorageClient', () => { it('invokes getBucket with closed client', async () => { const client = new storageModule.v2.StorageClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -545,7 +545,7 @@ describe('v2.StorageClient', () => { // path template: {bucket=**} request.name = 'value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch((err) => { + client.close().catch(err => { throw err; }); await assert.rejects(client.getBucket(request), expectedError); @@ -555,7 +555,7 @@ describe('v2.StorageClient', () => { describe('createBucket', () => { it('invokes createBucket without error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -586,7 +586,7 @@ describe('v2.StorageClient', () => { it('invokes createBucket without error using callback', async () => { const client = new storageModule.v2.StorageClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -633,7 +633,7 @@ describe('v2.StorageClient', () => { it('invokes createBucket with error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -664,7 +664,7 @@ describe('v2.StorageClient', () => { it('invokes createBucket with closed client', async () => { const client = new storageModule.v2.StorageClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -677,7 +677,7 @@ describe('v2.StorageClient', () => { // path template: {project=**} request.bucket.project = 'value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch((err) => { + client.close().catch(err => { throw err; }); await assert.rejects(client.createBucket(request), expectedError); @@ -687,7 +687,7 @@ describe('v2.StorageClient', () => { describe('lockBucketRetentionPolicy', () => { it('invokes lockBucketRetentionPolicy without error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -716,7 +716,7 @@ describe('v2.StorageClient', () => { it('invokes lockBucketRetentionPolicy without error using callback', async () => { const client = new storageModule.v2.StorageClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -760,7 +760,7 @@ describe('v2.StorageClient', () => { it('invokes lockBucketRetentionPolicy with error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -791,7 +791,7 @@ describe('v2.StorageClient', () => { it('invokes lockBucketRetentionPolicy with closed client', async () => { const client = new storageModule.v2.StorageClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -801,7 +801,7 @@ describe('v2.StorageClient', () => { // path template: {bucket=**} request.bucket = 'value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch((err) => { + client.close().catch(err => { throw err; }); await assert.rejects( @@ -814,7 +814,7 @@ describe('v2.StorageClient', () => { describe('updateBucket', () => { it('invokes updateBucket without error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -843,7 +843,7 @@ describe('v2.StorageClient', () => { it('invokes updateBucket without error using callback', async () => { const client = new storageModule.v2.StorageClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -888,7 +888,7 @@ describe('v2.StorageClient', () => { it('invokes updateBucket with error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -917,7 +917,7 @@ describe('v2.StorageClient', () => { it('invokes updateBucket with closed client', async () => { const client = new storageModule.v2.StorageClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -928,7 +928,7 @@ describe('v2.StorageClient', () => { // path template: {bucket=**} request.bucket.name = 'value'; const expectedError = new Error('The client has already been closed.'); - client.close().catch((err) => { + client.close().catch(err => { throw err; }); await assert.rejects(client.updateBucket(request), expectedError); @@ -938,7 +938,7 @@ describe('v2.StorageClient', () => { describe('listBuckets', () => { it('invokes listBuckets without error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -968,7 +968,7 @@ describe('v2.StorageClient', () => { it('invokes listBuckets without error using callback', async () => { const client = new storageModule.v2.StorageClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -1014,7 +1014,7 @@ describe('v2.StorageClient', () => { it('invokes listBuckets with error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -1042,7 +1042,7 @@ describe('v2.StorageClient', () => { it('invokes listBucketsStream without error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -1090,7 +1090,7 @@ describe('v2.StorageClient', () => { it('invokes listBucketsStream with error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -1135,7 +1135,7 @@ describe('v2.StorageClient', () => { it('uses async iteration with listBuckets without error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -1175,7 +1175,7 @@ describe('v2.StorageClient', () => { it('uses async iteration with listBuckets with error', async () => { const client = new storageModule.v2.StorageClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -1221,7 +1221,7 @@ describe('v2.StorageClient', () => { bucket: 'bucketValue', }; const client = new storageModule.v2.StorageClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -1272,7 +1272,7 @@ describe('v2.StorageClient', () => { crypto_key: 'cryptoKeyValue', }; const client = new storageModule.v2.StorageClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); @@ -1345,7 +1345,7 @@ describe('v2.StorageClient', () => { project: 'projectValue', }; const client = new storageModule.v2.StorageClient({ - credentials: { client_email: 'bogus', private_key: 'bogus' }, + credentials: {client_email: 'bogus', private_key: 'bogus'}, projectId: 'bogus', }); await client.initialize(); diff --git a/packages/google-storage-control/test/storage_control_compatibility.ts b/packages/google-storage-control/test/storage_control_compatibility.ts index 1f9bed80ed5f..d297cc76b60d 100644 --- a/packages/google-storage-control/test/storage_control_compatibility.ts +++ b/packages/google-storage-control/test/storage_control_compatibility.ts @@ -13,8 +13,8 @@ // limitations under the License. import * as assert from 'assert'; -import { StorageControlClient as UberStorageControlClient } from '../src/storage_control_client'; -import { StorageControlClient as OriginalStorageControlClient } from '../src/v2/storage_control_client'; +import {StorageControlClient as UberStorageControlClient} from '../src/storage_control_client'; +import {StorageControlClient as OriginalStorageControlClient} from '../src/v2/storage_control_client'; describe('Backwards compatibility', () => { it('uber client should have all the methods of the original client', () => {