public class Speech.SpeechClient : ClientBase<Speech.SpeechClient>
Reference documentation and code samples for the Cloud Speech-to-Text v2 API class Speech.SpeechClient.
Client for Speech
Namespace
Google.Cloud.Speech.V2Assembly
Google.Cloud.Speech.V2.dll
Constructors
SpeechClient()
protected SpeechClient()
Protected parameterless constructor to allow creation of test doubles.
SpeechClient(CallInvoker)
public SpeechClient(CallInvoker callInvoker)
Creates a new client for Speech that uses a custom CallInvoker
.
Parameter | |
---|---|
Name | Description |
callInvoker |
CallInvoker The callInvoker to use to make remote calls. |
SpeechClient(ChannelBase)
public SpeechClient(ChannelBase channel)
Creates a new client for Speech
Parameter | |
---|---|
Name | Description |
channel |
ChannelBase The channel to use to make remote calls. |
SpeechClient(ClientBaseConfiguration)
protected SpeechClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration |
ClientBaseClientBaseConfiguration The client configuration. |
Methods
BatchRecognize(BatchRecognizeRequest, CallOptions)
public virtual Operation BatchRecognize(BatchRecognizeRequest request, CallOptions options)
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 to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
BatchRecognize(BatchRecognizeRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation BatchRecognize(BatchRecognizeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
BatchRecognizeAsync(BatchRecognizeRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> BatchRecognizeAsync(BatchRecognizeRequest request, CallOptions options)
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 to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
BatchRecognizeAsync(BatchRecognizeRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> BatchRecognizeAsync(BatchRecognizeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
CreateCustomClass(CreateCustomClassRequest, CallOptions)
public virtual Operation CreateCustomClass(CreateCustomClassRequest request, CallOptions options)
Creates a [CustomClass][google.cloud.speech.v2.CustomClass].
Parameters | |
---|---|
Name | Description |
request |
CreateCustomClassRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
CreateCustomClass(CreateCustomClassRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation CreateCustomClass(CreateCustomClassRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates a [CustomClass][google.cloud.speech.v2.CustomClass].
Parameters | |
---|---|
Name | Description |
request |
CreateCustomClassRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
CreateCustomClassAsync(CreateCustomClassRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> CreateCustomClassAsync(CreateCustomClassRequest request, CallOptions options)
Creates a [CustomClass][google.cloud.speech.v2.CustomClass].
Parameters | |
---|---|
Name | Description |
request |
CreateCustomClassRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
CreateCustomClassAsync(CreateCustomClassRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> CreateCustomClassAsync(CreateCustomClassRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates a [CustomClass][google.cloud.speech.v2.CustomClass].
Parameters | |
---|---|
Name | Description |
request |
CreateCustomClassRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
CreateLocationsClient()
public virtual Locations.LocationsClient CreateLocationsClient()
Creates a new instance of Locations.LocationsClient using the same call invoker as this client.
Returns | |
---|---|
Type | Description |
LocationsLocationsClient |
A new Locations.LocationsClient for the same target as this client. |
CreateOperationsClient()
public virtual Operations.OperationsClient CreateOperationsClient()
Creates a new instance of Operations.OperationsClient using the same call invoker as this client.
Returns | |
---|---|
Type | Description |
OperationsOperationsClient |
A new Operations client for the same target as this client. |
CreatePhraseSet(CreatePhraseSetRequest, CallOptions)
public virtual Operation CreatePhraseSet(CreatePhraseSetRequest request, CallOptions options)
Creates a [PhraseSet][google.cloud.speech.v2.PhraseSet].
Parameters | |
---|---|
Name | Description |
request |
CreatePhraseSetRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
CreatePhraseSet(CreatePhraseSetRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation CreatePhraseSet(CreatePhraseSetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates a [PhraseSet][google.cloud.speech.v2.PhraseSet].
Parameters | |
---|---|
Name | Description |
request |
CreatePhraseSetRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
CreatePhraseSetAsync(CreatePhraseSetRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> CreatePhraseSetAsync(CreatePhraseSetRequest request, CallOptions options)
Creates a [PhraseSet][google.cloud.speech.v2.PhraseSet].
Parameters | |
---|---|
Name | Description |
request |
CreatePhraseSetRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
CreatePhraseSetAsync(CreatePhraseSetRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> CreatePhraseSetAsync(CreatePhraseSetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates a [PhraseSet][google.cloud.speech.v2.PhraseSet].
Parameters | |
---|---|
Name | Description |
request |
CreatePhraseSetRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
CreateRecognizer(CreateRecognizerRequest, CallOptions)
public virtual Operation CreateRecognizer(CreateRecognizerRequest request, CallOptions options)
Creates a [Recognizer][google.cloud.speech.v2.Recognizer].
Parameters | |
---|---|
Name | Description |
request |
CreateRecognizerRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
CreateRecognizer(CreateRecognizerRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation CreateRecognizer(CreateRecognizerRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates a [Recognizer][google.cloud.speech.v2.Recognizer].
Parameters | |
---|---|
Name | Description |
request |
CreateRecognizerRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
CreateRecognizerAsync(CreateRecognizerRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> CreateRecognizerAsync(CreateRecognizerRequest request, CallOptions options)
Creates a [Recognizer][google.cloud.speech.v2.Recognizer].
Parameters | |
---|---|
Name | Description |
request |
CreateRecognizerRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
CreateRecognizerAsync(CreateRecognizerRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> CreateRecognizerAsync(CreateRecognizerRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates a [Recognizer][google.cloud.speech.v2.Recognizer].
Parameters | |
---|---|
Name | Description |
request |
CreateRecognizerRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
DeleteCustomClass(DeleteCustomClassRequest, CallOptions)
public virtual Operation DeleteCustomClass(DeleteCustomClassRequest request, CallOptions options)
Deletes the [CustomClass][google.cloud.speech.v2.CustomClass].
Parameters | |
---|---|
Name | Description |
request |
DeleteCustomClassRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
DeleteCustomClass(DeleteCustomClassRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation DeleteCustomClass(DeleteCustomClassRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes the [CustomClass][google.cloud.speech.v2.CustomClass].
Parameters | |
---|---|
Name | Description |
request |
DeleteCustomClassRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
DeleteCustomClassAsync(DeleteCustomClassRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteCustomClassAsync(DeleteCustomClassRequest request, CallOptions options)
Deletes the [CustomClass][google.cloud.speech.v2.CustomClass].
Parameters | |
---|---|
Name | Description |
request |
DeleteCustomClassRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
DeleteCustomClassAsync(DeleteCustomClassRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteCustomClassAsync(DeleteCustomClassRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes the [CustomClass][google.cloud.speech.v2.CustomClass].
Parameters | |
---|---|
Name | Description |
request |
DeleteCustomClassRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
DeletePhraseSet(DeletePhraseSetRequest, CallOptions)
public virtual Operation DeletePhraseSet(DeletePhraseSetRequest request, CallOptions options)
Deletes the [PhraseSet][google.cloud.speech.v2.PhraseSet].
Parameters | |
---|---|
Name | Description |
request |
DeletePhraseSetRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
DeletePhraseSet(DeletePhraseSetRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation DeletePhraseSet(DeletePhraseSetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes the [PhraseSet][google.cloud.speech.v2.PhraseSet].
Parameters | |
---|---|
Name | Description |
request |
DeletePhraseSetRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
DeletePhraseSetAsync(DeletePhraseSetRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeletePhraseSetAsync(DeletePhraseSetRequest request, CallOptions options)
Deletes the [PhraseSet][google.cloud.speech.v2.PhraseSet].
Parameters | |
---|---|
Name | Description |
request |
DeletePhraseSetRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
DeletePhraseSetAsync(DeletePhraseSetRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeletePhraseSetAsync(DeletePhraseSetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes the [PhraseSet][google.cloud.speech.v2.PhraseSet].
Parameters | |
---|---|
Name | Description |
request |
DeletePhraseSetRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
DeleteRecognizer(DeleteRecognizerRequest, CallOptions)
public virtual Operation DeleteRecognizer(DeleteRecognizerRequest request, CallOptions options)
Deletes the [Recognizer][google.cloud.speech.v2.Recognizer].
Parameters | |
---|---|
Name | Description |
request |
DeleteRecognizerRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
DeleteRecognizer(DeleteRecognizerRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation DeleteRecognizer(DeleteRecognizerRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes the [Recognizer][google.cloud.speech.v2.Recognizer].
Parameters | |
---|---|
Name | Description |
request |
DeleteRecognizerRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
DeleteRecognizerAsync(DeleteRecognizerRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteRecognizerAsync(DeleteRecognizerRequest request, CallOptions options)
Deletes the [Recognizer][google.cloud.speech.v2.Recognizer].
Parameters | |
---|---|
Name | Description |
request |
DeleteRecognizerRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
DeleteRecognizerAsync(DeleteRecognizerRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteRecognizerAsync(DeleteRecognizerRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes the [Recognizer][google.cloud.speech.v2.Recognizer].
Parameters | |
---|---|
Name | Description |
request |
DeleteRecognizerRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
GetConfig(GetConfigRequest, CallOptions)
public virtual Config GetConfig(GetConfigRequest request, CallOptions options)
Returns the requested [Config][google.cloud.speech.v2.Config].
Parameters | |
---|---|
Name | Description |
request |
GetConfigRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Config |
The response received from the server. |
GetConfig(GetConfigRequest, Metadata, DateTime?, CancellationToken)
public virtual Config GetConfig(GetConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Returns the requested [Config][google.cloud.speech.v2.Config].
Parameters | |
---|---|
Name | Description |
request |
GetConfigRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Config |
The response received from the server. |
GetConfigAsync(GetConfigRequest, CallOptions)
public virtual AsyncUnaryCall<Config> GetConfigAsync(GetConfigRequest request, CallOptions options)
Returns the requested [Config][google.cloud.speech.v2.Config].
Parameters | |
---|---|
Name | Description |
request |
GetConfigRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallConfig |
The call object. |
GetConfigAsync(GetConfigRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Config> GetConfigAsync(GetConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Returns the requested [Config][google.cloud.speech.v2.Config].
Parameters | |
---|---|
Name | Description |
request |
GetConfigRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallConfig |
The call object. |
GetCustomClass(GetCustomClassRequest, CallOptions)
public virtual CustomClass GetCustomClass(GetCustomClassRequest request, CallOptions options)
Returns the requested [CustomClass][google.cloud.speech.v2.CustomClass].
Parameters | |
---|---|
Name | Description |
request |
GetCustomClassRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
CustomClass |
The response received from the server. |
GetCustomClass(GetCustomClassRequest, Metadata, DateTime?, CancellationToken)
public virtual CustomClass GetCustomClass(GetCustomClassRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Returns the requested [CustomClass][google.cloud.speech.v2.CustomClass].
Parameters | |
---|---|
Name | Description |
request |
GetCustomClassRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
CustomClass |
The response received from the server. |
GetCustomClassAsync(GetCustomClassRequest, CallOptions)
public virtual AsyncUnaryCall<CustomClass> GetCustomClassAsync(GetCustomClassRequest request, CallOptions options)
Returns the requested [CustomClass][google.cloud.speech.v2.CustomClass].
Parameters | |
---|---|
Name | Description |
request |
GetCustomClassRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallCustomClass |
The call object. |
GetCustomClassAsync(GetCustomClassRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<CustomClass> GetCustomClassAsync(GetCustomClassRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Returns the requested [CustomClass][google.cloud.speech.v2.CustomClass].
Parameters | |
---|---|
Name | Description |
request |
GetCustomClassRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallCustomClass |
The call object. |
GetPhraseSet(GetPhraseSetRequest, CallOptions)
public virtual PhraseSet GetPhraseSet(GetPhraseSetRequest request, CallOptions options)
Returns the requested [PhraseSet][google.cloud.speech.v2.PhraseSet].
Parameters | |
---|---|
Name | Description |
request |
GetPhraseSetRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
PhraseSet |
The response received from the server. |
GetPhraseSet(GetPhraseSetRequest, Metadata, DateTime?, CancellationToken)
public virtual PhraseSet GetPhraseSet(GetPhraseSetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Returns the requested [PhraseSet][google.cloud.speech.v2.PhraseSet].
Parameters | |
---|---|
Name | Description |
request |
GetPhraseSetRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
PhraseSet |
The response received from the server. |
GetPhraseSetAsync(GetPhraseSetRequest, CallOptions)
public virtual AsyncUnaryCall<PhraseSet> GetPhraseSetAsync(GetPhraseSetRequest request, CallOptions options)
Returns the requested [PhraseSet][google.cloud.speech.v2.PhraseSet].
Parameters | |
---|---|
Name | Description |
request |
GetPhraseSetRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallPhraseSet |
The call object. |
GetPhraseSetAsync(GetPhraseSetRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<PhraseSet> GetPhraseSetAsync(GetPhraseSetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Returns the requested [PhraseSet][google.cloud.speech.v2.PhraseSet].
Parameters | |
---|---|
Name | Description |
request |
GetPhraseSetRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallPhraseSet |
The call object. |
GetRecognizer(GetRecognizerRequest, CallOptions)
public virtual Recognizer GetRecognizer(GetRecognizerRequest request, CallOptions options)
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 to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Recognizer |
The response received from the server. |
GetRecognizer(GetRecognizerRequest, Metadata, DateTime?, CancellationToken)
public virtual Recognizer GetRecognizer(GetRecognizerRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Recognizer |
The response received from the server. |
GetRecognizerAsync(GetRecognizerRequest, CallOptions)
public virtual AsyncUnaryCall<Recognizer> GetRecognizerAsync(GetRecognizerRequest request, CallOptions options)
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 to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallRecognizer |
The call object. |
GetRecognizerAsync(GetRecognizerRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Recognizer> GetRecognizerAsync(GetRecognizerRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallRecognizer |
The call object. |
ListCustomClasses(ListCustomClassesRequest, CallOptions)
public virtual ListCustomClassesResponse ListCustomClasses(ListCustomClassesRequest request, CallOptions options)
Lists CustomClasses.
Parameters | |
---|---|
Name | Description |
request |
ListCustomClassesRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListCustomClassesResponse |
The response received from the server. |
ListCustomClasses(ListCustomClassesRequest, Metadata, DateTime?, CancellationToken)
public virtual ListCustomClassesResponse ListCustomClasses(ListCustomClassesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists CustomClasses.
Parameters | |
---|---|
Name | Description |
request |
ListCustomClassesRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ListCustomClassesResponse |
The response received from the server. |
ListCustomClassesAsync(ListCustomClassesRequest, CallOptions)
public virtual AsyncUnaryCall<ListCustomClassesResponse> ListCustomClassesAsync(ListCustomClassesRequest request, CallOptions options)
Lists CustomClasses.
Parameters | |
---|---|
Name | Description |
request |
ListCustomClassesRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListCustomClassesResponse |
The call object. |
ListCustomClassesAsync(ListCustomClassesRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ListCustomClassesResponse> ListCustomClassesAsync(ListCustomClassesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists CustomClasses.
Parameters | |
---|---|
Name | Description |
request |
ListCustomClassesRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListCustomClassesResponse |
The call object. |
ListPhraseSets(ListPhraseSetsRequest, CallOptions)
public virtual ListPhraseSetsResponse ListPhraseSets(ListPhraseSetsRequest request, CallOptions options)
Lists PhraseSets.
Parameters | |
---|---|
Name | Description |
request |
ListPhraseSetsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListPhraseSetsResponse |
The response received from the server. |
ListPhraseSets(ListPhraseSetsRequest, Metadata, DateTime?, CancellationToken)
public virtual ListPhraseSetsResponse ListPhraseSets(ListPhraseSetsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists PhraseSets.
Parameters | |
---|---|
Name | Description |
request |
ListPhraseSetsRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ListPhraseSetsResponse |
The response received from the server. |
ListPhraseSetsAsync(ListPhraseSetsRequest, CallOptions)
public virtual AsyncUnaryCall<ListPhraseSetsResponse> ListPhraseSetsAsync(ListPhraseSetsRequest request, CallOptions options)
Lists PhraseSets.
Parameters | |
---|---|
Name | Description |
request |
ListPhraseSetsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListPhraseSetsResponse |
The call object. |
ListPhraseSetsAsync(ListPhraseSetsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ListPhraseSetsResponse> ListPhraseSetsAsync(ListPhraseSetsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists PhraseSets.
Parameters | |
---|---|
Name | Description |
request |
ListPhraseSetsRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListPhraseSetsResponse |
The call object. |
ListRecognizers(ListRecognizersRequest, CallOptions)
public virtual ListRecognizersResponse ListRecognizers(ListRecognizersRequest request, CallOptions options)
Lists Recognizers.
Parameters | |
---|---|
Name | Description |
request |
ListRecognizersRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListRecognizersResponse |
The response received from the server. |
ListRecognizers(ListRecognizersRequest, Metadata, DateTime?, CancellationToken)
public virtual ListRecognizersResponse ListRecognizers(ListRecognizersRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists Recognizers.
Parameters | |
---|---|
Name | Description |
request |
ListRecognizersRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ListRecognizersResponse |
The response received from the server. |
ListRecognizersAsync(ListRecognizersRequest, CallOptions)
public virtual AsyncUnaryCall<ListRecognizersResponse> ListRecognizersAsync(ListRecognizersRequest request, CallOptions options)
Lists Recognizers.
Parameters | |
---|---|
Name | Description |
request |
ListRecognizersRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListRecognizersResponse |
The call object. |
ListRecognizersAsync(ListRecognizersRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ListRecognizersResponse> ListRecognizersAsync(ListRecognizersRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists Recognizers.
Parameters | |
---|---|
Name | Description |
request |
ListRecognizersRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListRecognizersResponse |
The call object. |
NewInstance(ClientBaseConfiguration)
protected override Speech.SpeechClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration |
ClientBaseClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
SpeechSpeechClient |
Recognize(RecognizeRequest, CallOptions)
public virtual RecognizeResponse Recognize(RecognizeRequest request, CallOptions options)
Performs synchronous Speech recognition: receive results after all audio has been sent and processed.
Parameters | |
---|---|
Name | Description |
request |
RecognizeRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
RecognizeResponse |
The response received from the server. |
Recognize(RecognizeRequest, Metadata, DateTime?, CancellationToken)
public virtual RecognizeResponse Recognize(RecognizeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Performs synchronous Speech recognition: receive results after all audio has been sent and processed.
Parameters | |
---|---|
Name | Description |
request |
RecognizeRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
RecognizeResponse |
The response received from the server. |
RecognizeAsync(RecognizeRequest, CallOptions)
public virtual AsyncUnaryCall<RecognizeResponse> RecognizeAsync(RecognizeRequest request, CallOptions options)
Performs synchronous Speech recognition: receive results after all audio has been sent and processed.
Parameters | |
---|---|
Name | Description |
request |
RecognizeRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallRecognizeResponse |
The call object. |
RecognizeAsync(RecognizeRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<RecognizeResponse> RecognizeAsync(RecognizeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Performs synchronous Speech recognition: receive results after all audio has been sent and processed.
Parameters | |
---|---|
Name | Description |
request |
RecognizeRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallRecognizeResponse |
The call object. |
StreamingRecognize(CallOptions)
public virtual AsyncDuplexStreamingCall<StreamingRecognizeRequest, StreamingRecognizeResponse> StreamingRecognize(CallOptions options)
Performs bidirectional streaming speech recognition: receive results while sending audio. This method is only available via the gRPC API (not REST).
Parameter | |
---|---|
Name | Description |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncDuplexStreamingCallStreamingRecognizeRequestStreamingRecognizeResponse |
The call object. |
StreamingRecognize(Metadata, DateTime?, CancellationToken)
public virtual AsyncDuplexStreamingCall<StreamingRecognizeRequest, StreamingRecognizeResponse> StreamingRecognize(Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Performs bidirectional streaming speech recognition: receive results while sending audio. This method is only available via the gRPC API (not REST).
Parameters | |
---|---|
Name | Description |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncDuplexStreamingCallStreamingRecognizeRequestStreamingRecognizeResponse |
The call object. |
UndeleteCustomClass(UndeleteCustomClassRequest, CallOptions)
public virtual Operation UndeleteCustomClass(UndeleteCustomClassRequest request, CallOptions options)
Undeletes the [CustomClass][google.cloud.speech.v2.CustomClass].
Parameters | |
---|---|
Name | Description |
request |
UndeleteCustomClassRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
UndeleteCustomClass(UndeleteCustomClassRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation UndeleteCustomClass(UndeleteCustomClassRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Undeletes the [CustomClass][google.cloud.speech.v2.CustomClass].
Parameters | |
---|---|
Name | Description |
request |
UndeleteCustomClassRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
UndeleteCustomClassAsync(UndeleteCustomClassRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> UndeleteCustomClassAsync(UndeleteCustomClassRequest request, CallOptions options)
Undeletes the [CustomClass][google.cloud.speech.v2.CustomClass].
Parameters | |
---|---|
Name | Description |
request |
UndeleteCustomClassRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
UndeleteCustomClassAsync(UndeleteCustomClassRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> UndeleteCustomClassAsync(UndeleteCustomClassRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Undeletes the [CustomClass][google.cloud.speech.v2.CustomClass].
Parameters | |
---|---|
Name | Description |
request |
UndeleteCustomClassRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
UndeletePhraseSet(UndeletePhraseSetRequest, CallOptions)
public virtual Operation UndeletePhraseSet(UndeletePhraseSetRequest request, CallOptions options)
Undeletes the [PhraseSet][google.cloud.speech.v2.PhraseSet].
Parameters | |
---|---|
Name | Description |
request |
UndeletePhraseSetRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
UndeletePhraseSet(UndeletePhraseSetRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation UndeletePhraseSet(UndeletePhraseSetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Undeletes the [PhraseSet][google.cloud.speech.v2.PhraseSet].
Parameters | |
---|---|
Name | Description |
request |
UndeletePhraseSetRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
UndeletePhraseSetAsync(UndeletePhraseSetRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> UndeletePhraseSetAsync(UndeletePhraseSetRequest request, CallOptions options)
Undeletes the [PhraseSet][google.cloud.speech.v2.PhraseSet].
Parameters | |
---|---|
Name | Description |
request |
UndeletePhraseSetRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
UndeletePhraseSetAsync(UndeletePhraseSetRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> UndeletePhraseSetAsync(UndeletePhraseSetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Undeletes the [PhraseSet][google.cloud.speech.v2.PhraseSet].
Parameters | |
---|---|
Name | Description |
request |
UndeletePhraseSetRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
UndeleteRecognizer(UndeleteRecognizerRequest, CallOptions)
public virtual Operation UndeleteRecognizer(UndeleteRecognizerRequest request, CallOptions options)
Undeletes the [Recognizer][google.cloud.speech.v2.Recognizer].
Parameters | |
---|---|
Name | Description |
request |
UndeleteRecognizerRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
UndeleteRecognizer(UndeleteRecognizerRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation UndeleteRecognizer(UndeleteRecognizerRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Undeletes the [Recognizer][google.cloud.speech.v2.Recognizer].
Parameters | |
---|---|
Name | Description |
request |
UndeleteRecognizerRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
UndeleteRecognizerAsync(UndeleteRecognizerRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> UndeleteRecognizerAsync(UndeleteRecognizerRequest request, CallOptions options)
Undeletes the [Recognizer][google.cloud.speech.v2.Recognizer].
Parameters | |
---|---|
Name | Description |
request |
UndeleteRecognizerRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
UndeleteRecognizerAsync(UndeleteRecognizerRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> UndeleteRecognizerAsync(UndeleteRecognizerRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Undeletes the [Recognizer][google.cloud.speech.v2.Recognizer].
Parameters | |
---|---|
Name | Description |
request |
UndeleteRecognizerRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
UpdateConfig(UpdateConfigRequest, CallOptions)
public virtual Config UpdateConfig(UpdateConfigRequest request, CallOptions options)
Updates the [Config][google.cloud.speech.v2.Config].
Parameters | |
---|---|
Name | Description |
request |
UpdateConfigRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Config |
The response received from the server. |
UpdateConfig(UpdateConfigRequest, Metadata, DateTime?, CancellationToken)
public virtual Config UpdateConfig(UpdateConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Updates the [Config][google.cloud.speech.v2.Config].
Parameters | |
---|---|
Name | Description |
request |
UpdateConfigRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Config |
The response received from the server. |
UpdateConfigAsync(UpdateConfigRequest, CallOptions)
public virtual AsyncUnaryCall<Config> UpdateConfigAsync(UpdateConfigRequest request, CallOptions options)
Updates the [Config][google.cloud.speech.v2.Config].
Parameters | |
---|---|
Name | Description |
request |
UpdateConfigRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallConfig |
The call object. |
UpdateConfigAsync(UpdateConfigRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Config> UpdateConfigAsync(UpdateConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Updates the [Config][google.cloud.speech.v2.Config].
Parameters | |
---|---|
Name | Description |
request |
UpdateConfigRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallConfig |
The call object. |
UpdateCustomClass(UpdateCustomClassRequest, CallOptions)
public virtual Operation UpdateCustomClass(UpdateCustomClassRequest request, CallOptions options)
Updates the [CustomClass][google.cloud.speech.v2.CustomClass].
Parameters | |
---|---|
Name | Description |
request |
UpdateCustomClassRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
UpdateCustomClass(UpdateCustomClassRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation UpdateCustomClass(UpdateCustomClassRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Updates the [CustomClass][google.cloud.speech.v2.CustomClass].
Parameters | |
---|---|
Name | Description |
request |
UpdateCustomClassRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
UpdateCustomClassAsync(UpdateCustomClassRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> UpdateCustomClassAsync(UpdateCustomClassRequest request, CallOptions options)
Updates the [CustomClass][google.cloud.speech.v2.CustomClass].
Parameters | |
---|---|
Name | Description |
request |
UpdateCustomClassRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
UpdateCustomClassAsync(UpdateCustomClassRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> UpdateCustomClassAsync(UpdateCustomClassRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Updates the [CustomClass][google.cloud.speech.v2.CustomClass].
Parameters | |
---|---|
Name | Description |
request |
UpdateCustomClassRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
UpdatePhraseSet(UpdatePhraseSetRequest, CallOptions)
public virtual Operation UpdatePhraseSet(UpdatePhraseSetRequest request, CallOptions options)
Updates the [PhraseSet][google.cloud.speech.v2.PhraseSet].
Parameters | |
---|---|
Name | Description |
request |
UpdatePhraseSetRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
UpdatePhraseSet(UpdatePhraseSetRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation UpdatePhraseSet(UpdatePhraseSetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Updates the [PhraseSet][google.cloud.speech.v2.PhraseSet].
Parameters | |
---|---|
Name | Description |
request |
UpdatePhraseSetRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
UpdatePhraseSetAsync(UpdatePhraseSetRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> UpdatePhraseSetAsync(UpdatePhraseSetRequest request, CallOptions options)
Updates the [PhraseSet][google.cloud.speech.v2.PhraseSet].
Parameters | |
---|---|
Name | Description |
request |
UpdatePhraseSetRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
UpdatePhraseSetAsync(UpdatePhraseSetRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> UpdatePhraseSetAsync(UpdatePhraseSetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Updates the [PhraseSet][google.cloud.speech.v2.PhraseSet].
Parameters | |
---|---|
Name | Description |
request |
UpdatePhraseSetRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
UpdateRecognizer(UpdateRecognizerRequest, CallOptions)
public virtual Operation UpdateRecognizer(UpdateRecognizerRequest request, CallOptions options)
Updates the [Recognizer][google.cloud.speech.v2.Recognizer].
Parameters | |
---|---|
Name | Description |
request |
UpdateRecognizerRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
UpdateRecognizer(UpdateRecognizerRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation UpdateRecognizer(UpdateRecognizerRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Updates the [Recognizer][google.cloud.speech.v2.Recognizer].
Parameters | |
---|---|
Name | Description |
request |
UpdateRecognizerRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
UpdateRecognizerAsync(UpdateRecognizerRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> UpdateRecognizerAsync(UpdateRecognizerRequest request, CallOptions options)
Updates the [Recognizer][google.cloud.speech.v2.Recognizer].
Parameters | |
---|---|
Name | Description |
request |
UpdateRecognizerRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
UpdateRecognizerAsync(UpdateRecognizerRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> UpdateRecognizerAsync(UpdateRecognizerRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Updates the [Recognizer][google.cloud.speech.v2.Recognizer].
Parameters | |
---|---|
Name | Description |
request |
UpdateRecognizerRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |