Class: Google::Cloud::Translate::V3::ImportAdaptiveMtFileRequest

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

The request for importing an AdaptiveMt file along with its sentences.

Instance Attribute Summary collapse

Instance Attribute Details

#file_input_source::Google::Cloud::Translate::V3::FileInputSource

Returns Inline file source.

Returns:



220
221
222
223
# File 'proto_docs/google/cloud/translate/v3/adaptive_mt.rb', line 220

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

#gcs_input_source::Google::Cloud::Translate::V3::GcsInputSource

Returns Google Cloud Storage file source.

Returns:



220
221
222
223
# File 'proto_docs/google/cloud/translate/v3/adaptive_mt.rb', line 220

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

#parent::String

Returns Required. The resource name of the file, in form of projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}.

Returns:

  • (::String)

    Required. The resource name of the file, in form of projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}



220
221
222
223
# File 'proto_docs/google/cloud/translate/v3/adaptive_mt.rb', line 220

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