prorm API Reference
    Preparing search index...

    Interface PubSubStoreOptions

    Connection options for PubSubStore.

    interface PubSubStoreOptions {
        projectId?: string;
        keyFilename?: string;
        apiEndpoint?: string;
        client?: PubSubClientLike;
    }
    Index
    projectId?: string

    GCP project id.

    keyFilename?: string

    Path to a service-account key file.

    apiEndpoint?: string

    Override the API endpoint (e.g. 'localhost:8085' for the emulator).

    client?: PubSubClientLike

    A pre-built PubSub client (or a mock exposing the methods above). When provided, connect() uses it directly and does NOT require the driver — this is how tests inject a mock client.