SpeechToTextBeta.viaServiceAccount constructor

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

Creates a SpeechToText interface using a service account.

Implementation

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