SpeechToTextBeta.viaServiceAccount constructor
SpeechToTextBeta.viaServiceAccount(
- ServiceAccount account, {
- String? cloudSpeechEndpoint,
- Map<
String, String> ? metadata,
Creates a SpeechToText interface using a service account.
Implementation
factory SpeechToTextBeta.viaServiceAccount(
ServiceAccount account, {
String? cloudSpeechEndpoint,
Map<String, String>? metadata,
}) =>
SpeechToTextBeta._(
account.callOptions.mergedWith(CallOptions(metadata: metadata ?? {})),
cloudSpeechEndpoint: cloudSpeechEndpoint);