Reference documentation and code samples for the Cloud Optimization V1 API class Google::Cloud::Optimization::V1::AsyncModelMetadata.
The long running operation metadata for async model related methods.
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.
#state
def state() -> ::Google::Cloud::Optimization::V1::AsyncModelMetadata::State
Returns
- (::Google::Cloud::Optimization::V1::AsyncModelMetadata::State) — The state of the current operation.
#state=
def state=(value) -> ::Google::Cloud::Optimization::V1::AsyncModelMetadata::State
Parameter
- value (::Google::Cloud::Optimization::V1::AsyncModelMetadata::State) — The state of the current operation.
Returns
- (::Google::Cloud::Optimization::V1::AsyncModelMetadata::State) — The state of the current operation.
#state_message
def state_message() -> ::String
Returns
- (::String) — A message providing more details about the current state of the operation. For example, the error message if the operation is failed.
#state_message=
def state_message=(value) -> ::String
Parameter
- value (::String) — A message providing more details about the current state of the operation. For example, the error message if the operation is failed.
Returns
- (::String) — A message providing more details about the current state of the operation. For example, the error message if the operation is failed.
#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.