Interface ClientConfig (4.8.0)

Inheritance

gax.GrpcClientOptions > ClientConfig

Package

@google-cloud/pubsub

Properties

apiEndpoint

apiEndpoint?: string;

emulatorMode

emulatorMode?: boolean;

Configures the emulator mode behaviour: - If false, disable emulator mode always - If true, enable emulator mode always - If unset, use heuristics to decide Emulator mode notably sets insecure SSL authentication so that you can try the library out without needing a cert.

Also notably, if a TPC universeDomain is set, then this will be counted as !emulatorMode for the purposes of the heuristics. If you want emulator mode but with a TPC universe domain set, set this to true as well.

enableOpenTelemetryTracing

enableOpenTelemetryTracing?: boolean;

Enables OpenTelemetry tracing (newer, more full implementation). This defaults to false/undefined

port

port?: string | number;

servicePath

servicePath?: string;

sslCreds

sslCreds?: gax.grpc.ChannelCredentials;