Cloud Translation V3 API - Class Google::Cloud::Translate::V3::ImportAdaptiveMtFileRequest (v0.12.0)

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

#file_input_source=

def file_input_source=(value) -> ::Google::Cloud::Translate::V3::FileInputSource
Parameter
Returns

#gcs_input_source

def gcs_input_source() -> ::Google::Cloud::Translate::V3::GcsInputSource
Returns

#gcs_input_source=

def gcs_input_source=(value) -> ::Google::Cloud::Translate::V3::GcsInputSource
Parameter
Returns

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