EndlessStreamingServiceBeta.viaServiceAccount constructor

EndlessStreamingServiceBeta.viaServiceAccount(
  1. ServiceAccount account, {
  2. String? cloudSpeechEndpoint,
})

Creates a EndlessStreamingService interface using a service account.

Implementation

factory EndlessStreamingServiceBeta.viaServiceAccount(ServiceAccount account,
        {String? cloudSpeechEndpoint}) =>
    EndlessStreamingServiceBeta._(account.callOptions,
        cloudSpeechEndpoint: cloudSpeechEndpoint);