Google Cloud Translation v3 API - Class TranslationService.TranslationServiceClient (3.9.0)

public class TranslationService.TranslationServiceClient : ClientBase<TranslationService.TranslationServiceClient>

Reference documentation and code samples for the Google Cloud Translation v3 API class TranslationService.TranslationServiceClient.

Client for TranslationService

Inheritance

object > ClientBase > ClientBaseTranslationServiceTranslationServiceClient > TranslationService.TranslationServiceClient

Namespace

Google.Cloud.Translate.V3

Assembly

Google.Cloud.Translate.V3.dll

Constructors

TranslationServiceClient()

protected TranslationServiceClient()

Protected parameterless constructor to allow creation of test doubles.

TranslationServiceClient(CallInvoker)

public TranslationServiceClient(CallInvoker callInvoker)

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

Parameter
Name Description
callInvoker CallInvoker

The callInvoker to use to make remote calls.

TranslationServiceClient(ChannelBase)

public TranslationServiceClient(ChannelBase channel)

Creates a new client for TranslationService

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

TranslationServiceClient(ClientBaseConfiguration)

protected TranslationServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration

The client configuration.

Methods

AdaptiveMtTranslate(AdaptiveMtTranslateRequest, CallOptions)

public virtual AdaptiveMtTranslateResponse AdaptiveMtTranslate(AdaptiveMtTranslateRequest request, CallOptions options)

Translate text using Adaptive MT.

Parameters
Name Description
request AdaptiveMtTranslateRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AdaptiveMtTranslateResponse

The response received from the server.

AdaptiveMtTranslate(AdaptiveMtTranslateRequest, Metadata, DateTime?, CancellationToken)

public virtual AdaptiveMtTranslateResponse AdaptiveMtTranslate(AdaptiveMtTranslateRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Translate text using Adaptive MT.

Parameters
Name Description
request AdaptiveMtTranslateRequest

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
AdaptiveMtTranslateResponse

The response received from the server.

AdaptiveMtTranslateAsync(AdaptiveMtTranslateRequest, CallOptions)

public virtual AsyncUnaryCall<AdaptiveMtTranslateResponse> AdaptiveMtTranslateAsync(AdaptiveMtTranslateRequest request, CallOptions options)

Translate text using Adaptive MT.

Parameters
Name Description
request AdaptiveMtTranslateRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallAdaptiveMtTranslateResponse

The call object.

AdaptiveMtTranslateAsync(AdaptiveMtTranslateRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<AdaptiveMtTranslateResponse> AdaptiveMtTranslateAsync(AdaptiveMtTranslateRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Translate text using Adaptive MT.

Parameters
Name Description
request AdaptiveMtTranslateRequest

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
AsyncUnaryCallAdaptiveMtTranslateResponse

The call object.

BatchTranslateDocument(BatchTranslateDocumentRequest, CallOptions)

public virtual Operation BatchTranslateDocument(BatchTranslateDocumentRequest request, CallOptions options)

Translates a large volume of document in asynchronous batch mode. This function provides real-time output as the inputs are being processed. If caller cancels a request, the partial results (for an input file, it's all or nothing) may still be available on the specified output location.

This call returns immediately and you can use google.longrunning.Operation.name to poll the status of the call.

Parameters
Name Description
request BatchTranslateDocumentRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

BatchTranslateDocument(BatchTranslateDocumentRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation BatchTranslateDocument(BatchTranslateDocumentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Translates a large volume of document in asynchronous batch mode. This function provides real-time output as the inputs are being processed. If caller cancels a request, the partial results (for an input file, it's all or nothing) may still be available on the specified output location.

This call returns immediately and you can use google.longrunning.Operation.name to poll the status of the call.

Parameters
Name Description
request BatchTranslateDocumentRequest

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.

BatchTranslateDocumentAsync(BatchTranslateDocumentRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> BatchTranslateDocumentAsync(BatchTranslateDocumentRequest request, CallOptions options)

Translates a large volume of document in asynchronous batch mode. This function provides real-time output as the inputs are being processed. If caller cancels a request, the partial results (for an input file, it's all or nothing) may still be available on the specified output location.

This call returns immediately and you can use google.longrunning.Operation.name to poll the status of the call.

Parameters
Name Description
request BatchTranslateDocumentRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

BatchTranslateDocumentAsync(BatchTranslateDocumentRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> BatchTranslateDocumentAsync(BatchTranslateDocumentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Translates a large volume of document in asynchronous batch mode. This function provides real-time output as the inputs are being processed. If caller cancels a request, the partial results (for an input file, it's all or nothing) may still be available on the specified output location.

This call returns immediately and you can use google.longrunning.Operation.name to poll the status of the call.

Parameters
Name Description
request BatchTranslateDocumentRequest

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.

BatchTranslateText(BatchTranslateTextRequest, CallOptions)

public virtual Operation BatchTranslateText(BatchTranslateTextRequest request, CallOptions options)

Translates a large volume of text in asynchronous batch mode. This function provides real-time output as the inputs are being processed. If caller cancels a request, the partial results (for an input file, it's all or nothing) may still be available on the specified output location.

This call returns immediately and you can use google.longrunning.Operation.name to poll the status of the call.

Parameters
Name Description
request BatchTranslateTextRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

BatchTranslateText(BatchTranslateTextRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation BatchTranslateText(BatchTranslateTextRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Translates a large volume of text in asynchronous batch mode. This function provides real-time output as the inputs are being processed. If caller cancels a request, the partial results (for an input file, it's all or nothing) may still be available on the specified output location.

This call returns immediately and you can use google.longrunning.Operation.name to poll the status of the call.

Parameters
Name Description
request BatchTranslateTextRequest

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.

BatchTranslateTextAsync(BatchTranslateTextRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> BatchTranslateTextAsync(BatchTranslateTextRequest request, CallOptions options)

Translates a large volume of text in asynchronous batch mode. This function provides real-time output as the inputs are being processed. If caller cancels a request, the partial results (for an input file, it's all or nothing) may still be available on the specified output location.

This call returns immediately and you can use google.longrunning.Operation.name to poll the status of the call.

Parameters
Name Description
request BatchTranslateTextRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

BatchTranslateTextAsync(BatchTranslateTextRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> BatchTranslateTextAsync(BatchTranslateTextRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Translates a large volume of text in asynchronous batch mode. This function provides real-time output as the inputs are being processed. If caller cancels a request, the partial results (for an input file, it's all or nothing) may still be available on the specified output location.

This call returns immediately and you can use google.longrunning.Operation.name to poll the status of the call.

Parameters
Name Description
request BatchTranslateTextRequest

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.

CreateAdaptiveMtDataset(CreateAdaptiveMtDatasetRequest, CallOptions)

public virtual AdaptiveMtDataset CreateAdaptiveMtDataset(CreateAdaptiveMtDatasetRequest request, CallOptions options)

Creates an Adaptive MT dataset.

Parameters
Name Description
request CreateAdaptiveMtDatasetRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AdaptiveMtDataset

The response received from the server.

CreateAdaptiveMtDataset(CreateAdaptiveMtDatasetRequest, Metadata, DateTime?, CancellationToken)

public virtual AdaptiveMtDataset CreateAdaptiveMtDataset(CreateAdaptiveMtDatasetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates an Adaptive MT dataset.

Parameters
Name Description
request CreateAdaptiveMtDatasetRequest

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
AdaptiveMtDataset

The response received from the server.

CreateAdaptiveMtDatasetAsync(CreateAdaptiveMtDatasetRequest, CallOptions)

public virtual AsyncUnaryCall<AdaptiveMtDataset> CreateAdaptiveMtDatasetAsync(CreateAdaptiveMtDatasetRequest request, CallOptions options)

Creates an Adaptive MT dataset.

Parameters
Name Description
request CreateAdaptiveMtDatasetRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallAdaptiveMtDataset

The call object.

CreateAdaptiveMtDatasetAsync(CreateAdaptiveMtDatasetRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<AdaptiveMtDataset> CreateAdaptiveMtDatasetAsync(CreateAdaptiveMtDatasetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates an Adaptive MT dataset.

Parameters
Name Description
request CreateAdaptiveMtDatasetRequest

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
AsyncUnaryCallAdaptiveMtDataset

The call object.

CreateDataset(CreateDatasetRequest, CallOptions)

public virtual Operation CreateDataset(CreateDatasetRequest request, CallOptions options)

Creates a Dataset.

Parameters
Name Description
request CreateDatasetRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

CreateDataset(CreateDatasetRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation CreateDataset(CreateDatasetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a Dataset.

Parameters
Name Description
request CreateDatasetRequest

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.

CreateDatasetAsync(CreateDatasetRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateDatasetAsync(CreateDatasetRequest request, CallOptions options)

Creates a Dataset.

Parameters
Name Description
request CreateDatasetRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

CreateDatasetAsync(CreateDatasetRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> CreateDatasetAsync(CreateDatasetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a Dataset.

Parameters
Name Description
request CreateDatasetRequest

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.

CreateGlossary(CreateGlossaryRequest, CallOptions)

public virtual Operation CreateGlossary(CreateGlossaryRequest request, CallOptions options)

Creates a glossary and returns the long-running operation. Returns NOT_FOUND, if the project doesn't exist.

Parameters
Name Description
request CreateGlossaryRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

CreateGlossary(CreateGlossaryRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation CreateGlossary(CreateGlossaryRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a glossary and returns the long-running operation. Returns NOT_FOUND, if the project doesn't exist.

Parameters
Name Description
request CreateGlossaryRequest

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.

CreateGlossaryAsync(CreateGlossaryRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateGlossaryAsync(CreateGlossaryRequest request, CallOptions options)

Creates a glossary and returns the long-running operation. Returns NOT_FOUND, if the project doesn't exist.

Parameters
Name Description
request CreateGlossaryRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

CreateGlossaryAsync(CreateGlossaryRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> CreateGlossaryAsync(CreateGlossaryRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a glossary and returns the long-running operation. Returns NOT_FOUND, if the project doesn't exist.

Parameters
Name Description
request CreateGlossaryRequest

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.

CreateGlossaryEntry(CreateGlossaryEntryRequest, CallOptions)

public virtual GlossaryEntry CreateGlossaryEntry(CreateGlossaryEntryRequest request, CallOptions options)

Creates a glossary entry.

Parameters
Name Description
request CreateGlossaryEntryRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
GlossaryEntry

The response received from the server.

CreateGlossaryEntry(CreateGlossaryEntryRequest, Metadata, DateTime?, CancellationToken)

public virtual GlossaryEntry CreateGlossaryEntry(CreateGlossaryEntryRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a glossary entry.

Parameters
Name Description
request CreateGlossaryEntryRequest

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
GlossaryEntry

The response received from the server.

CreateGlossaryEntryAsync(CreateGlossaryEntryRequest, CallOptions)

public virtual AsyncUnaryCall<GlossaryEntry> CreateGlossaryEntryAsync(CreateGlossaryEntryRequest request, CallOptions options)

Creates a glossary entry.

Parameters
Name Description
request CreateGlossaryEntryRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallGlossaryEntry

The call object.

CreateGlossaryEntryAsync(CreateGlossaryEntryRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<GlossaryEntry> CreateGlossaryEntryAsync(CreateGlossaryEntryRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a glossary entry.

Parameters
Name Description
request CreateGlossaryEntryRequest

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
AsyncUnaryCallGlossaryEntry

The call object.

CreateIAMPolicyClient()

public virtual IAMPolicy.IAMPolicyClient CreateIAMPolicyClient()

Creates a new instance of IAMPolicy.IAMPolicyClient using the same call invoker as this client.

Returns
Type Description
IAMPolicyIAMPolicyClient

A new IAMPolicy.IAMPolicyClient for the same target as this client.

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.

CreateModel(CreateModelRequest, CallOptions)

public virtual Operation CreateModel(CreateModelRequest request, CallOptions options)

Creates a Model.

Parameters
Name Description
request CreateModelRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

CreateModel(CreateModelRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation CreateModel(CreateModelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a Model.

Parameters
Name Description
request CreateModelRequest

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.

CreateModelAsync(CreateModelRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateModelAsync(CreateModelRequest request, CallOptions options)

Creates a Model.

Parameters
Name Description
request CreateModelRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

CreateModelAsync(CreateModelRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> CreateModelAsync(CreateModelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a Model.

Parameters
Name Description
request CreateModelRequest

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.

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.

DeleteAdaptiveMtDataset(DeleteAdaptiveMtDatasetRequest, CallOptions)

public virtual Empty DeleteAdaptiveMtDataset(DeleteAdaptiveMtDatasetRequest request, CallOptions options)

Deletes an Adaptive MT dataset, including all its entries and associated metadata.

Parameters
Name Description
request DeleteAdaptiveMtDatasetRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Empty

The response received from the server.

DeleteAdaptiveMtDataset(DeleteAdaptiveMtDatasetRequest, Metadata, DateTime?, CancellationToken)

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

Deletes an Adaptive MT dataset, including all its entries and associated metadata.

Parameters
Name Description
request DeleteAdaptiveMtDatasetRequest

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
Empty

The response received from the server.

DeleteAdaptiveMtDatasetAsync(DeleteAdaptiveMtDatasetRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteAdaptiveMtDatasetAsync(DeleteAdaptiveMtDatasetRequest request, CallOptions options)

Deletes an Adaptive MT dataset, including all its entries and associated metadata.

Parameters
Name Description
request DeleteAdaptiveMtDatasetRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallEmpty

The call object.

DeleteAdaptiveMtDatasetAsync(DeleteAdaptiveMtDatasetRequest, Metadata, DateTime?, CancellationToken)

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

Deletes an Adaptive MT dataset, including all its entries and associated metadata.

Parameters
Name Description
request DeleteAdaptiveMtDatasetRequest

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
AsyncUnaryCallEmpty

The call object.

DeleteAdaptiveMtFile(DeleteAdaptiveMtFileRequest, CallOptions)

public virtual Empty DeleteAdaptiveMtFile(DeleteAdaptiveMtFileRequest request, CallOptions options)

Deletes an AdaptiveMtFile along with its sentences.

Parameters
Name Description
request DeleteAdaptiveMtFileRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Empty

The response received from the server.

DeleteAdaptiveMtFile(DeleteAdaptiveMtFileRequest, Metadata, DateTime?, CancellationToken)

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

Deletes an AdaptiveMtFile along with its sentences.

Parameters
Name Description
request DeleteAdaptiveMtFileRequest

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
Empty

The response received from the server.

DeleteAdaptiveMtFileAsync(DeleteAdaptiveMtFileRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteAdaptiveMtFileAsync(DeleteAdaptiveMtFileRequest request, CallOptions options)

Deletes an AdaptiveMtFile along with its sentences.

Parameters
Name Description
request DeleteAdaptiveMtFileRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallEmpty

The call object.

DeleteAdaptiveMtFileAsync(DeleteAdaptiveMtFileRequest, Metadata, DateTime?, CancellationToken)

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

Deletes an AdaptiveMtFile along with its sentences.

Parameters
Name Description
request DeleteAdaptiveMtFileRequest

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
AsyncUnaryCallEmpty

The call object.

DeleteDataset(DeleteDatasetRequest, CallOptions)

public virtual Operation DeleteDataset(DeleteDatasetRequest request, CallOptions options)

Deletes a dataset and all of its contents.

Parameters
Name Description
request DeleteDatasetRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

DeleteDataset(DeleteDatasetRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation DeleteDataset(DeleteDatasetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a dataset and all of its contents.

Parameters
Name Description
request DeleteDatasetRequest

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.

DeleteDatasetAsync(DeleteDatasetRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteDatasetAsync(DeleteDatasetRequest request, CallOptions options)

Deletes a dataset and all of its contents.

Parameters
Name Description
request DeleteDatasetRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

DeleteDatasetAsync(DeleteDatasetRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> DeleteDatasetAsync(DeleteDatasetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a dataset and all of its contents.

Parameters
Name Description
request DeleteDatasetRequest

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.

DeleteGlossary(DeleteGlossaryRequest, CallOptions)

public virtual Operation DeleteGlossary(DeleteGlossaryRequest request, CallOptions options)

Deletes a glossary, or cancels glossary construction if the glossary isn't created yet. Returns NOT_FOUND, if the glossary doesn't exist.

Parameters
Name Description
request DeleteGlossaryRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

DeleteGlossary(DeleteGlossaryRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation DeleteGlossary(DeleteGlossaryRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a glossary, or cancels glossary construction if the glossary isn't created yet. Returns NOT_FOUND, if the glossary doesn't exist.

Parameters
Name Description
request DeleteGlossaryRequest

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.

DeleteGlossaryAsync(DeleteGlossaryRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteGlossaryAsync(DeleteGlossaryRequest request, CallOptions options)

Deletes a glossary, or cancels glossary construction if the glossary isn't created yet. Returns NOT_FOUND, if the glossary doesn't exist.

Parameters
Name Description
request DeleteGlossaryRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

DeleteGlossaryAsync(DeleteGlossaryRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> DeleteGlossaryAsync(DeleteGlossaryRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a glossary, or cancels glossary construction if the glossary isn't created yet. Returns NOT_FOUND, if the glossary doesn't exist.

Parameters
Name Description
request DeleteGlossaryRequest

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.

DeleteGlossaryEntry(DeleteGlossaryEntryRequest, CallOptions)

public virtual Empty DeleteGlossaryEntry(DeleteGlossaryEntryRequest request, CallOptions options)

Deletes a single entry from the glossary

Parameters
Name Description
request DeleteGlossaryEntryRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Empty

The response received from the server.

DeleteGlossaryEntry(DeleteGlossaryEntryRequest, Metadata, DateTime?, CancellationToken)

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

Deletes a single entry from the glossary

Parameters
Name Description
request DeleteGlossaryEntryRequest

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
Empty

The response received from the server.

DeleteGlossaryEntryAsync(DeleteGlossaryEntryRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteGlossaryEntryAsync(DeleteGlossaryEntryRequest request, CallOptions options)

Deletes a single entry from the glossary

Parameters
Name Description
request DeleteGlossaryEntryRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallEmpty

The call object.

DeleteGlossaryEntryAsync(DeleteGlossaryEntryRequest, Metadata, DateTime?, CancellationToken)

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

Deletes a single entry from the glossary

Parameters
Name Description
request DeleteGlossaryEntryRequest

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
AsyncUnaryCallEmpty

The call object.

DeleteModel(DeleteModelRequest, CallOptions)

public virtual Operation DeleteModel(DeleteModelRequest request, CallOptions options)

Deletes a model.

Parameters
Name Description
request DeleteModelRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

DeleteModel(DeleteModelRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation DeleteModel(DeleteModelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a model.

Parameters
Name Description
request DeleteModelRequest

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.

DeleteModelAsync(DeleteModelRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteModelAsync(DeleteModelRequest request, CallOptions options)

Deletes a model.

Parameters
Name Description
request DeleteModelRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

DeleteModelAsync(DeleteModelRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> DeleteModelAsync(DeleteModelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a model.

Parameters
Name Description
request DeleteModelRequest

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.

DetectLanguage(DetectLanguageRequest, CallOptions)

public virtual DetectLanguageResponse DetectLanguage(DetectLanguageRequest request, CallOptions options)

Detects the language of text within a request.

Parameters
Name Description
request DetectLanguageRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
DetectLanguageResponse

The response received from the server.

DetectLanguage(DetectLanguageRequest, Metadata, DateTime?, CancellationToken)

public virtual DetectLanguageResponse DetectLanguage(DetectLanguageRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Detects the language of text within a request.

Parameters
Name Description
request DetectLanguageRequest

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
DetectLanguageResponse

The response received from the server.

DetectLanguageAsync(DetectLanguageRequest, CallOptions)

public virtual AsyncUnaryCall<DetectLanguageResponse> DetectLanguageAsync(DetectLanguageRequest request, CallOptions options)

Detects the language of text within a request.

Parameters
Name Description
request DetectLanguageRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallDetectLanguageResponse

The call object.

DetectLanguageAsync(DetectLanguageRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<DetectLanguageResponse> DetectLanguageAsync(DetectLanguageRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Detects the language of text within a request.

Parameters
Name Description
request DetectLanguageRequest

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
AsyncUnaryCallDetectLanguageResponse

The call object.

ExportData(ExportDataRequest, CallOptions)

public virtual Operation ExportData(ExportDataRequest request, CallOptions options)

Exports dataset's data to the provided output location.

Parameters
Name Description
request ExportDataRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

ExportData(ExportDataRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation ExportData(ExportDataRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Exports dataset's data to the provided output location.

Parameters
Name Description
request ExportDataRequest

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.

ExportDataAsync(ExportDataRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> ExportDataAsync(ExportDataRequest request, CallOptions options)

Exports dataset's data to the provided output location.

Parameters
Name Description
request ExportDataRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

ExportDataAsync(ExportDataRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> ExportDataAsync(ExportDataRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Exports dataset's data to the provided output location.

Parameters
Name Description
request ExportDataRequest

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.

GetAdaptiveMtDataset(GetAdaptiveMtDatasetRequest, CallOptions)

public virtual AdaptiveMtDataset GetAdaptiveMtDataset(GetAdaptiveMtDatasetRequest request, CallOptions options)

Gets the Adaptive MT dataset.

Parameters
Name Description
request GetAdaptiveMtDatasetRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AdaptiveMtDataset

The response received from the server.

GetAdaptiveMtDataset(GetAdaptiveMtDatasetRequest, Metadata, DateTime?, CancellationToken)

public virtual AdaptiveMtDataset GetAdaptiveMtDataset(GetAdaptiveMtDatasetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets the Adaptive MT dataset.

Parameters
Name Description
request GetAdaptiveMtDatasetRequest

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
AdaptiveMtDataset

The response received from the server.

GetAdaptiveMtDatasetAsync(GetAdaptiveMtDatasetRequest, CallOptions)

public virtual AsyncUnaryCall<AdaptiveMtDataset> GetAdaptiveMtDatasetAsync(GetAdaptiveMtDatasetRequest request, CallOptions options)

Gets the Adaptive MT dataset.

Parameters
Name Description
request GetAdaptiveMtDatasetRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallAdaptiveMtDataset

The call object.

GetAdaptiveMtDatasetAsync(GetAdaptiveMtDatasetRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<AdaptiveMtDataset> GetAdaptiveMtDatasetAsync(GetAdaptiveMtDatasetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets the Adaptive MT dataset.

Parameters
Name Description
request GetAdaptiveMtDatasetRequest

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
AsyncUnaryCallAdaptiveMtDataset

The call object.

GetAdaptiveMtFile(GetAdaptiveMtFileRequest, CallOptions)

public virtual AdaptiveMtFile GetAdaptiveMtFile(GetAdaptiveMtFileRequest request, CallOptions options)

Gets and AdaptiveMtFile

Parameters
Name Description
request GetAdaptiveMtFileRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AdaptiveMtFile

The response received from the server.

GetAdaptiveMtFile(GetAdaptiveMtFileRequest, Metadata, DateTime?, CancellationToken)

public virtual AdaptiveMtFile GetAdaptiveMtFile(GetAdaptiveMtFileRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets and AdaptiveMtFile

Parameters
Name Description
request GetAdaptiveMtFileRequest

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
AdaptiveMtFile

The response received from the server.

GetAdaptiveMtFileAsync(GetAdaptiveMtFileRequest, CallOptions)

public virtual AsyncUnaryCall<AdaptiveMtFile> GetAdaptiveMtFileAsync(GetAdaptiveMtFileRequest request, CallOptions options)

Gets and AdaptiveMtFile

Parameters
Name Description
request GetAdaptiveMtFileRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallAdaptiveMtFile

The call object.

GetAdaptiveMtFileAsync(GetAdaptiveMtFileRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<AdaptiveMtFile> GetAdaptiveMtFileAsync(GetAdaptiveMtFileRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets and AdaptiveMtFile

Parameters
Name Description
request GetAdaptiveMtFileRequest

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
AsyncUnaryCallAdaptiveMtFile

The call object.

GetDataset(GetDatasetRequest, CallOptions)

public virtual Dataset GetDataset(GetDatasetRequest request, CallOptions options)

Gets a Dataset.

Parameters
Name Description
request GetDatasetRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Dataset

The response received from the server.

GetDataset(GetDatasetRequest, Metadata, DateTime?, CancellationToken)

public virtual Dataset GetDataset(GetDatasetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a Dataset.

Parameters
Name Description
request GetDatasetRequest

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
Dataset

The response received from the server.

GetDatasetAsync(GetDatasetRequest, CallOptions)

public virtual AsyncUnaryCall<Dataset> GetDatasetAsync(GetDatasetRequest request, CallOptions options)

Gets a Dataset.

Parameters
Name Description
request GetDatasetRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallDataset

The call object.

GetDatasetAsync(GetDatasetRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Dataset> GetDatasetAsync(GetDatasetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a Dataset.

Parameters
Name Description
request GetDatasetRequest

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
AsyncUnaryCallDataset

The call object.

GetGlossary(GetGlossaryRequest, CallOptions)

public virtual Glossary GetGlossary(GetGlossaryRequest request, CallOptions options)

Gets a glossary. Returns NOT_FOUND, if the glossary doesn't exist.

Parameters
Name Description
request GetGlossaryRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Glossary

The response received from the server.

GetGlossary(GetGlossaryRequest, Metadata, DateTime?, CancellationToken)

public virtual Glossary GetGlossary(GetGlossaryRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a glossary. Returns NOT_FOUND, if the glossary doesn't exist.

Parameters
Name Description
request GetGlossaryRequest

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
Glossary

The response received from the server.

GetGlossaryAsync(GetGlossaryRequest, CallOptions)

public virtual AsyncUnaryCall<Glossary> GetGlossaryAsync(GetGlossaryRequest request, CallOptions options)

Gets a glossary. Returns NOT_FOUND, if the glossary doesn't exist.

Parameters
Name Description
request GetGlossaryRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallGlossary

The call object.

GetGlossaryAsync(GetGlossaryRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Glossary> GetGlossaryAsync(GetGlossaryRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a glossary. Returns NOT_FOUND, if the glossary doesn't exist.

Parameters
Name Description
request GetGlossaryRequest

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
AsyncUnaryCallGlossary

The call object.

GetGlossaryEntry(GetGlossaryEntryRequest, CallOptions)

public virtual GlossaryEntry GetGlossaryEntry(GetGlossaryEntryRequest request, CallOptions options)

Gets a single glossary entry by the given id.

Parameters
Name Description
request GetGlossaryEntryRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
GlossaryEntry

The response received from the server.

GetGlossaryEntry(GetGlossaryEntryRequest, Metadata, DateTime?, CancellationToken)

public virtual GlossaryEntry GetGlossaryEntry(GetGlossaryEntryRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a single glossary entry by the given id.

Parameters
Name Description
request GetGlossaryEntryRequest

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
GlossaryEntry

The response received from the server.

GetGlossaryEntryAsync(GetGlossaryEntryRequest, CallOptions)

public virtual AsyncUnaryCall<GlossaryEntry> GetGlossaryEntryAsync(GetGlossaryEntryRequest request, CallOptions options)

Gets a single glossary entry by the given id.

Parameters
Name Description
request GetGlossaryEntryRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallGlossaryEntry

The call object.

GetGlossaryEntryAsync(GetGlossaryEntryRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<GlossaryEntry> GetGlossaryEntryAsync(GetGlossaryEntryRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a single glossary entry by the given id.

Parameters
Name Description
request GetGlossaryEntryRequest

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
AsyncUnaryCallGlossaryEntry

The call object.

GetModel(GetModelRequest, CallOptions)

public virtual Model GetModel(GetModelRequest request, CallOptions options)

Gets a model.

Parameters
Name Description
request GetModelRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Model

The response received from the server.

GetModel(GetModelRequest, Metadata, DateTime?, CancellationToken)

public virtual Model GetModel(GetModelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a model.

Parameters
Name Description
request GetModelRequest

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
Model

The response received from the server.

GetModelAsync(GetModelRequest, CallOptions)

public virtual AsyncUnaryCall<Model> GetModelAsync(GetModelRequest request, CallOptions options)

Gets a model.

Parameters
Name Description
request GetModelRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallModel

The call object.

GetModelAsync(GetModelRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Model> GetModelAsync(GetModelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a model.

Parameters
Name Description
request GetModelRequest

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
AsyncUnaryCallModel

The call object.

GetSupportedLanguages(GetSupportedLanguagesRequest, CallOptions)

public virtual SupportedLanguages GetSupportedLanguages(GetSupportedLanguagesRequest request, CallOptions options)

Returns a list of supported languages for translation.

Parameters
Name Description
request GetSupportedLanguagesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
SupportedLanguages

The response received from the server.

GetSupportedLanguages(GetSupportedLanguagesRequest, Metadata, DateTime?, CancellationToken)

public virtual SupportedLanguages GetSupportedLanguages(GetSupportedLanguagesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns a list of supported languages for translation.

Parameters
Name Description
request GetSupportedLanguagesRequest

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
SupportedLanguages

The response received from the server.

GetSupportedLanguagesAsync(GetSupportedLanguagesRequest, CallOptions)

public virtual AsyncUnaryCall<SupportedLanguages> GetSupportedLanguagesAsync(GetSupportedLanguagesRequest request, CallOptions options)

Returns a list of supported languages for translation.

Parameters
Name Description
request GetSupportedLanguagesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallSupportedLanguages

The call object.

GetSupportedLanguagesAsync(GetSupportedLanguagesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<SupportedLanguages> GetSupportedLanguagesAsync(GetSupportedLanguagesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns a list of supported languages for translation.

Parameters
Name Description
request GetSupportedLanguagesRequest

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
AsyncUnaryCallSupportedLanguages

The call object.

ImportAdaptiveMtFile(ImportAdaptiveMtFileRequest, CallOptions)

public virtual ImportAdaptiveMtFileResponse ImportAdaptiveMtFile(ImportAdaptiveMtFileRequest request, CallOptions options)

Imports an AdaptiveMtFile and adds all of its sentences into the AdaptiveMtDataset.

Parameters
Name Description
request ImportAdaptiveMtFileRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ImportAdaptiveMtFileResponse

The response received from the server.

ImportAdaptiveMtFile(ImportAdaptiveMtFileRequest, Metadata, DateTime?, CancellationToken)

public virtual ImportAdaptiveMtFileResponse ImportAdaptiveMtFile(ImportAdaptiveMtFileRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Imports an AdaptiveMtFile and adds all of its sentences into the AdaptiveMtDataset.

Parameters
Name Description
request ImportAdaptiveMtFileRequest

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
ImportAdaptiveMtFileResponse

The response received from the server.

ImportAdaptiveMtFileAsync(ImportAdaptiveMtFileRequest, CallOptions)

public virtual AsyncUnaryCall<ImportAdaptiveMtFileResponse> ImportAdaptiveMtFileAsync(ImportAdaptiveMtFileRequest request, CallOptions options)

Imports an AdaptiveMtFile and adds all of its sentences into the AdaptiveMtDataset.

Parameters
Name Description
request ImportAdaptiveMtFileRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallImportAdaptiveMtFileResponse

The call object.

ImportAdaptiveMtFileAsync(ImportAdaptiveMtFileRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ImportAdaptiveMtFileResponse> ImportAdaptiveMtFileAsync(ImportAdaptiveMtFileRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Imports an AdaptiveMtFile and adds all of its sentences into the AdaptiveMtDataset.

Parameters
Name Description
request ImportAdaptiveMtFileRequest

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
AsyncUnaryCallImportAdaptiveMtFileResponse

The call object.

ImportData(ImportDataRequest, CallOptions)

public virtual Operation ImportData(ImportDataRequest request, CallOptions options)

Import sentence pairs into translation Dataset.

Parameters
Name Description
request ImportDataRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

ImportData(ImportDataRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation ImportData(ImportDataRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Import sentence pairs into translation Dataset.

Parameters
Name Description
request ImportDataRequest

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.

ImportDataAsync(ImportDataRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> ImportDataAsync(ImportDataRequest request, CallOptions options)

Import sentence pairs into translation Dataset.

Parameters
Name Description
request ImportDataRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

ImportDataAsync(ImportDataRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> ImportDataAsync(ImportDataRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Import sentence pairs into translation Dataset.

Parameters
Name Description
request ImportDataRequest

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.

ListAdaptiveMtDatasets(ListAdaptiveMtDatasetsRequest, CallOptions)

public virtual ListAdaptiveMtDatasetsResponse ListAdaptiveMtDatasets(ListAdaptiveMtDatasetsRequest request, CallOptions options)

Lists all Adaptive MT datasets for which the caller has read permission.

Parameters
Name Description
request ListAdaptiveMtDatasetsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListAdaptiveMtDatasetsResponse

The response received from the server.

ListAdaptiveMtDatasets(ListAdaptiveMtDatasetsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListAdaptiveMtDatasetsResponse ListAdaptiveMtDatasets(ListAdaptiveMtDatasetsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists all Adaptive MT datasets for which the caller has read permission.

Parameters
Name Description
request ListAdaptiveMtDatasetsRequest

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
ListAdaptiveMtDatasetsResponse

The response received from the server.

ListAdaptiveMtDatasetsAsync(ListAdaptiveMtDatasetsRequest, CallOptions)

public virtual AsyncUnaryCall<ListAdaptiveMtDatasetsResponse> ListAdaptiveMtDatasetsAsync(ListAdaptiveMtDatasetsRequest request, CallOptions options)

Lists all Adaptive MT datasets for which the caller has read permission.

Parameters
Name Description
request ListAdaptiveMtDatasetsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListAdaptiveMtDatasetsResponse

The call object.

ListAdaptiveMtDatasetsAsync(ListAdaptiveMtDatasetsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListAdaptiveMtDatasetsResponse> ListAdaptiveMtDatasetsAsync(ListAdaptiveMtDatasetsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists all Adaptive MT datasets for which the caller has read permission.

Parameters
Name Description
request ListAdaptiveMtDatasetsRequest

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
AsyncUnaryCallListAdaptiveMtDatasetsResponse

The call object.

ListAdaptiveMtFiles(ListAdaptiveMtFilesRequest, CallOptions)

public virtual ListAdaptiveMtFilesResponse ListAdaptiveMtFiles(ListAdaptiveMtFilesRequest request, CallOptions options)

Lists all AdaptiveMtFiles associated to an AdaptiveMtDataset.

Parameters
Name Description
request ListAdaptiveMtFilesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListAdaptiveMtFilesResponse

The response received from the server.

ListAdaptiveMtFiles(ListAdaptiveMtFilesRequest, Metadata, DateTime?, CancellationToken)

public virtual ListAdaptiveMtFilesResponse ListAdaptiveMtFiles(ListAdaptiveMtFilesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists all AdaptiveMtFiles associated to an AdaptiveMtDataset.

Parameters
Name Description
request ListAdaptiveMtFilesRequest

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
ListAdaptiveMtFilesResponse

The response received from the server.

ListAdaptiveMtFilesAsync(ListAdaptiveMtFilesRequest, CallOptions)

public virtual AsyncUnaryCall<ListAdaptiveMtFilesResponse> ListAdaptiveMtFilesAsync(ListAdaptiveMtFilesRequest request, CallOptions options)

Lists all AdaptiveMtFiles associated to an AdaptiveMtDataset.

Parameters
Name Description
request ListAdaptiveMtFilesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListAdaptiveMtFilesResponse

The call object.

ListAdaptiveMtFilesAsync(ListAdaptiveMtFilesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListAdaptiveMtFilesResponse> ListAdaptiveMtFilesAsync(ListAdaptiveMtFilesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists all AdaptiveMtFiles associated to an AdaptiveMtDataset.

Parameters
Name Description
request ListAdaptiveMtFilesRequest

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
AsyncUnaryCallListAdaptiveMtFilesResponse

The call object.

ListAdaptiveMtSentences(ListAdaptiveMtSentencesRequest, CallOptions)

public virtual ListAdaptiveMtSentencesResponse ListAdaptiveMtSentences(ListAdaptiveMtSentencesRequest request, CallOptions options)

Lists all AdaptiveMtSentences under a given file/dataset.

Parameters
Name Description
request ListAdaptiveMtSentencesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListAdaptiveMtSentencesResponse

The response received from the server.

ListAdaptiveMtSentences(ListAdaptiveMtSentencesRequest, Metadata, DateTime?, CancellationToken)

public virtual ListAdaptiveMtSentencesResponse ListAdaptiveMtSentences(ListAdaptiveMtSentencesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists all AdaptiveMtSentences under a given file/dataset.

Parameters
Name Description
request ListAdaptiveMtSentencesRequest

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
ListAdaptiveMtSentencesResponse

The response received from the server.

ListAdaptiveMtSentencesAsync(ListAdaptiveMtSentencesRequest, CallOptions)

public virtual AsyncUnaryCall<ListAdaptiveMtSentencesResponse> ListAdaptiveMtSentencesAsync(ListAdaptiveMtSentencesRequest request, CallOptions options)

Lists all AdaptiveMtSentences under a given file/dataset.

Parameters
Name Description
request ListAdaptiveMtSentencesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListAdaptiveMtSentencesResponse

The call object.

ListAdaptiveMtSentencesAsync(ListAdaptiveMtSentencesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListAdaptiveMtSentencesResponse> ListAdaptiveMtSentencesAsync(ListAdaptiveMtSentencesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists all AdaptiveMtSentences under a given file/dataset.

Parameters
Name Description
request ListAdaptiveMtSentencesRequest

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
AsyncUnaryCallListAdaptiveMtSentencesResponse

The call object.

ListDatasets(ListDatasetsRequest, CallOptions)

public virtual ListDatasetsResponse ListDatasets(ListDatasetsRequest request, CallOptions options)

Lists datasets.

Parameters
Name Description
request ListDatasetsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListDatasetsResponse

The response received from the server.

ListDatasets(ListDatasetsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListDatasetsResponse ListDatasets(ListDatasetsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists datasets.

Parameters
Name Description
request ListDatasetsRequest

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
ListDatasetsResponse

The response received from the server.

ListDatasetsAsync(ListDatasetsRequest, CallOptions)

public virtual AsyncUnaryCall<ListDatasetsResponse> ListDatasetsAsync(ListDatasetsRequest request, CallOptions options)

Lists datasets.

Parameters
Name Description
request ListDatasetsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListDatasetsResponse

The call object.

ListDatasetsAsync(ListDatasetsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListDatasetsResponse> ListDatasetsAsync(ListDatasetsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists datasets.

Parameters
Name Description
request ListDatasetsRequest

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
AsyncUnaryCallListDatasetsResponse

The call object.

ListExamples(ListExamplesRequest, CallOptions)

public virtual ListExamplesResponse ListExamples(ListExamplesRequest request, CallOptions options)

Lists sentence pairs in the dataset.

Parameters
Name Description
request ListExamplesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListExamplesResponse

The response received from the server.

ListExamples(ListExamplesRequest, Metadata, DateTime?, CancellationToken)

public virtual ListExamplesResponse ListExamples(ListExamplesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists sentence pairs in the dataset.

Parameters
Name Description
request ListExamplesRequest

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
ListExamplesResponse

The response received from the server.

ListExamplesAsync(ListExamplesRequest, CallOptions)

public virtual AsyncUnaryCall<ListExamplesResponse> ListExamplesAsync(ListExamplesRequest request, CallOptions options)

Lists sentence pairs in the dataset.

Parameters
Name Description
request ListExamplesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListExamplesResponse

The call object.

ListExamplesAsync(ListExamplesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListExamplesResponse> ListExamplesAsync(ListExamplesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists sentence pairs in the dataset.

Parameters
Name Description
request ListExamplesRequest

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
AsyncUnaryCallListExamplesResponse

The call object.

ListGlossaries(ListGlossariesRequest, CallOptions)

public virtual ListGlossariesResponse ListGlossaries(ListGlossariesRequest request, CallOptions options)

Lists glossaries in a project. Returns NOT_FOUND, if the project doesn't exist.

Parameters
Name Description
request ListGlossariesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListGlossariesResponse

The response received from the server.

ListGlossaries(ListGlossariesRequest, Metadata, DateTime?, CancellationToken)

public virtual ListGlossariesResponse ListGlossaries(ListGlossariesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists glossaries in a project. Returns NOT_FOUND, if the project doesn't exist.

Parameters
Name Description
request ListGlossariesRequest

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
ListGlossariesResponse

The response received from the server.

ListGlossariesAsync(ListGlossariesRequest, CallOptions)

public virtual AsyncUnaryCall<ListGlossariesResponse> ListGlossariesAsync(ListGlossariesRequest request, CallOptions options)

Lists glossaries in a project. Returns NOT_FOUND, if the project doesn't exist.

Parameters
Name Description
request ListGlossariesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListGlossariesResponse

The call object.

ListGlossariesAsync(ListGlossariesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListGlossariesResponse> ListGlossariesAsync(ListGlossariesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists glossaries in a project. Returns NOT_FOUND, if the project doesn't exist.

Parameters
Name Description
request ListGlossariesRequest

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
AsyncUnaryCallListGlossariesResponse

The call object.

ListGlossaryEntries(ListGlossaryEntriesRequest, CallOptions)

public virtual ListGlossaryEntriesResponse ListGlossaryEntries(ListGlossaryEntriesRequest request, CallOptions options)

List the entries for the glossary.

Parameters
Name Description
request ListGlossaryEntriesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListGlossaryEntriesResponse

The response received from the server.

ListGlossaryEntries(ListGlossaryEntriesRequest, Metadata, DateTime?, CancellationToken)

public virtual ListGlossaryEntriesResponse ListGlossaryEntries(ListGlossaryEntriesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

List the entries for the glossary.

Parameters
Name Description
request ListGlossaryEntriesRequest

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
ListGlossaryEntriesResponse

The response received from the server.

ListGlossaryEntriesAsync(ListGlossaryEntriesRequest, CallOptions)

public virtual AsyncUnaryCall<ListGlossaryEntriesResponse> ListGlossaryEntriesAsync(ListGlossaryEntriesRequest request, CallOptions options)

List the entries for the glossary.

Parameters
Name Description
request ListGlossaryEntriesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListGlossaryEntriesResponse

The call object.

ListGlossaryEntriesAsync(ListGlossaryEntriesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListGlossaryEntriesResponse> ListGlossaryEntriesAsync(ListGlossaryEntriesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

List the entries for the glossary.

Parameters
Name Description
request ListGlossaryEntriesRequest

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
AsyncUnaryCallListGlossaryEntriesResponse

The call object.

ListModels(ListModelsRequest, CallOptions)

public virtual ListModelsResponse ListModels(ListModelsRequest request, CallOptions options)

Lists models.

Parameters
Name Description
request ListModelsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListModelsResponse

The response received from the server.

ListModels(ListModelsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListModelsResponse ListModels(ListModelsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists models.

Parameters
Name Description
request ListModelsRequest

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
ListModelsResponse

The response received from the server.

ListModelsAsync(ListModelsRequest, CallOptions)

public virtual AsyncUnaryCall<ListModelsResponse> ListModelsAsync(ListModelsRequest request, CallOptions options)

Lists models.

Parameters
Name Description
request ListModelsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListModelsResponse

The call object.

ListModelsAsync(ListModelsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListModelsResponse> ListModelsAsync(ListModelsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists models.

Parameters
Name Description
request ListModelsRequest

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
AsyncUnaryCallListModelsResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override TranslationService.TranslationServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
TranslationServiceTranslationServiceClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.Translate.V3.TranslationService.TranslationServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

RomanizeText(RomanizeTextRequest, CallOptions)

public virtual RomanizeTextResponse RomanizeText(RomanizeTextRequest request, CallOptions options)

Romanize input text written in non-Latin scripts to Latin text.

Parameters
Name Description
request RomanizeTextRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
RomanizeTextResponse

The response received from the server.

RomanizeText(RomanizeTextRequest, Metadata, DateTime?, CancellationToken)

public virtual RomanizeTextResponse RomanizeText(RomanizeTextRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Romanize input text written in non-Latin scripts to Latin text.

Parameters
Name Description
request RomanizeTextRequest

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
RomanizeTextResponse

The response received from the server.

RomanizeTextAsync(RomanizeTextRequest, CallOptions)

public virtual AsyncUnaryCall<RomanizeTextResponse> RomanizeTextAsync(RomanizeTextRequest request, CallOptions options)

Romanize input text written in non-Latin scripts to Latin text.

Parameters
Name Description
request RomanizeTextRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallRomanizeTextResponse

The call object.

RomanizeTextAsync(RomanizeTextRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<RomanizeTextResponse> RomanizeTextAsync(RomanizeTextRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Romanize input text written in non-Latin scripts to Latin text.

Parameters
Name Description
request RomanizeTextRequest

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
AsyncUnaryCallRomanizeTextResponse

The call object.

TranslateDocument(TranslateDocumentRequest, CallOptions)

public virtual TranslateDocumentResponse TranslateDocument(TranslateDocumentRequest request, CallOptions options)

Translates documents in synchronous mode.

Parameters
Name Description
request TranslateDocumentRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
TranslateDocumentResponse

The response received from the server.

TranslateDocument(TranslateDocumentRequest, Metadata, DateTime?, CancellationToken)

public virtual TranslateDocumentResponse TranslateDocument(TranslateDocumentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Translates documents in synchronous mode.

Parameters
Name Description
request TranslateDocumentRequest

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
TranslateDocumentResponse

The response received from the server.

TranslateDocumentAsync(TranslateDocumentRequest, CallOptions)

public virtual AsyncUnaryCall<TranslateDocumentResponse> TranslateDocumentAsync(TranslateDocumentRequest request, CallOptions options)

Translates documents in synchronous mode.

Parameters
Name Description
request TranslateDocumentRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallTranslateDocumentResponse

The call object.

TranslateDocumentAsync(TranslateDocumentRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<TranslateDocumentResponse> TranslateDocumentAsync(TranslateDocumentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Translates documents in synchronous mode.

Parameters
Name Description
request TranslateDocumentRequest

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
AsyncUnaryCallTranslateDocumentResponse

The call object.

TranslateText(TranslateTextRequest, CallOptions)

public virtual TranslateTextResponse TranslateText(TranslateTextRequest request, CallOptions options)

Translates input text and returns translated text.

Parameters
Name Description
request TranslateTextRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
TranslateTextResponse

The response received from the server.

TranslateText(TranslateTextRequest, Metadata, DateTime?, CancellationToken)

public virtual TranslateTextResponse TranslateText(TranslateTextRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Translates input text and returns translated text.

Parameters
Name Description
request TranslateTextRequest

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
TranslateTextResponse

The response received from the server.

TranslateTextAsync(TranslateTextRequest, CallOptions)

public virtual AsyncUnaryCall<TranslateTextResponse> TranslateTextAsync(TranslateTextRequest request, CallOptions options)

Translates input text and returns translated text.

Parameters
Name Description
request TranslateTextRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallTranslateTextResponse

The call object.

TranslateTextAsync(TranslateTextRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<TranslateTextResponse> TranslateTextAsync(TranslateTextRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Translates input text and returns translated text.

Parameters
Name Description
request TranslateTextRequest

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
AsyncUnaryCallTranslateTextResponse

The call object.

UpdateGlossary(UpdateGlossaryRequest, CallOptions)

public virtual Operation UpdateGlossary(UpdateGlossaryRequest request, CallOptions options)

Updates a glossary. A LRO is used since the update can be async if the glossary's entry file is updated.

Parameters
Name Description
request UpdateGlossaryRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

UpdateGlossary(UpdateGlossaryRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation UpdateGlossary(UpdateGlossaryRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates a glossary. A LRO is used since the update can be async if the glossary's entry file is updated.

Parameters
Name Description
request UpdateGlossaryRequest

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.

UpdateGlossaryAsync(UpdateGlossaryRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> UpdateGlossaryAsync(UpdateGlossaryRequest request, CallOptions options)

Updates a glossary. A LRO is used since the update can be async if the glossary's entry file is updated.

Parameters
Name Description
request UpdateGlossaryRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

UpdateGlossaryAsync(UpdateGlossaryRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> UpdateGlossaryAsync(UpdateGlossaryRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates a glossary. A LRO is used since the update can be async if the glossary's entry file is updated.

Parameters
Name Description
request UpdateGlossaryRequest

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.

UpdateGlossaryEntry(UpdateGlossaryEntryRequest, CallOptions)

public virtual GlossaryEntry UpdateGlossaryEntry(UpdateGlossaryEntryRequest request, CallOptions options)

Updates a glossary entry.

Parameters
Name Description
request UpdateGlossaryEntryRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
GlossaryEntry

The response received from the server.

UpdateGlossaryEntry(UpdateGlossaryEntryRequest, Metadata, DateTime?, CancellationToken)

public virtual GlossaryEntry UpdateGlossaryEntry(UpdateGlossaryEntryRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates a glossary entry.

Parameters
Name Description
request UpdateGlossaryEntryRequest

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
GlossaryEntry

The response received from the server.

UpdateGlossaryEntryAsync(UpdateGlossaryEntryRequest, CallOptions)

public virtual AsyncUnaryCall<GlossaryEntry> UpdateGlossaryEntryAsync(UpdateGlossaryEntryRequest request, CallOptions options)

Updates a glossary entry.

Parameters
Name Description
request UpdateGlossaryEntryRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallGlossaryEntry

The call object.

UpdateGlossaryEntryAsync(UpdateGlossaryEntryRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<GlossaryEntry> UpdateGlossaryEntryAsync(UpdateGlossaryEntryRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates a glossary entry.

Parameters
Name Description
request UpdateGlossaryEntryRequest

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
AsyncUnaryCallGlossaryEntry

The call object.