Interface SpannerOptions (6.10.1)

Session pool configuration options. {boolean} [routeToLeaderEnabled=False] If set to true leader aware routing will be enabled. Enabling leader aware routing would route all requests in RW/PDML transactions to leader region.

Inheritance

GrpcClientOptions > SpannerOptions

Package

@google-cloud/spanner

Properties

apiEndpoint

apiEndpoint?: string;

port

port?: number;

routeToLeaderEnabled

routeToLeaderEnabled?: boolean;

servicePath

servicePath?: string;

sslCreds

sslCreds?: grpc.ChannelCredentials;