It is possible to set a Request Priority or a deadline/timeout on some of the RPC calls by passing an Options Object wich contains a Gax CallOptions, and/or a RequestOptions object for example:
But it is not possible to set Priorities or deadlines on any of the APIs which read or Execute SQL queries or DML on the database.
It is however not documented that it is poissible to set these options on the following APIs. The JSDoc does not mention the parameters.
(and probably many others that I couldn't find)
It is often much more important to set deadlines and priorities on queries so that a response is either returned in a reasonable time, or the query fails, or that a long running DML operation occurs at a low priority.
~This is possible by accessing the gRPC API directly, but not though the client libraries. ~
Environment details
OS: Debian Rodete (20210511.01.04RD)
node: v12.21.0
npm: 7.5.2
google-gax@2.13.0
grpc/grpc-js@1.3.2
grpc-gcp@0.3.3