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..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,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. 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. 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.