Reference documentation and code samples for the Cloud Translation V3 Client class AdaptiveMtSentence.
An AdaptiveMt sentence entry.
Generated from protobuf message google.cloud.translation.v3.AdaptiveMtSentence
Namespace
Google \ Cloud \ Translate \ V3Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. The resource name of the file, in form of projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}/adaptiveMtFiles/{file}/adaptiveMtSentences/{sentence}
↳ source_sentence
string
Required. The source sentence.
↳ target_sentence
string
Required. The target sentence.
↳ create_time
↳ update_time
getName
Required. The resource name of the file, in form of projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}/adaptiveMtFiles/{file}/adaptiveMtSentences/{sentence}
string
setName
Required. The resource name of the file, in form of projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}/adaptiveMtFiles/{file}/adaptiveMtSentences/{sentence}
var
string
$this
getSourceSentence
Required. The source sentence.
string
setSourceSentence
Required. The source sentence.
var
string
$this
getTargetSentence
Required. The target sentence.
string
setTargetSentence
Required. The target sentence.
var
string
$this
getCreateTime
Output only. Timestamp when this sentence was created.
hasCreateTime
clearCreateTime
setCreateTime
Output only. Timestamp when this sentence was created.
$this
getUpdateTime
Output only. Timestamp when this sentence was last updated.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. Timestamp when this sentence was last updated.
$this