Interface SpannerOptions (6.15.0)

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.

Inheritance

GrpcClientOptions > SpannerOptions

Package

@google-cloud/spanner

Properties

apiEndpoint

apiEndpoint?: string;

port

port?: number;

routeToLeaderEnabled

routeToLeaderEnabled?: boolean;

servicePath

servicePath?: string;

sslCreds

sslCreds?: grpc.ChannelCredentials;