Reference documentation and code samples for the Cloud Translation V3 API class Google::Cloud::Translate::V3::ImportAdaptiveMtFileRequest.
The request for importing an AdaptiveMt file along with its sentences.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#file_input_source
def file_input_source() -> ::Google::Cloud::Translate::V3::FileInputSource
Returns
- (::Google::Cloud::Translate::V3::FileInputSource) — Inline file source.
#file_input_source=
def file_input_source=(value) -> ::Google::Cloud::Translate::V3::FileInputSource
Parameter
- value (::Google::Cloud::Translate::V3::FileInputSource) — Inline file source.
Returns
- (::Google::Cloud::Translate::V3::FileInputSource) — Inline file source.
#gcs_input_source
def gcs_input_source() -> ::Google::Cloud::Translate::V3::GcsInputSource
Returns
- (::Google::Cloud::Translate::V3::GcsInputSource) — Google Cloud Storage file source.
#gcs_input_source=
def gcs_input_source=(value) -> ::Google::Cloud::Translate::V3::GcsInputSource
Parameter
- value (::Google::Cloud::Translate::V3::GcsInputSource) — Google Cloud Storage file source.
Returns
- (::Google::Cloud::Translate::V3::GcsInputSource) — Google Cloud Storage file source.
#parent
def parent() -> ::String
Returns
-
(::String) — Required. The resource name of the file, in form of
projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}
#parent=
def parent=(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}
Returns
-
(::String) — Required. The resource name of the file, in form of
projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}