Reference documentation and code samples for the Cloud Translation V3 API class Google::Cloud::Translate::V3::ImportDataRequest.
Request message for ImportData.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#dataset
def dataset() -> ::String
Returns
-
(::String) — Required. Name of the dataset. In form of
projects/{project-number-or-id}/locations/{location-id}/datasets/{dataset-id}
#dataset=
def dataset=(value) -> ::String
Parameter
-
value (::String) — Required. Name of the dataset. In form of
projects/{project-number-or-id}/locations/{location-id}/datasets/{dataset-id}
Returns
-
(::String) — Required. Name of the dataset. In form of
projects/{project-number-or-id}/locations/{location-id}/datasets/{dataset-id}
#input_config
def input_config() -> ::Google::Cloud::Translate::V3::DatasetInputConfig
Returns
- (::Google::Cloud::Translate::V3::DatasetInputConfig) — Required. The config for the input content.
#input_config=
def input_config=(value) -> ::Google::Cloud::Translate::V3::DatasetInputConfig
Parameter
- value (::Google::Cloud::Translate::V3::DatasetInputConfig) — Required. The config for the input content.
Returns
- (::Google::Cloud::Translate::V3::DatasetInputConfig) — Required. The config for the input content.