Google Cloud Speech v1p1beta1 API - Class AdaptationClientImpl (3.0.0-beta08)

public sealed class AdaptationClientImpl : AdaptationClient

Reference documentation and code samples for the Google Cloud Speech v1p1beta1 API class AdaptationClientImpl.

Adaptation client wrapper implementation, for convenient use.

Inheritance

object > AdaptationClient > AdaptationClientImpl

Namespace

Google.Cloud.Speech.V1P1Beta1

Assembly

Google.Cloud.Speech.V1P1Beta1.dll

Remarks

Service that implements Google Cloud Speech Adaptation API.

Constructors

AdaptationClientImpl(AdaptationClient, AdaptationSettings, ILogger)

public AdaptationClientImpl(Adaptation.AdaptationClient grpcClient, AdaptationSettings settings, ILogger logger)

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

Parameters
Name Description
grpcClient AdaptationAdaptationClient

The underlying gRPC client.

settings AdaptationSettings

The base AdaptationSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override Adaptation.AdaptationClient GrpcClient { get; }

The underlying gRPC Adaptation client

Property Value
Type Description
AdaptationAdaptationClient
Overrides

Methods

CreateCustomClass(CreateCustomClassRequest, CallSettings)

public override CustomClass CreateCustomClass(CreateCustomClassRequest request, CallSettings callSettings = null)

Create a custom class.

Parameters
Name Description
request CreateCustomClassRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
CustomClass

The RPC response.

Overrides

CreateCustomClassAsync(CreateCustomClassRequest, CallSettings)

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

Create a custom class.

Parameters
Name Description
request CreateCustomClassRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskCustomClass

A Task containing the RPC response.

Overrides

CreatePhraseSet(CreatePhraseSetRequest, CallSettings)

public override PhraseSet CreatePhraseSet(CreatePhraseSetRequest request, CallSettings callSettings = null)

Create a set of phrase hints. Each item in the set can be a single word or a multi-word phrase. The items in the PhraseSet are favored by the recognition model when you send a call that includes the PhraseSet.

Parameters
Name Description
request CreatePhraseSetRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PhraseSet

The RPC response.

Overrides

CreatePhraseSetAsync(CreatePhraseSetRequest, CallSettings)

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

Create a set of phrase hints. Each item in the set can be a single word or a multi-word phrase. The items in the PhraseSet are favored by the recognition model when you send a call that includes the PhraseSet.

Parameters
Name Description
request CreatePhraseSetRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskPhraseSet

A Task containing the RPC response.

Overrides

DeleteCustomClass(DeleteCustomClassRequest, CallSettings)

public override void DeleteCustomClass(DeleteCustomClassRequest request, CallSettings callSettings = null)

Delete a custom class.

Parameters
Name Description
request DeleteCustomClassRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Overrides

DeleteCustomClassAsync(DeleteCustomClassRequest, CallSettings)

public override Task DeleteCustomClassAsync(DeleteCustomClassRequest request, CallSettings callSettings = null)

Delete a custom class.

Parameters
Name Description
request DeleteCustomClassRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task

A Task containing the RPC response.

Overrides

DeletePhraseSet(DeletePhraseSetRequest, CallSettings)

public override void DeletePhraseSet(DeletePhraseSetRequest request, CallSettings callSettings = null)

Delete a phrase set.

Parameters
Name Description
request DeletePhraseSetRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Overrides

DeletePhraseSetAsync(DeletePhraseSetRequest, CallSettings)

public override Task DeletePhraseSetAsync(DeletePhraseSetRequest request, CallSettings callSettings = null)

Delete a phrase set.

Parameters
Name Description
request DeletePhraseSetRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task

A Task containing the RPC response.

Overrides

GetCustomClass(GetCustomClassRequest, CallSettings)

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

Get a custom class.

Parameters
Name Description
request GetCustomClassRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
CustomClass

The RPC response.

Overrides

GetCustomClassAsync(GetCustomClassRequest, CallSettings)

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

Get a custom class.

Parameters
Name Description
request GetCustomClassRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskCustomClass

A Task containing the RPC response.

Overrides

GetPhraseSet(GetPhraseSetRequest, CallSettings)

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

Get a phrase set.

Parameters
Name Description
request GetPhraseSetRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PhraseSet

The RPC response.

Overrides

GetPhraseSetAsync(GetPhraseSetRequest, CallSettings)

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

Get a phrase set.

Parameters
Name Description
request GetPhraseSetRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskPhraseSet

A Task containing the RPC response.

Overrides

ListCustomClasses(ListCustomClassesRequest, CallSettings)

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

List custom classes.

Parameters
Name Description
request ListCustomClassesRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListCustomClassesResponseCustomClass

A pageable sequence of CustomClass resources.

Overrides

ListCustomClassesAsync(ListCustomClassesRequest, CallSettings)

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

List custom classes.

Parameters
Name Description
request ListCustomClassesRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListCustomClassesResponseCustomClass

A pageable asynchronous sequence of CustomClass resources.

Overrides

ListPhraseSet(ListPhraseSetRequest, CallSettings)

public override PagedEnumerable<ListPhraseSetResponse, PhraseSet> ListPhraseSet(ListPhraseSetRequest request, CallSettings callSettings = null)

List phrase sets.

Parameters
Name Description
request ListPhraseSetRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListPhraseSetResponsePhraseSet

A pageable sequence of PhraseSet resources.

Overrides

ListPhraseSetAsync(ListPhraseSetRequest, CallSettings)

public override PagedAsyncEnumerable<ListPhraseSetResponse, PhraseSet> ListPhraseSetAsync(ListPhraseSetRequest request, CallSettings callSettings = null)

List phrase sets.

Parameters
Name Description
request ListPhraseSetRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListPhraseSetResponsePhraseSet

A pageable asynchronous sequence of PhraseSet resources.

Overrides

UpdateCustomClass(UpdateCustomClassRequest, CallSettings)

public override CustomClass UpdateCustomClass(UpdateCustomClassRequest request, CallSettings callSettings = null)

Update a custom class.

Parameters
Name Description
request UpdateCustomClassRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
CustomClass

The RPC response.

Overrides

UpdateCustomClassAsync(UpdateCustomClassRequest, CallSettings)

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

Update a custom class.

Parameters
Name Description
request UpdateCustomClassRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskCustomClass

A Task containing the RPC response.

Overrides

UpdatePhraseSet(UpdatePhraseSetRequest, CallSettings)

public override PhraseSet UpdatePhraseSet(UpdatePhraseSetRequest request, CallSettings callSettings = null)

Update a phrase set.

Parameters
Name Description
request UpdatePhraseSetRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PhraseSet

The RPC response.

Overrides

UpdatePhraseSetAsync(UpdatePhraseSetRequest, CallSettings)

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

Update a phrase set.

Parameters
Name Description
request UpdatePhraseSetRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskPhraseSet

A Task containing the RPC response.

Overrides