ADK for TypeScript: API Reference
    Preparing search index...

    Interface APIHubClientOptions

    Options for APIHubClient.

    interface APIHubClientOptions {
        accessToken?: string;
        serviceAccountJson?: string;
    }
    accessToken?: string

    An OAuth access token sent as the bearer token on every request, for example the output of gcloud auth print-access-token. Takes precedence over serviceAccountJson.

    serviceAccountJson?: string

    The content of a service account key file, as a JSON string. Used to mint access tokens when accessToken is not set. When neither is set, the client uses application default credentials.