Reference documentation and code samples for the Cloud Translation V3 API class Google::Cloud::Translate::V3::DatasetInputConfig::InputFile.
An input file.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#gcs_source
def gcs_source() -> ::Google::Cloud::Translate::V3::GcsInputSource
Returns
- (::Google::Cloud::Translate::V3::GcsInputSource) — Google Cloud Storage file source.
#gcs_source=
def gcs_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.
#usage
def usage() -> ::String
Returns
- (::String) — Optional. Usage of the file contents. Options are TRAIN|VALIDATION|TEST, or UNASSIGNED (by default) for auto split.
#usage=
def usage=(value) -> ::String
Parameter
- value (::String) — Optional. Usage of the file contents. Options are TRAIN|VALIDATION|TEST, or UNASSIGNED (by default) for auto split.
Returns
- (::String) — Optional. Usage of the file contents. Options are TRAIN|VALIDATION|TEST, or UNASSIGNED (by default) for auto split.