Class: Google::Cloud::Translate::V3::AdaptiveMtSentence

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/translate/v3/adaptive_mt.rb

Overview

An AdaptiveMt sentence entry.

Instance Attribute Summary collapse

Instance Attribute Details

#create_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. Timestamp when this sentence was created.

Returns:



286
287
288
289
# File 'proto_docs/google/cloud/translate/v3/adaptive_mt.rb', line 286

class AdaptiveMtSentence
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#name::String

Returns 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}



286
287
288
289
# File 'proto_docs/google/cloud/translate/v3/adaptive_mt.rb', line 286

class AdaptiveMtSentence
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#source_sentence::String

Returns Required. The source sentence.

Returns:

  • (::String)

    Required. The source sentence.



286
287
288
289
# File 'proto_docs/google/cloud/translate/v3/adaptive_mt.rb', line 286

class AdaptiveMtSentence
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#target_sentence::String

Returns Required. The target sentence.

Returns:

  • (::String)

    Required. The target sentence.



286
287
288
289
# File 'proto_docs/google/cloud/translate/v3/adaptive_mt.rb', line 286

class AdaptiveMtSentence
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#update_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. Timestamp when this sentence was last updated.

Returns:



286
287
288
289
# File 'proto_docs/google/cloud/translate/v3/adaptive_mt.rb', line 286

class AdaptiveMtSentence
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end