[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-17 UTC."],[[["This page provides documentation for the `ServiceCollectionExtensions` class within the Google Cloud Speech-to-Text v2 API, specifically for the .NET environment, and outlines the available versions of the API."],["The `ServiceCollectionExtensions` class is a static class that offers methods to configure API clients, and it inherits several methods from the base `object` class."],["The primary function of `ServiceCollectionExtensions` is to enable the addition of a singleton `SpeechClient` to an `IServiceCollection` via the `AddSpeechClient` method."],["There are two overloads of the `AddSpeechClient` method, both adding a singleton `SpeechClient`, but one accepts an `Action\u003cSpeechClientBuilder\u003e` and the other an `Action\u003cIServiceProvider, SpeechClientBuilder\u003e` to customize the client configuration."],["The `AddSpeechClient` methods offer optional actions to be performed on a `SpeechClientBuilder`, which will be invoked before any services are used to configure the client, and both methods return an `IServiceCollection`."]]],[]]