From 26b53ca608a7ebfdc42ceaec3be5eeb2dbe2fa94 Mon Sep 17 00:00:00 2001 From: sofisl <55454395+sofisl@users.noreply.github.com> Date: Fri, 6 Dec 2024 11:12:29 -0800 Subject: [PATCH 1/4] chore: ignore erroneous TS failure (should be removed in next generator update) --- packages/google-cloud-tasks/esm/src/v2/cloud_tasks_client.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/google-cloud-tasks/esm/src/v2/cloud_tasks_client.ts b/packages/google-cloud-tasks/esm/src/v2/cloud_tasks_client.ts index f3a2ebef0ab..f514df7da67 100644 --- a/packages/google-cloud-tasks/esm/src/v2/cloud_tasks_client.ts +++ b/packages/google-cloud-tasks/esm/src/v2/cloud_tasks_client.ts @@ -176,6 +176,7 @@ export class CloudTasksClient { } // Choose either gRPC or proto-over-HTTP implementation of google-gax. + //@ts-ignore this._gaxModule = opts.fallback ? gaxInstance.fallback : gaxInstance; // Create a `gaxGrpc` object, with any grpc-specific options sent to the client. From 09f80876f892a6145f03d390dc131eaa63dfb186 Mon Sep 17 00:00:00 2001 From: sofisl <55454395+sofisl@users.noreply.github.com> Date: Fri, 6 Dec 2024 11:13:57 -0800 Subject: [PATCH 2/4] chore: update cloud_tasks_client.ts --- .../google-cloud-tasks/esm/src/v2beta2/cloud_tasks_client.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/google-cloud-tasks/esm/src/v2beta2/cloud_tasks_client.ts b/packages/google-cloud-tasks/esm/src/v2beta2/cloud_tasks_client.ts index a675087a02e..30971ad7707 100644 --- a/packages/google-cloud-tasks/esm/src/v2beta2/cloud_tasks_client.ts +++ b/packages/google-cloud-tasks/esm/src/v2beta2/cloud_tasks_client.ts @@ -176,6 +176,7 @@ export class CloudTasksClient { } // Choose either gRPC or proto-over-HTTP implementation of google-gax. + // @ts-ignore this._gaxModule = opts.fallback ? gaxInstance.fallback : gaxInstance; // Create a `gaxGrpc` object, with any grpc-specific options sent to the client. From 3499eb5e280eedbd9304a72573c5665a1c561553 Mon Sep 17 00:00:00 2001 From: sofisl <55454395+sofisl@users.noreply.github.com> Date: Fri, 6 Dec 2024 11:14:30 -0800 Subject: [PATCH 3/4] chore: update cloud_tasks_client.ts --- .../google-cloud-tasks/esm/src/v2beta3/cloud_tasks_client.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/google-cloud-tasks/esm/src/v2beta3/cloud_tasks_client.ts b/packages/google-cloud-tasks/esm/src/v2beta3/cloud_tasks_client.ts index db91dfdbd9f..4c41bacd1da 100644 --- a/packages/google-cloud-tasks/esm/src/v2beta3/cloud_tasks_client.ts +++ b/packages/google-cloud-tasks/esm/src/v2beta3/cloud_tasks_client.ts @@ -176,6 +176,7 @@ export class CloudTasksClient { } // Choose either gRPC or proto-over-HTTP implementation of google-gax. + // @ts-ignore this._gaxModule = opts.fallback ? gaxInstance.fallback : gaxInstance; // Create a `gaxGrpc` object, with any grpc-specific options sent to the client. From dbe584e359d42a114edacbe5ca771ef640b7d0be Mon Sep 17 00:00:00 2001 From: sofisl <55454395+sofisl@users.noreply.github.com> Date: Fri, 6 Dec 2024 11:16:09 -0800 Subject: [PATCH 4/4] Update cloud_tasks_client.ts --- packages/google-cloud-tasks/esm/src/v2/cloud_tasks_client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/google-cloud-tasks/esm/src/v2/cloud_tasks_client.ts b/packages/google-cloud-tasks/esm/src/v2/cloud_tasks_client.ts index f514df7da67..4c06ccf3fda 100644 --- a/packages/google-cloud-tasks/esm/src/v2/cloud_tasks_client.ts +++ b/packages/google-cloud-tasks/esm/src/v2/cloud_tasks_client.ts @@ -176,7 +176,7 @@ export class CloudTasksClient { } // Choose either gRPC or proto-over-HTTP implementation of google-gax. - //@ts-ignore + // @ts-ignore this._gaxModule = opts.fallback ? gaxInstance.fallback : gaxInstance; // Create a `gaxGrpc` object, with any grpc-specific options sent to the client.