Cloud Speech-to-Text v2 API - Class SpeechClientImpl (1.2.0)

public sealed class SpeechClientImpl : SpeechClient

Reference documentation and code samples for the Cloud Speech-to-Text v2 API class SpeechClientImpl.

Speech client wrapper implementation, for convenient use.

Inheritance

object > SpeechClient > SpeechClientImpl

Namespace

Google.Cloud.Speech.V2

Assembly

Google.Cloud.Speech.V2.dll

Remarks

Enables speech transcription and resource management.

Constructors

SpeechClientImpl(SpeechClient, SpeechSettings, ILogger)

public SpeechClientImpl(Speech.SpeechClient grpcClient, SpeechSettings settings, ILogger logger)

Constructs a client wrapper for the Speech service, with the specified gRPC client and settings.

Parameters
Name Description
grpcClient SpeechSpeechClient

The underlying gRPC client.

settings SpeechSettings

The base SpeechSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

BatchRecognizeOperationsClient

public override OperationsClient BatchRecognizeOperationsClient { get; }

The long-running operations client for BatchRecognize.

Property Value
Type Description
OperationsClient
Overrides

CreateCustomClassOperationsClient

public override OperationsClient CreateCustomClassOperationsClient { get; }

The long-running operations client for CreateCustomClass.

Property Value
Type Description
OperationsClient
Overrides

CreatePhraseSetOperationsClient

public override OperationsClient CreatePhraseSetOperationsClient { get; }

The long-running operations client for CreatePhraseSet.

Property Value
Type Description
OperationsClient
Overrides

CreateRecognizerOperationsClient

public override OperationsClient CreateRecognizerOperationsClient { get; }

The long-running operations client for CreateRecognizer.

Property Value
Type Description
OperationsClient
Overrides

DeleteCustomClassOperationsClient

public override OperationsClient DeleteCustomClassOperationsClient { get; }

The long-running operations client for DeleteCustomClass.

Property Value
Type Description
OperationsClient
Overrides

DeletePhraseSetOperationsClient

public override OperationsClient DeletePhraseSetOperationsClient { get; }

The long-running operations client for DeletePhraseSet.

Property Value
Type Description
OperationsClient
Overrides

DeleteRecognizerOperationsClient

public override OperationsClient DeleteRecognizerOperationsClient { get; }

The long-running operations client for DeleteRecognizer.

Property Value
Type Description
OperationsClient
Overrides

GrpcClient

public override Speech.SpeechClient GrpcClient { get; }

The underlying gRPC Speech client

Property Value
Type Description
SpeechSpeechClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
Type Description
LocationsClient
Overrides

UndeleteCustomClassOperationsClient

public override OperationsClient UndeleteCustomClassOperationsClient { get; }

The long-running operations client for UndeleteCustomClass.

Property Value
Type Description
OperationsClient
Overrides

UndeletePhraseSetOperationsClient

public override OperationsClient UndeletePhraseSetOperationsClient { get; }

The long-running operations client for UndeletePhraseSet.

Property Value
Type Description
OperationsClient
Overrides

UndeleteRecognizerOperationsClient

public override OperationsClient UndeleteRecognizerOperationsClient { get; }

The long-running operations client for UndeleteRecognizer.

Property Value
Type Description
OperationsClient
Overrides

UpdateCustomClassOperationsClient

public override OperationsClient UpdateCustomClassOperationsClient { get; }

The long-running operations client for UpdateCustomClass.

Property Value
Type Description
OperationsClient
Overrides

UpdatePhraseSetOperationsClient

public override OperationsClient UpdatePhraseSetOperationsClient { get; }

The long-running operations client for UpdatePhraseSet.

Property Value
Type Description
OperationsClient
Overrides

UpdateRecognizerOperationsClient

public override OperationsClient UpdateRecognizerOperationsClient { get; }

The long-running operations client for UpdateRecognizer.

Property Value
Type Description
OperationsClient
Overrides

Methods

BatchRecognize(BatchRecognizeRequest, CallSettings)

public override Operation<BatchRecognizeResponse, OperationMetadata> BatchRecognize(BatchRecognizeRequest request, CallSettings callSettings = null)

Performs batch asynchronous speech recognition: send a request with N audio files and receive a long running operation that can be polled to see when the transcriptions are finished.

Parameters
Name Description
request BatchRecognizeRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationBatchRecognizeResponseOperationMetadata

The RPC response.

Overrides

BatchRecognizeAsync(BatchRecognizeRequest, CallSettings)

public override Task<Operation<BatchRecognizeResponse, OperationMetadata>> BatchRecognizeAsync(BatchRecognizeRequest request, CallSettings callSettings = null)

Performs batch asynchronous speech recognition: send a request with N audio files and receive a long running operation that can be polled to see when the transcriptions are finished.

Parameters
Name Description
request BatchRecognizeRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationBatchRecognizeResponseOperationMetadata

A Task containing the RPC response.

Overrides

CreateCustomClass(CreateCustomClassRequest, CallSettings)

public override Operation<CustomClass, OperationMetadata> CreateCustomClass(CreateCustomClassRequest request, CallSettings callSettings = null)

Creates a [CustomClass][google.cloud.speech.v2.CustomClass].

Parameters
Name Description
request CreateCustomClassRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationCustomClassOperationMetadata

The RPC response.

Overrides

CreateCustomClassAsync(CreateCustomClassRequest, CallSettings)

public override Task<Operation<CustomClass, OperationMetadata>> CreateCustomClassAsync(CreateCustomClassRequest request, CallSettings callSettings = null)

Creates a [CustomClass][google.cloud.speech.v2.CustomClass].

Parameters
Name Description
request CreateCustomClassRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationCustomClassOperationMetadata

A Task containing the RPC response.

Overrides

CreatePhraseSet(CreatePhraseSetRequest, CallSettings)

public override Operation<PhraseSet, OperationMetadata> CreatePhraseSet(CreatePhraseSetRequest request, CallSettings callSettings = null)

Creates a [PhraseSet][google.cloud.speech.v2.PhraseSet].

Parameters
Name Description
request CreatePhraseSetRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationPhraseSetOperationMetadata

The RPC response.

Overrides

CreatePhraseSetAsync(CreatePhraseSetRequest, CallSettings)

public override Task<Operation<PhraseSet, OperationMetadata>> CreatePhraseSetAsync(CreatePhraseSetRequest request, CallSettings callSettings = null)

Creates a [PhraseSet][google.cloud.speech.v2.PhraseSet].

Parameters
Name Description
request CreatePhraseSetRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationPhraseSetOperationMetadata

A Task containing the RPC response.

Overrides

CreateRecognizer(CreateRecognizerRequest, CallSettings)

public override Operation<Recognizer, OperationMetadata> CreateRecognizer(CreateRecognizerRequest request, CallSettings callSettings = null)

Creates a [Recognizer][google.cloud.speech.v2.Recognizer].

Parameters
Name Description
request CreateRecognizerRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationRecognizerOperationMetadata

The RPC response.

Overrides

CreateRecognizerAsync(CreateRecognizerRequest, CallSettings)

public override Task<Operation<Recognizer, OperationMetadata>> CreateRecognizerAsync(CreateRecognizerRequest request, CallSettings callSettings = null)

Creates a [Recognizer][google.cloud.speech.v2.Recognizer].

Parameters
Name Description
request CreateRecognizerRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationRecognizerOperationMetadata

A Task containing the RPC response.

Overrides

DeleteCustomClass(DeleteCustomClassRequest, CallSettings)

public override Operation<CustomClass, OperationMetadata> DeleteCustomClass(DeleteCustomClassRequest request, CallSettings callSettings = null)

Deletes the [CustomClass][google.cloud.speech.v2.CustomClass].

Parameters
Name Description
request DeleteCustomClassRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationCustomClassOperationMetadata

The RPC response.

Overrides

DeleteCustomClassAsync(DeleteCustomClassRequest, CallSettings)

public override Task<Operation<CustomClass, OperationMetadata>> DeleteCustomClassAsync(DeleteCustomClassRequest request, CallSettings callSettings = null)

Deletes the [CustomClass][google.cloud.speech.v2.CustomClass].

Parameters
Name Description
request DeleteCustomClassRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationCustomClassOperationMetadata

A Task containing the RPC response.

Overrides

DeletePhraseSet(DeletePhraseSetRequest, CallSettings)

public override Operation<PhraseSet, OperationMetadata> DeletePhraseSet(DeletePhraseSetRequest request, CallSettings callSettings = null)

Deletes the [PhraseSet][google.cloud.speech.v2.PhraseSet].

Parameters
Name Description
request DeletePhraseSetRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationPhraseSetOperationMetadata

The RPC response.

Overrides

DeletePhraseSetAsync(DeletePhraseSetRequest, CallSettings)

public override Task<Operation<PhraseSet, OperationMetadata>> DeletePhraseSetAsync(DeletePhraseSetRequest request, CallSettings callSettings = null)

Deletes the [PhraseSet][google.cloud.speech.v2.PhraseSet].

Parameters
Name Description
request DeletePhraseSetRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationPhraseSetOperationMetadata

A Task containing the RPC response.

Overrides

DeleteRecognizer(DeleteRecognizerRequest, CallSettings)

public override Operation<Recognizer, OperationMetadata> DeleteRecognizer(DeleteRecognizerRequest request, CallSettings callSettings = null)

Deletes the [Recognizer][google.cloud.speech.v2.Recognizer].

Parameters
Name Description
request DeleteRecognizerRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationRecognizerOperationMetadata

The RPC response.

Overrides

DeleteRecognizerAsync(DeleteRecognizerRequest, CallSettings)

public override Task<Operation<Recognizer, OperationMetadata>> DeleteRecognizerAsync(DeleteRecognizerRequest request, CallSettings callSettings = null)

Deletes the [Recognizer][google.cloud.speech.v2.Recognizer].

Parameters
Name Description
request DeleteRecognizerRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationRecognizerOperationMetadata

A Task containing the RPC response.

Overrides

GetConfig(GetConfigRequest, CallSettings)

public override Config GetConfig(GetConfigRequest request, CallSettings callSettings = null)

Returns the requested [Config][google.cloud.speech.v2.Config].

Parameters
Name Description
request GetConfigRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Config

The RPC response.

Overrides

GetConfigAsync(GetConfigRequest, CallSettings)

public override Task<Config> GetConfigAsync(GetConfigRequest request, CallSettings callSettings = null)

Returns the requested [Config][google.cloud.speech.v2.Config].

Parameters
Name Description
request GetConfigRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskConfig

A Task containing the RPC response.

Overrides

GetCustomClass(GetCustomClassRequest, CallSettings)

public override CustomClass GetCustomClass(GetCustomClassRequest request, CallSettings callSettings = null)

Returns the requested [CustomClass][google.cloud.speech.v2.CustomClass].

Parameters
Name Description
request GetCustomClassRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
CustomClass

The RPC response.

Overrides

GetCustomClassAsync(GetCustomClassRequest, CallSettings)

public override Task<CustomClass> GetCustomClassAsync(GetCustomClassRequest request, CallSettings callSettings = null)

Returns the requested [CustomClass][google.cloud.speech.v2.CustomClass].

Parameters
Name Description
request GetCustomClassRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskCustomClass

A Task containing the RPC response.

Overrides

GetPhraseSet(GetPhraseSetRequest, CallSettings)

public override PhraseSet GetPhraseSet(GetPhraseSetRequest request, CallSettings callSettings = null)

Returns the requested [PhraseSet][google.cloud.speech.v2.PhraseSet].

Parameters
Name Description
request GetPhraseSetRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PhraseSet

The RPC response.

Overrides

GetPhraseSetAsync(GetPhraseSetRequest, CallSettings)

public override Task<PhraseSet> GetPhraseSetAsync(GetPhraseSetRequest request, CallSettings callSettings = null)

Returns the requested [PhraseSet][google.cloud.speech.v2.PhraseSet].

Parameters
Name Description
request GetPhraseSetRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskPhraseSet

A Task containing the RPC response.

Overrides

GetRecognizer(GetRecognizerRequest, CallSettings)

public override Recognizer GetRecognizer(GetRecognizerRequest request, CallSettings callSettings = null)

Returns the requested [Recognizer][google.cloud.speech.v2.Recognizer]. Fails with [NOT_FOUND][google.rpc.Code.NOT_FOUND] if the requested Recognizer doesn't exist.

Parameters
Name Description
request GetRecognizerRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Recognizer

The RPC response.

Overrides

GetRecognizerAsync(GetRecognizerRequest, CallSettings)

public override Task<Recognizer> GetRecognizerAsync(GetRecognizerRequest request, CallSettings callSettings = null)

Returns the requested [Recognizer][google.cloud.speech.v2.Recognizer]. Fails with [NOT_FOUND][google.rpc.Code.NOT_FOUND] if the requested Recognizer doesn't exist.

Parameters
Name Description
request GetRecognizerRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskRecognizer

A Task containing the RPC response.

Overrides

ListCustomClasses(ListCustomClassesRequest, CallSettings)

public override PagedEnumerable<ListCustomClassesResponse, CustomClass> ListCustomClasses(ListCustomClassesRequest request, CallSettings callSettings = null)

Lists CustomClasses.

Parameters
Name Description
request ListCustomClassesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListCustomClassesResponseCustomClass

A pageable sequence of CustomClass resources.

Overrides

ListCustomClassesAsync(ListCustomClassesRequest, CallSettings)

public override PagedAsyncEnumerable<ListCustomClassesResponse, CustomClass> ListCustomClassesAsync(ListCustomClassesRequest request, CallSettings callSettings = null)

Lists CustomClasses.

Parameters
Name Description
request ListCustomClassesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListCustomClassesResponseCustomClass

A pageable asynchronous sequence of CustomClass resources.

Overrides

ListPhraseSets(ListPhraseSetsRequest, CallSettings)

public override PagedEnumerable<ListPhraseSetsResponse, PhraseSet> ListPhraseSets(ListPhraseSetsRequest request, CallSettings callSettings = null)

Lists PhraseSets.

Parameters
Name Description
request ListPhraseSetsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListPhraseSetsResponsePhraseSet

A pageable sequence of PhraseSet resources.

Overrides

ListPhraseSetsAsync(ListPhraseSetsRequest, CallSettings)

public override PagedAsyncEnumerable<ListPhraseSetsResponse, PhraseSet> ListPhraseSetsAsync(ListPhraseSetsRequest request, CallSettings callSettings = null)

Lists PhraseSets.

Parameters
Name Description
request ListPhraseSetsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListPhraseSetsResponsePhraseSet

A pageable asynchronous sequence of PhraseSet resources.

Overrides

ListRecognizers(ListRecognizersRequest, CallSettings)

public override PagedEnumerable<ListRecognizersResponse, Recognizer> ListRecognizers(ListRecognizersRequest request, CallSettings callSettings = null)

Lists Recognizers.

Parameters
Name Description
request ListRecognizersRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListRecognizersResponseRecognizer

A pageable sequence of Recognizer resources.

Overrides

ListRecognizersAsync(ListRecognizersRequest, CallSettings)

public override PagedAsyncEnumerable<ListRecognizersResponse, Recognizer> ListRecognizersAsync(ListRecognizersRequest request, CallSettings callSettings = null)

Lists Recognizers.

Parameters
Name Description
request ListRecognizersRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListRecognizersResponseRecognizer

A pageable asynchronous sequence of Recognizer resources.

Overrides

Recognize(RecognizeRequest, CallSettings)

public override RecognizeResponse Recognize(RecognizeRequest request, CallSettings callSettings = null)

Performs synchronous Speech recognition: receive results after all audio has been sent and processed.

Parameters
Name Description
request RecognizeRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
RecognizeResponse

The RPC response.

Overrides

RecognizeAsync(RecognizeRequest, CallSettings)

public override Task<RecognizeResponse> RecognizeAsync(RecognizeRequest request, CallSettings callSettings = null)

Performs synchronous Speech recognition: receive results after all audio has been sent and processed.

Parameters
Name Description
request RecognizeRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskRecognizeResponse

A Task containing the RPC response.

Overrides

StreamingRecognize(CallSettings, BidirectionalStreamingSettings)

public override SpeechClient.StreamingRecognizeStream StreamingRecognize(CallSettings callSettings = null, BidirectionalStreamingSettings streamingSettings = null)

Performs bidirectional streaming speech recognition: receive results while sending audio. This method is only available via the gRPC API (not REST).

Parameters
Name Description
callSettings CallSettings

If not null, applies overrides to this RPC call.

streamingSettings BidirectionalStreamingSettings

If not null, applies streaming overrides to this RPC call.

Returns
Type Description
SpeechClientStreamingRecognizeStream

The client-server stream.

Overrides

UndeleteCustomClass(UndeleteCustomClassRequest, CallSettings)

public override Operation<CustomClass, OperationMetadata> UndeleteCustomClass(UndeleteCustomClassRequest request, CallSettings callSettings = null)

Undeletes the [CustomClass][google.cloud.speech.v2.CustomClass].

Parameters
Name Description
request UndeleteCustomClassRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationCustomClassOperationMetadata

The RPC response.

Overrides

UndeleteCustomClassAsync(UndeleteCustomClassRequest, CallSettings)

public override Task<Operation<CustomClass, OperationMetadata>> UndeleteCustomClassAsync(UndeleteCustomClassRequest request, CallSettings callSettings = null)

Undeletes the [CustomClass][google.cloud.speech.v2.CustomClass].

Parameters
Name Description
request UndeleteCustomClassRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationCustomClassOperationMetadata

A Task containing the RPC response.

Overrides

UndeletePhraseSet(UndeletePhraseSetRequest, CallSettings)

public override Operation<PhraseSet, OperationMetadata> UndeletePhraseSet(UndeletePhraseSetRequest request, CallSettings callSettings = null)

Undeletes the [PhraseSet][google.cloud.speech.v2.PhraseSet].

Parameters
Name Description
request UndeletePhraseSetRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationPhraseSetOperationMetadata

The RPC response.

Overrides

UndeletePhraseSetAsync(UndeletePhraseSetRequest, CallSettings)

public override Task<Operation<PhraseSet, OperationMetadata>> UndeletePhraseSetAsync(UndeletePhraseSetRequest request, CallSettings callSettings = null)

Undeletes the [PhraseSet][google.cloud.speech.v2.PhraseSet].

Parameters
Name Description
request UndeletePhraseSetRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationPhraseSetOperationMetadata

A Task containing the RPC response.

Overrides

UndeleteRecognizer(UndeleteRecognizerRequest, CallSettings)

public override Operation<Recognizer, OperationMetadata> UndeleteRecognizer(UndeleteRecognizerRequest request, CallSettings callSettings = null)

Undeletes the [Recognizer][google.cloud.speech.v2.Recognizer].

Parameters
Name Description
request UndeleteRecognizerRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationRecognizerOperationMetadata

The RPC response.

Overrides

UndeleteRecognizerAsync(UndeleteRecognizerRequest, CallSettings)

public override Task<Operation<Recognizer, OperationMetadata>> UndeleteRecognizerAsync(UndeleteRecognizerRequest request, CallSettings callSettings = null)

Undeletes the [Recognizer][google.cloud.speech.v2.Recognizer].

Parameters
Name Description
request UndeleteRecognizerRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationRecognizerOperationMetadata

A Task containing the RPC response.

Overrides

UpdateConfig(UpdateConfigRequest, CallSettings)

public override Config UpdateConfig(UpdateConfigRequest request, CallSettings callSettings = null)

Updates the [Config][google.cloud.speech.v2.Config].

Parameters
Name Description
request UpdateConfigRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Config

The RPC response.

Overrides

UpdateConfigAsync(UpdateConfigRequest, CallSettings)

public override Task<Config> UpdateConfigAsync(UpdateConfigRequest request, CallSettings callSettings = null)

Updates the [Config][google.cloud.speech.v2.Config].

Parameters
Name Description
request UpdateConfigRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskConfig

A Task containing the RPC response.

Overrides

UpdateCustomClass(UpdateCustomClassRequest, CallSettings)

public override Operation<CustomClass, OperationMetadata> UpdateCustomClass(UpdateCustomClassRequest request, CallSettings callSettings = null)

Updates the [CustomClass][google.cloud.speech.v2.CustomClass].

Parameters
Name Description
request UpdateCustomClassRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationCustomClassOperationMetadata

The RPC response.

Overrides

UpdateCustomClassAsync(UpdateCustomClassRequest, CallSettings)

public override Task<Operation<CustomClass, OperationMetadata>> UpdateCustomClassAsync(UpdateCustomClassRequest request, CallSettings callSettings = null)

Updates the [CustomClass][google.cloud.speech.v2.CustomClass].

Parameters
Name Description
request UpdateCustomClassRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationCustomClassOperationMetadata

A Task containing the RPC response.

Overrides

UpdatePhraseSet(UpdatePhraseSetRequest, CallSettings)

public override Operation<PhraseSet, OperationMetadata> UpdatePhraseSet(UpdatePhraseSetRequest request, CallSettings callSettings = null)

Updates the [PhraseSet][google.cloud.speech.v2.PhraseSet].

Parameters
Name Description
request UpdatePhraseSetRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationPhraseSetOperationMetadata

The RPC response.

Overrides

UpdatePhraseSetAsync(UpdatePhraseSetRequest, CallSettings)

public override Task<Operation<PhraseSet, OperationMetadata>> UpdatePhraseSetAsync(UpdatePhraseSetRequest request, CallSettings callSettings = null)

Updates the [PhraseSet][google.cloud.speech.v2.PhraseSet].

Parameters
Name Description
request UpdatePhraseSetRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationPhraseSetOperationMetadata

A Task containing the RPC response.

Overrides

UpdateRecognizer(UpdateRecognizerRequest, CallSettings)

public override Operation<Recognizer, OperationMetadata> UpdateRecognizer(UpdateRecognizerRequest request, CallSettings callSettings = null)

Updates the [Recognizer][google.cloud.speech.v2.Recognizer].

Parameters
Name Description
request UpdateRecognizerRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationRecognizerOperationMetadata

The RPC response.

Overrides

UpdateRecognizerAsync(UpdateRecognizerRequest, CallSettings)

public override Task<Operation<Recognizer, OperationMetadata>> UpdateRecognizerAsync(UpdateRecognizerRequest request, CallSettings callSettings = null)

Updates the [Recognizer][google.cloud.speech.v2.Recognizer].

Parameters
Name Description
request UpdateRecognizerRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationRecognizerOperationMetadata

A Task containing the RPC response.

Overrides