Cloud Speech-to-Text v2 API - Class SpeechClientImpl (1.0.0-beta09)

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
NameDescription
grpcClientSpeechSpeechClient

The underlying gRPC client.

settingsSpeechSettings

The base SpeechSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

BatchRecognizeOperationsClient

public override OperationsClient BatchRecognizeOperationsClient { get; }

The long-running operations client for BatchRecognize.

Property Value
TypeDescription
OperationsClient
Overrides

CreateCustomClassOperationsClient

public override OperationsClient CreateCustomClassOperationsClient { get; }

The long-running operations client for CreateCustomClass.

Property Value
TypeDescription
OperationsClient
Overrides

CreatePhraseSetOperationsClient

public override OperationsClient CreatePhraseSetOperationsClient { get; }

The long-running operations client for CreatePhraseSet.

Property Value
TypeDescription
OperationsClient
Overrides

CreateRecognizerOperationsClient

public override OperationsClient CreateRecognizerOperationsClient { get; }

The long-running operations client for CreateRecognizer.

Property Value
TypeDescription
OperationsClient
Overrides

DeleteCustomClassOperationsClient

public override OperationsClient DeleteCustomClassOperationsClient { get; }

The long-running operations client for DeleteCustomClass.

Property Value
TypeDescription
OperationsClient
Overrides

DeletePhraseSetOperationsClient

public override OperationsClient DeletePhraseSetOperationsClient { get; }

The long-running operations client for DeletePhraseSet.

Property Value
TypeDescription
OperationsClient
Overrides

DeleteRecognizerOperationsClient

public override OperationsClient DeleteRecognizerOperationsClient { get; }

The long-running operations client for DeleteRecognizer.

Property Value
TypeDescription
OperationsClient
Overrides

GrpcClient

public override Speech.SpeechClient GrpcClient { get; }

The underlying gRPC Speech client

Property Value
TypeDescription
SpeechSpeechClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
TypeDescription
LocationsClient
Overrides

UndeleteCustomClassOperationsClient

public override OperationsClient UndeleteCustomClassOperationsClient { get; }

The long-running operations client for UndeleteCustomClass.

Property Value
TypeDescription
OperationsClient
Overrides

UndeletePhraseSetOperationsClient

public override OperationsClient UndeletePhraseSetOperationsClient { get; }

The long-running operations client for UndeletePhraseSet.

Property Value
TypeDescription
OperationsClient
Overrides

UndeleteRecognizerOperationsClient

public override OperationsClient UndeleteRecognizerOperationsClient { get; }

The long-running operations client for UndeleteRecognizer.

Property Value
TypeDescription
OperationsClient
Overrides

UpdateCustomClassOperationsClient

public override OperationsClient UpdateCustomClassOperationsClient { get; }

The long-running operations client for UpdateCustomClass.

Property Value
TypeDescription
OperationsClient
Overrides

UpdatePhraseSetOperationsClient

public override OperationsClient UpdatePhraseSetOperationsClient { get; }

The long-running operations client for UpdatePhraseSet.

Property Value
TypeDescription
OperationsClient
Overrides

UpdateRecognizerOperationsClient

public override OperationsClient UpdateRecognizerOperationsClient { get; }

The long-running operations client for UpdateRecognizer.

Property Value
TypeDescription
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
NameDescription
requestBatchRecognizeRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestBatchRecognizeRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestCreateCustomClassRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestCreateCustomClassRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestCreatePhraseSetRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestCreatePhraseSetRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestCreateRecognizerRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestCreateRecognizerRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestDeleteCustomClassRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestDeleteCustomClassRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestDeletePhraseSetRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestDeletePhraseSetRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestDeleteRecognizerRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestDeleteRecognizerRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestGetConfigRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestGetConfigRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestGetCustomClassRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestGetCustomClassRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestGetPhraseSetRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestGetPhraseSetRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestGetRecognizerRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestGetRecognizerRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestListCustomClassesRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestListCustomClassesRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestListPhraseSetsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestListPhraseSetsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestListRecognizersRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestListRecognizersRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestRecognizeRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestRecognizeRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
callSettingsCallSettings

If not null, applies overrides to this RPC call.

streamingSettingsBidirectionalStreamingSettings

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

Returns
TypeDescription
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
NameDescription
requestUndeleteCustomClassRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestUndeleteCustomClassRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestUndeletePhraseSetRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestUndeletePhraseSetRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestUndeleteRecognizerRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestUndeleteRecognizerRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestUpdateConfigRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestUpdateConfigRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestUpdateCustomClassRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestUpdateCustomClassRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestUpdatePhraseSetRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestUpdatePhraseSetRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestUpdateRecognizerRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestUpdateRecognizerRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationRecognizerOperationMetadata

A Task containing the RPC response.

Overrides