Google Cloud Translation v3 API - Class AdaptiveMtTranslateRequest (3.5.0)

public sealed class AdaptiveMtTranslateRequest : IMessage<AdaptiveMtTranslateRequest>, IEquatable<AdaptiveMtTranslateRequest>, IDeepCloneable<AdaptiveMtTranslateRequest>, IBufferMessage, IMessage

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

The request for sending an AdaptiveMt translation query.

Inheritance

object > AdaptiveMtTranslateRequest

Namespace

Google.Cloud.Translate.V3

Assembly

Google.Cloud.Translate.V3.dll

Constructors

AdaptiveMtTranslateRequest()

public AdaptiveMtTranslateRequest()

AdaptiveMtTranslateRequest(AdaptiveMtTranslateRequest)

public AdaptiveMtTranslateRequest(AdaptiveMtTranslateRequest other)
Parameter
NameDescription
otherAdaptiveMtTranslateRequest

Properties

Content

public RepeatedField<string> Content { get; }

Required. The content of the input in string format. For now only one sentence per request is supported.

Property Value
TypeDescription
RepeatedFieldstring

Dataset

public string Dataset { get; set; }

Required. The resource name for the dataset to use for adaptive MT. projects/{project}/locations/{location-id}/adaptiveMtDatasets/{dataset}

Property Value
TypeDescription
string

DatasetAsAdaptiveMtDatasetName

public AdaptiveMtDatasetName DatasetAsAdaptiveMtDatasetName { get; set; }

AdaptiveMtDatasetName-typed view over the Dataset resource name property.

Property Value
TypeDescription
AdaptiveMtDatasetName

Parent

public string Parent { get; set; }

Required. Location to make a regional call.

Format: projects/{project-number-or-id}/locations/{location-id}.

Property Value
TypeDescription
string

ParentAsLocationName

public LocationName ParentAsLocationName { get; set; }

LocationName-typed view over the Parent resource name property.

Property Value
TypeDescription
LocationName