# Cloud Translation V3 API - Class Google::Cloud::Translate::V3::AdaptiveMtSentence (v1.10.0)

1.10.0 (latest) 1.9.0 1.8.0 1.7.1 1.6.0 1.5.2 1.4.1 1.3.0 1.2.0 1.1.1 1.0.0 0.12.0 0.11.2 0.10.0 0.9.0 0.8.0 0.7.3 0.6.0 0.5.2 0.4.2 Reference documentation and code samples for the Cloud Translation V3 API class Google::Cloud::Translate::V3::AdaptiveMtSentence.

An AdaptiveMt sentence entry.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #create_time

    def create_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-translate-v3/latest/Google-Protobuf-Timestamp)) --- Output only. Timestamp when this sentence was created.

### #name

    def name() -> ::String

**Returns**

- (::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}`

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::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}`
**Returns**

- (::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

    def source_sentence() -> ::String

**Returns**

- (::String) --- Required. The source sentence.

### #source_sentence=

    def source_sentence=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The source sentence.
**Returns**

- (::String) --- Required. The source sentence.

### #target_sentence

    def target_sentence() -> ::String

**Returns**

- (::String) --- Required. The target sentence.

### #target_sentence=

    def target_sentence=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The target sentence.
**Returns**

- (::String) --- Required. The target sentence.

### #update_time

    def update_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-translate-v3/latest/Google-Protobuf-Timestamp)) --- Output only. Timestamp when this sentence was last updated.