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
-
(::Google::Cloud::Translate::V3::FileInputSource) — Inline file source.
Note: The following fields are mutually exclusive:
file_input_source
,gcs_input_source
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#file_input_source=
def file_input_source=(value) -> ::Google::Cloud::Translate::V3::FileInputSource
-
value (::Google::Cloud::Translate::V3::FileInputSource) — Inline file source.
Note: The following fields are mutually exclusive:
file_input_source
,gcs_input_source
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Translate::V3::FileInputSource) — Inline file source.
Note: The following fields are mutually exclusive:
file_input_source
,gcs_input_source
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#gcs_input_source
def gcs_input_source() -> ::Google::Cloud::Translate::V3::GcsInputSource
-
(::Google::Cloud::Translate::V3::GcsInputSource) — Google Cloud Storage file source.
Note: The following fields are mutually exclusive:
gcs_input_source
,file_input_source
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#gcs_input_source=
def gcs_input_source=(value) -> ::Google::Cloud::Translate::V3::GcsInputSource
-
value (::Google::Cloud::Translate::V3::GcsInputSource) — Google Cloud Storage file source.
Note: The following fields are mutually exclusive:
gcs_input_source
,file_input_source
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Translate::V3::GcsInputSource) — Google Cloud Storage file source.
Note: The following fields are mutually exclusive:
gcs_input_source
,file_input_source
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#parent
def parent() -> ::String
-
(::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
-
value (::String) — Required. The resource name of the file, in form of
projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}
-
(::String) — Required. The resource name of the file, in form of
projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}