Reference documentation and code samples for the Cloud Translation V3 API class Google::Cloud::Translate::V3::CreateModelMetadata.
Metadata of create model operation.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — The creation time of the operation.
#create_time=
def create_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — The creation time of the operation.
Returns
- (::Google::Protobuf::Timestamp) — The creation time of the operation.
#error
def error() -> ::Google::Rpc::Status
Returns
- (::Google::Rpc::Status) — Only populated when operation doesn't succeed.
#error=
def error=(value) -> ::Google::Rpc::Status
Parameter
- value (::Google::Rpc::Status) — Only populated when operation doesn't succeed.
Returns
- (::Google::Rpc::Status) — Only populated when operation doesn't succeed.
#state
def state() -> ::Google::Cloud::Translate::V3::OperationState
Returns
- (::Google::Cloud::Translate::V3::OperationState) — The current state of the operation.
#state=
def state=(value) -> ::Google::Cloud::Translate::V3::OperationState
Parameter
- value (::Google::Cloud::Translate::V3::OperationState) — The current state of the operation.
Returns
- (::Google::Cloud::Translate::V3::OperationState) — The current state of the operation.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — The last update time of the operation.
#update_time=
def update_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — The last update time of the operation.
Returns
- (::Google::Protobuf::Timestamp) — The last update time of the operation.