Session pool configuration options. {boolean} [routeToLeaderEnabled=True] If set to false leader aware routing will be disabled. Disabling leader aware routing would route all requests in RW/PDML transactions to any region. {google.spanner.v1.IDirectedReadOptions} [directedReadOptions] Sets the DirectedReadOptions for all ReadRequests and ExecuteSqlRequests for the Client. Indicates which replicas or regions should be used for non-transactional reads or queries. DirectedReadOptions won't be set for readWrite transactions"
Inheritance
GrpcClientOptions > SpannerOptionsPackage
@google-cloud/spannerProperties
apiEndpoint
apiEndpoint
?:
string
;
directedReadOptions
directedReadOptions
?:
google
.
spanner
.
v1
.
IDirectedReadOptions
|
null
;
port
port
?:
number
;
routeToLeaderEnabled
routeToLeaderEnabled
?:
boolean
;
servicePath
servicePath
?:
string
;
sslCreds
sslCreds
?:
grpc
.
ChannelCredentials
;