gax-nodejs
gax-nodejs copied to clipboard
Google API Extensions for Node.js
Whenever we drop Node 14 support, we'll need to drop these three modules and replace them with their modern `fs` counterparts (`fs.mkdir`, `fs.rm`, `fs.cp`) with `{recursive: true}`.
Note: #1390 was also for this test, but it was closed more than 10 days ago. So, I didn't mark it flaky. ---- commit: f6ee11415be52c90ed400470729ca3dda9d05e2d buildURL: [Build Status](https://source.cloud.google.com/results/invocations/bc010e49-1c4f-4fb9-9839-1a0578aeb1f2), [Sponge](http://sponge2/bc010e49-1c4f-4fb9-9839-1a0578aeb1f2) status:...
Recently I've been stuck with using [@google-cloud/pubsub](https://www.npmjs.com/package/@google-cloud/pubsub) package because it was returning an error of **Total timeout of API google.pubsub.v1.Publisher exceeded 60000 milliseconds before any response was received.** I've browsed...
On https://googleapis.dev/nodejs/tasks/latest/v2.CloudTasksClient.html#createTask, what are `options`? Following the link to https://googleapis.github.io/gax-nodejs/interfaces/CallOptions.html is of no help either. I'd like to know what they mean and what are the defaults. It seems `timeout`...
The question may be a bit silly because I do not have a deep understanding of gax-nodejs and aip. According to the generated code, it seems that the header is...
As raised in [732](https://github.com/googleapis/nodejs-logging-winston/issues/732), there is a problem with handling invalid payload in [client-interceptors.ts](https://github.com/grpc/grpc-node/blob/6764dcc79602faee5457243629da520ba08b726f/packages/grpc-js/src/client-interceptors.ts#L373): 1. When `latency` contains a [Duration](https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry#HttpRequest) as string (e.g. "1s"), the following failure occurs: **google.logging.type.HttpRequest.latency: object...
Before the implementation, diregapic LRO return unary with `compute.v1.Operation`. It require manual code to poll the operation until it finish. ``` async function waitGlobalOperation(operation, project) { const globalClient = new...
Investigating: https://github.com/googleapis/nodejs-datacatalog/issues/296 It seems like, when autoPagination is on, and you throw an error, it does not stop getting resources. To reproduce: 1. call `searchAssets.js` in datacatalog (datacatalog has a...
For the next major (engines >= 14), let's start using https://nodejs.org/api/packages.html#subpath-exports to export various parts of gax (fallback, main module, and gax separately).
The Cloud KMS team received a [customer question](https://stackoverflow.com/questions/73785844/google-cloud-kms-error-when-getting-public-key/73788376#73788376) about how to authenticate using a service account key file. It took us a while to figure out what to recommend, especially...