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
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Interface ClientConfig (4.8.0)\n\nVersion latestkeyboard_arrow_down\n\n- [4.8.0 (latest)](/nodejs/docs/reference/pubsub/latest/pubsub/clientconfig)\n- [4.4.0](/nodejs/docs/reference/pubsub/4.4.0/pubsub/clientconfig)\n- [4.3.3](/nodejs/docs/reference/pubsub/4.3.3/pubsub/clientconfig)\n- [4.1.1](/nodejs/docs/reference/pubsub/4.1.1/pubsub/clientconfig)\n- [4.0.7](/nodejs/docs/reference/pubsub/4.0.7/pubsub/clientconfig)\n- [3.7.5](/nodejs/docs/reference/pubsub/3.7.5/pubsub/clientconfig)\n- [3.2.1](/nodejs/docs/reference/pubsub/3.2.1/pubsub/clientconfig)\n- [3.1.1](/nodejs/docs/reference/pubsub/3.1.1/pubsub/clientconfig)\n- [3.0.3](/nodejs/docs/reference/pubsub/3.0.3/pubsub/clientconfig)\n- [2.18.3](/nodejs/docs/reference/pubsub/2.18.3/pubsub/clientconfig)\n- [2.17.0](/nodejs/docs/reference/pubsub/2.17.0/pubsub/clientconfig)\n- [2.16.6](/nodejs/docs/reference/pubsub/2.16.6/pubsub/clientconfig)\n- [2.13.0](/nodejs/docs/reference/pubsub/2.13.0/pubsub/clientconfig) \n\nInheritance\n-----------\n\ngax.GrpcClientOptions \\\u003e ClientConfig\n\nPackage\n-------\n\n[@google-cloud/pubsub](../overview.html)\n\nProperties\n----------\n\n### apiEndpoint\n\n apiEndpoint?: string;\n\n### emulatorMode\n\n emulatorMode?: boolean;\n\nConfigures 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.\n\nAlso 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.\n\n### enableOpenTelemetryTracing\n\n enableOpenTelemetryTracing?: boolean;\n\nEnables OpenTelemetry tracing (newer, more full implementation). This defaults to false/undefined\n\n### port\n\n port?: string | number;\n\n### servicePath\n\n servicePath?: string;\n\n### sslCreds\n\n sslCreds?: gax.grpc.ChannelCredentials;"]]