method GcpPubSubBroker.prototype.connect GcpPubSubBroker.prototype.connect(): Promise<void> Opens the broker connection. Return Type Promise<void>