Class Adaptation.AdaptationClient (3.0.0-beta01)

Stay organized with collections Save and categorize content based on your preferences.
public class AdaptationClient : ClientBase<Adaptation.AdaptationClient>

Client for Adaptation

Inheritance

Object > ClientBase > ClientBase<Adaptation.AdaptationClient> > Adaptation.AdaptationClient

Namespace

Google.Cloud.Speech.V1P1Beta1

Assembly

Google.Cloud.Speech.V1P1Beta1.dll

Constructors

AdaptationClient()

protected AdaptationClient()

Protected parameterless constructor to allow creation of test doubles.

AdaptationClient(CallInvoker)

public AdaptationClient(CallInvoker callInvoker)

Creates a new client for Adaptation that uses a custom CallInvoker.

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

AdaptationClient(ChannelBase)

public AdaptationClient(ChannelBase channel)

Creates a new client for Adaptation

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

AdaptationClient(ClientBase.ClientBaseConfiguration)

protected AdaptationClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

The client configuration.

Methods

CreateCustomClass(CreateCustomClassRequest, CallOptions)

public virtual CustomClass CreateCustomClass(CreateCustomClassRequest request, CallOptions options)

Create a custom class.

Parameters
NameDescription
requestCreateCustomClassRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
CustomClass

The response received from the server.

CreateCustomClass(CreateCustomClassRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual CustomClass CreateCustomClass(CreateCustomClassRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Create a custom class.

Parameters
NameDescription
requestCreateCustomClassRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
CustomClass

The response received from the server.

CreateCustomClassAsync(CreateCustomClassRequest, CallOptions)

public virtual AsyncUnaryCall<CustomClass> CreateCustomClassAsync(CreateCustomClassRequest request, CallOptions options)

Create a custom class.

Parameters
NameDescription
requestCreateCustomClassRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<CustomClass>

The call object.

CreateCustomClassAsync(CreateCustomClassRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<CustomClass> CreateCustomClassAsync(CreateCustomClassRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Create a custom class.

Parameters
NameDescription
requestCreateCustomClassRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<CustomClass>

The call object.

CreatePhraseSet(CreatePhraseSetRequest, CallOptions)

public virtual PhraseSet CreatePhraseSet(CreatePhraseSetRequest request, CallOptions options)

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

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
PhraseSet

The response received from the server.

CreatePhraseSet(CreatePhraseSetRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual PhraseSet CreatePhraseSet(CreatePhraseSetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

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

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
PhraseSet

The response received from the server.

CreatePhraseSetAsync(CreatePhraseSetRequest, CallOptions)

public virtual AsyncUnaryCall<PhraseSet> CreatePhraseSetAsync(CreatePhraseSetRequest request, CallOptions options)

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

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<PhraseSet>

The call object.

CreatePhraseSetAsync(CreatePhraseSetRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<PhraseSet> CreatePhraseSetAsync(CreatePhraseSetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

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

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<PhraseSet>

The call object.

DeleteCustomClass(DeleteCustomClassRequest, CallOptions)

public virtual Empty DeleteCustomClass(DeleteCustomClassRequest request, CallOptions options)

Delete a custom class.

Parameters
NameDescription
requestDeleteCustomClassRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteCustomClass(DeleteCustomClassRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Empty DeleteCustomClass(DeleteCustomClassRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Delete a custom class.

Parameters
NameDescription
requestDeleteCustomClassRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteCustomClassAsync(DeleteCustomClassRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteCustomClassAsync(DeleteCustomClassRequest request, CallOptions options)

Delete a custom class.

Parameters
NameDescription
requestDeleteCustomClassRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

DeleteCustomClassAsync(DeleteCustomClassRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeleteCustomClassAsync(DeleteCustomClassRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Delete a custom class.

Parameters
NameDescription
requestDeleteCustomClassRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

DeletePhraseSet(DeletePhraseSetRequest, CallOptions)

public virtual Empty DeletePhraseSet(DeletePhraseSetRequest request, CallOptions options)

Delete a phrase set.

Parameters
NameDescription
requestDeletePhraseSetRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

DeletePhraseSet(DeletePhraseSetRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Empty DeletePhraseSet(DeletePhraseSetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Delete a phrase set.

Parameters
NameDescription
requestDeletePhraseSetRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Empty

The response received from the server.

DeletePhraseSetAsync(DeletePhraseSetRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeletePhraseSetAsync(DeletePhraseSetRequest request, CallOptions options)

Delete a phrase set.

Parameters
NameDescription
requestDeletePhraseSetRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

DeletePhraseSetAsync(DeletePhraseSetRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeletePhraseSetAsync(DeletePhraseSetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Delete a phrase set.

Parameters
NameDescription
requestDeletePhraseSetRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

GetCustomClass(GetCustomClassRequest, CallOptions)

public virtual CustomClass GetCustomClass(GetCustomClassRequest request, CallOptions options)

Get a custom class.

Parameters
NameDescription
requestGetCustomClassRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
CustomClass

The response received from the server.

GetCustomClass(GetCustomClassRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual CustomClass GetCustomClass(GetCustomClassRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Get a custom class.

Parameters
NameDescription
requestGetCustomClassRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
CustomClass

The response received from the server.

GetCustomClassAsync(GetCustomClassRequest, CallOptions)

public virtual AsyncUnaryCall<CustomClass> GetCustomClassAsync(GetCustomClassRequest request, CallOptions options)

Get a custom class.

Parameters
NameDescription
requestGetCustomClassRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<CustomClass>

The call object.

GetCustomClassAsync(GetCustomClassRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<CustomClass> GetCustomClassAsync(GetCustomClassRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Get a custom class.

Parameters
NameDescription
requestGetCustomClassRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<CustomClass>

The call object.

GetPhraseSet(GetPhraseSetRequest, CallOptions)

public virtual PhraseSet GetPhraseSet(GetPhraseSetRequest request, CallOptions options)

Get a phrase set.

Parameters
NameDescription
requestGetPhraseSetRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
PhraseSet

The response received from the server.

GetPhraseSet(GetPhraseSetRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual PhraseSet GetPhraseSet(GetPhraseSetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Get a phrase set.

Parameters
NameDescription
requestGetPhraseSetRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
PhraseSet

The response received from the server.

GetPhraseSetAsync(GetPhraseSetRequest, CallOptions)

public virtual AsyncUnaryCall<PhraseSet> GetPhraseSetAsync(GetPhraseSetRequest request, CallOptions options)

Get a phrase set.

Parameters
NameDescription
requestGetPhraseSetRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<PhraseSet>

The call object.

GetPhraseSetAsync(GetPhraseSetRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<PhraseSet> GetPhraseSetAsync(GetPhraseSetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Get a phrase set.

Parameters
NameDescription
requestGetPhraseSetRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<PhraseSet>

The call object.

ListCustomClasses(ListCustomClassesRequest, CallOptions)

public virtual ListCustomClassesResponse ListCustomClasses(ListCustomClassesRequest request, CallOptions options)

List custom classes.

Parameters
NameDescription
requestListCustomClassesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListCustomClassesResponse

The response received from the server.

ListCustomClasses(ListCustomClassesRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ListCustomClassesResponse ListCustomClasses(ListCustomClassesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

List custom classes.

Parameters
NameDescription
requestListCustomClassesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListCustomClassesResponse

The response received from the server.

ListCustomClassesAsync(ListCustomClassesRequest, CallOptions)

public virtual AsyncUnaryCall<ListCustomClassesResponse> ListCustomClassesAsync(ListCustomClassesRequest request, CallOptions options)

List custom classes.

Parameters
NameDescription
requestListCustomClassesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListCustomClassesResponse>

The call object.

ListCustomClassesAsync(ListCustomClassesRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ListCustomClassesResponse> ListCustomClassesAsync(ListCustomClassesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

List custom classes.

Parameters
NameDescription
requestListCustomClassesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<ListCustomClassesResponse>

The call object.

ListPhraseSet(ListPhraseSetRequest, CallOptions)

public virtual ListPhraseSetResponse ListPhraseSet(ListPhraseSetRequest request, CallOptions options)

List phrase sets.

Parameters
NameDescription
requestListPhraseSetRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListPhraseSetResponse

The response received from the server.

ListPhraseSet(ListPhraseSetRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ListPhraseSetResponse ListPhraseSet(ListPhraseSetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

List phrase sets.

Parameters
NameDescription
requestListPhraseSetRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListPhraseSetResponse

The response received from the server.

ListPhraseSetAsync(ListPhraseSetRequest, CallOptions)

public virtual AsyncUnaryCall<ListPhraseSetResponse> ListPhraseSetAsync(ListPhraseSetRequest request, CallOptions options)

List phrase sets.

Parameters
NameDescription
requestListPhraseSetRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListPhraseSetResponse>

The call object.

ListPhraseSetAsync(ListPhraseSetRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ListPhraseSetResponse> ListPhraseSetAsync(ListPhraseSetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

List phrase sets.

Parameters
NameDescription
requestListPhraseSetRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<ListPhraseSetResponse>

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

protected override Adaptation.AdaptationClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
Adaptation.AdaptationClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.Speech.V1P1Beta1.Adaptation.AdaptationClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

UpdateCustomClass(UpdateCustomClassRequest, CallOptions)

public virtual CustomClass UpdateCustomClass(UpdateCustomClassRequest request, CallOptions options)

Update a custom class.

Parameters
NameDescription
requestUpdateCustomClassRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
CustomClass

The response received from the server.

UpdateCustomClass(UpdateCustomClassRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual CustomClass UpdateCustomClass(UpdateCustomClassRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Update a custom class.

Parameters
NameDescription
requestUpdateCustomClassRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
CustomClass

The response received from the server.

UpdateCustomClassAsync(UpdateCustomClassRequest, CallOptions)

public virtual AsyncUnaryCall<CustomClass> UpdateCustomClassAsync(UpdateCustomClassRequest request, CallOptions options)

Update a custom class.

Parameters
NameDescription
requestUpdateCustomClassRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<CustomClass>

The call object.

UpdateCustomClassAsync(UpdateCustomClassRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<CustomClass> UpdateCustomClassAsync(UpdateCustomClassRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Update a custom class.

Parameters
NameDescription
requestUpdateCustomClassRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<CustomClass>

The call object.

UpdatePhraseSet(UpdatePhraseSetRequest, CallOptions)

public virtual PhraseSet UpdatePhraseSet(UpdatePhraseSetRequest request, CallOptions options)

Update a phrase set.

Parameters
NameDescription
requestUpdatePhraseSetRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
PhraseSet

The response received from the server.

UpdatePhraseSet(UpdatePhraseSetRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual PhraseSet UpdatePhraseSet(UpdatePhraseSetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Update a phrase set.

Parameters
NameDescription
requestUpdatePhraseSetRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
PhraseSet

The response received from the server.

UpdatePhraseSetAsync(UpdatePhraseSetRequest, CallOptions)

public virtual AsyncUnaryCall<PhraseSet> UpdatePhraseSetAsync(UpdatePhraseSetRequest request, CallOptions options)

Update a phrase set.

Parameters
NameDescription
requestUpdatePhraseSetRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<PhraseSet>

The call object.

UpdatePhraseSetAsync(UpdatePhraseSetRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<PhraseSet> UpdatePhraseSetAsync(UpdatePhraseSetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Update a phrase set.

Parameters
NameDescription
requestUpdatePhraseSetRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<PhraseSet>

The call object.