The PUBSUB_EMULATOR_HOST environment variable from the gcloud SDK is
honored, otherwise the actual API endpoint will be used.
Inheritance:
implementsGoogle\Cloud\PubSub\Connection\ConnectionInterface, use traitGoogle\Cloud\EmulatorTrait, use traitGoogle\Cloud\RestTrait, use traitGoogle\Cloud\UriTrait