EndlessStreamingServiceV2.viaServiceAccount constructor
EndlessStreamingServiceV2.viaServiceAccount(
- ServiceAccount account, {
- required String projectId,
- String? cloudSpeechEndpoint,
- String? location,
Creates a EndlessStreamingServiceV2 interface using a service account.
Implementation
factory EndlessStreamingServiceV2.viaServiceAccount(
ServiceAccount account, {
required String projectId,
String? cloudSpeechEndpoint,
String? location,
}) => EndlessStreamingServiceV2._(
account.callOptions,
projectId: projectId,
cloudSpeechEndpoint: cloudSpeechEndpoint,
location: location,
);