public sealed class SpeechClientImpl : SpeechClientReference documentation and code samples for the Cloud Speech-to-Text v2 API class SpeechClientImpl.
Speech client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Speech.V2Assembly
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 |
SpeechSpeechClientThe underlying gRPC client. |
settings |
SpeechSettingsThe base SpeechSettings used within this client. |
logger |
ILoggerOptional 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 |
|
CreateCustomClassOperationsClient
public override OperationsClient CreateCustomClassOperationsClient { get; }The long-running operations client for CreateCustomClass.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
CreatePhraseSetOperationsClient
public override OperationsClient CreatePhraseSetOperationsClient { get; }The long-running operations client for CreatePhraseSet.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
CreateRecognizerOperationsClient
public override OperationsClient CreateRecognizerOperationsClient { get; }The long-running operations client for CreateRecognizer.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
DeleteCustomClassOperationsClient
public override OperationsClient DeleteCustomClassOperationsClient { get; }The long-running operations client for DeleteCustomClass.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
DeletePhraseSetOperationsClient
public override OperationsClient DeletePhraseSetOperationsClient { get; }The long-running operations client for DeletePhraseSet.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
DeleteRecognizerOperationsClient
public override OperationsClient DeleteRecognizerOperationsClient { get; }The long-running operations client for DeleteRecognizer.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
GrpcClient
public override Speech.SpeechClient GrpcClient { get; }The underlying gRPC Speech client
| Property Value | |
|---|---|
| Type | Description |
SpeechSpeechClient |
|
LocationsClient
public override LocationsClient LocationsClient { get; }The LocationsClient associated with this client.
| Property Value | |
|---|---|
| Type | Description |
LocationsClient |
|
UndeleteCustomClassOperationsClient
public override OperationsClient UndeleteCustomClassOperationsClient { get; }The long-running operations client for UndeleteCustomClass.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
UndeletePhraseSetOperationsClient
public override OperationsClient UndeletePhraseSetOperationsClient { get; }The long-running operations client for UndeletePhraseSet.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
UndeleteRecognizerOperationsClient
public override OperationsClient UndeleteRecognizerOperationsClient { get; }The long-running operations client for UndeleteRecognizer.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
UpdateCustomClassOperationsClient
public override OperationsClient UpdateCustomClassOperationsClient { get; }The long-running operations client for UpdateCustomClass.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
UpdatePhraseSetOperationsClient
public override OperationsClient UpdatePhraseSetOperationsClient { get; }The long-running operations client for UpdatePhraseSet.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
UpdateRecognizerOperationsClient
public override OperationsClient UpdateRecognizerOperationsClient { get; }The long-running operations client for UpdateRecognizer.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
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 |
BatchRecognizeRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationBatchRecognizeResponseOperationMetadata |
The RPC response. |
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 |
BatchRecognizeRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationBatchRecognizeResponseOperationMetadata |
A Task containing the RPC response. |
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 |
CreateCustomClassRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationCustomClassOperationMetadata |
The RPC response. |
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 |
CreateCustomClassRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationCustomClassOperationMetadata |
A Task containing the RPC response. |
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 |
CreatePhraseSetRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationPhraseSetOperationMetadata |
The RPC response. |
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 |
CreatePhraseSetRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationPhraseSetOperationMetadata |
A Task containing the RPC response. |
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 |
CreateRecognizerRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationRecognizerOperationMetadata |
The RPC response. |
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 |
CreateRecognizerRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationRecognizerOperationMetadata |
A Task containing the RPC response. |
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 |
DeleteCustomClassRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationCustomClassOperationMetadata |
The RPC response. |
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 |
DeleteCustomClassRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationCustomClassOperationMetadata |
A Task containing the RPC response. |
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 |
DeletePhraseSetRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationPhraseSetOperationMetadata |
The RPC response. |
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 |
DeletePhraseSetRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationPhraseSetOperationMetadata |
A Task containing the RPC response. |
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 |
DeleteRecognizerRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationRecognizerOperationMetadata |
The RPC response. |
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 |
DeleteRecognizerRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationRecognizerOperationMetadata |
A Task containing the RPC response. |
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 |
GetConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Config |
The RPC response. |
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 |
GetConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskConfig |
A Task containing the RPC response. |
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 |
GetCustomClassRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
CustomClass |
The RPC response. |
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 |
GetCustomClassRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCustomClass |
A Task containing the RPC response. |
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 |
GetPhraseSetRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PhraseSet |
The RPC response. |
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 |
GetPhraseSetRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskPhraseSet |
A Task containing the RPC response. |
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 |
GetRecognizerRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Recognizer |
The RPC response. |
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 |
GetRecognizerRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskRecognizer |
A Task containing the RPC response. |
ListCustomClasses(ListCustomClassesRequest, CallSettings)
public override PagedEnumerable<ListCustomClassesResponse, CustomClass> ListCustomClasses(ListCustomClassesRequest request, CallSettings callSettings = null)Lists CustomClasses.
| Parameters | |
|---|---|
| Name | Description |
request |
ListCustomClassesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListCustomClassesResponseCustomClass |
A pageable sequence of CustomClass resources. |
ListCustomClassesAsync(ListCustomClassesRequest, CallSettings)
public override PagedAsyncEnumerable<ListCustomClassesResponse, CustomClass> ListCustomClassesAsync(ListCustomClassesRequest request, CallSettings callSettings = null)Lists CustomClasses.
| Parameters | |
|---|---|
| Name | Description |
request |
ListCustomClassesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListCustomClassesResponseCustomClass |
A pageable asynchronous sequence of CustomClass resources. |
ListPhraseSets(ListPhraseSetsRequest, CallSettings)
public override PagedEnumerable<ListPhraseSetsResponse, PhraseSet> ListPhraseSets(ListPhraseSetsRequest request, CallSettings callSettings = null)Lists PhraseSets.
| Parameters | |
|---|---|
| Name | Description |
request |
ListPhraseSetsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListPhraseSetsResponsePhraseSet |
A pageable sequence of PhraseSet resources. |
ListPhraseSetsAsync(ListPhraseSetsRequest, CallSettings)
public override PagedAsyncEnumerable<ListPhraseSetsResponse, PhraseSet> ListPhraseSetsAsync(ListPhraseSetsRequest request, CallSettings callSettings = null)Lists PhraseSets.
| Parameters | |
|---|---|
| Name | Description |
request |
ListPhraseSetsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListPhraseSetsResponsePhraseSet |
A pageable asynchronous sequence of PhraseSet resources. |
ListRecognizers(ListRecognizersRequest, CallSettings)
public override PagedEnumerable<ListRecognizersResponse, Recognizer> ListRecognizers(ListRecognizersRequest request, CallSettings callSettings = null)Lists Recognizers.
| Parameters | |
|---|---|
| Name | Description |
request |
ListRecognizersRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListRecognizersResponseRecognizer |
A pageable sequence of Recognizer resources. |
ListRecognizersAsync(ListRecognizersRequest, CallSettings)
public override PagedAsyncEnumerable<ListRecognizersResponse, Recognizer> ListRecognizersAsync(ListRecognizersRequest request, CallSettings callSettings = null)Lists Recognizers.
| Parameters | |
|---|---|
| Name | Description |
request |
ListRecognizersRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListRecognizersResponseRecognizer |
A pageable asynchronous sequence of Recognizer resources. |
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 |
RecognizeRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
RecognizeResponse |
The RPC response. |
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 |
RecognizeRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskRecognizeResponse |
A Task containing the RPC response. |
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 |
CallSettingsIf not null, applies overrides to this RPC call. |
streamingSettings |
BidirectionalStreamingSettingsIf not null, applies streaming overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
SpeechClientStreamingRecognizeStream |
The client-server stream. |
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 |
UndeleteCustomClassRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationCustomClassOperationMetadata |
The RPC response. |
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 |
UndeleteCustomClassRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationCustomClassOperationMetadata |
A Task containing the RPC response. |
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 |
UndeletePhraseSetRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationPhraseSetOperationMetadata |
The RPC response. |
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 |
UndeletePhraseSetRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationPhraseSetOperationMetadata |
A Task containing the RPC response. |
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 |
UndeleteRecognizerRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationRecognizerOperationMetadata |
The RPC response. |
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 |
UndeleteRecognizerRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationRecognizerOperationMetadata |
A Task containing the RPC response. |
UpdateConfig(UpdateConfigRequest, CallSettings)
public override Config UpdateConfig(UpdateConfigRequest request, CallSettings callSettings = null)Updates the [Config][google.cloud.speech.v2.Config].
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Config |
The RPC response. |
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 |
UpdateConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskConfig |
A Task containing the RPC response. |
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 |
UpdateCustomClassRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationCustomClassOperationMetadata |
The RPC response. |
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 |
UpdateCustomClassRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationCustomClassOperationMetadata |
A Task containing the RPC response. |
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 |
UpdatePhraseSetRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationPhraseSetOperationMetadata |
The RPC response. |
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 |
UpdatePhraseSetRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationPhraseSetOperationMetadata |
A Task containing the RPC response. |
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 |
UpdateRecognizerRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationRecognizerOperationMetadata |
The RPC response. |
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 |
UpdateRecognizerRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationRecognizerOperationMetadata |
A Task containing the RPC response. |