Reference documentation and code samples for the Cloud Translation V3 API class Google::Cloud::Translate::V3::BatchTransferResourcesResponse::TransferResourceResponse.
Transfer response for a single resource.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#error
def error() -> ::Google::Rpc::Status
Returns
- (::Google::Rpc::Status) — The error result in case of failure.
#error=
def error=(value) -> ::Google::Rpc::Status
Parameter
- value (::Google::Rpc::Status) — The error result in case of failure.
Returns
- (::Google::Rpc::Status) — The error result in case of failure.
#source
def source() -> ::String
Returns
- (::String) — Full name of the resource to transfer as specified in the request.
#source=
def source=(value) -> ::String
Parameter
- value (::String) — Full name of the resource to transfer as specified in the request.
Returns
- (::String) — Full name of the resource to transfer as specified in the request.
#target
def target() -> ::String
Returns
- (::String) — Full name of the new resource successfully transferred from the source hosted by Translation API. Target will be empty if the transfer failed.
#target=
def target=(value) -> ::String
Parameter
- value (::String) — Full name of the new resource successfully transferred from the source hosted by Translation API. Target will be empty if the transfer failed.
Returns
- (::String) — Full name of the new resource successfully transferred from the source hosted by Translation API. Target will be empty if the transfer failed.