Cloud Translation V3 API - Class Google::Cloud::Translate::V3::BatchTransferResourcesResponse::TransferResourceResponse (v1.2.0)

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

#error=

def error=(value) -> ::Google::Rpc::Status
Parameter
Returns

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