Class: Google::Cloud::Optimization::V1::AsyncModelMetadata
- Inherits:
-
Object
- Object
- Google::Cloud::Optimization::V1::AsyncModelMetadata
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/optimization/v1/async_model.rb
Overview
The long running operation metadata for async model related methods.
Defined Under Namespace
Modules: State
Instance Attribute Summary collapse
-
#create_time ⇒ ::Google::Protobuf::Timestamp
The creation time of the operation.
-
#state ⇒ ::Google::Cloud::Optimization::V1::AsyncModelMetadata::State
The state of the current operation.
-
#state_message ⇒ ::String
A message providing more details about the current state of the operation.
-
#update_time ⇒ ::Google::Protobuf::Timestamp
The last update time of the operation.
Instance Attribute Details
#create_time ⇒ ::Google::Protobuf::Timestamp
Returns The creation time of the operation.
81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 |
# File 'proto_docs/google/cloud/optimization/v1/async_model.rb', line 81 class AsyncModelMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Possible states of the operation. module State # The default value. This value is used if the state is omitted. STATE_UNSPECIFIED = 0 # Request is being processed. RUNNING = 1 # The operation completed successfully. SUCCEEDED = 2 # The operation was cancelled. CANCELLED = 3 # The operation has failed. FAILED = 4 end end |
#state ⇒ ::Google::Cloud::Optimization::V1::AsyncModelMetadata::State
Returns The state of the current operation.
81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 |
# File 'proto_docs/google/cloud/optimization/v1/async_model.rb', line 81 class AsyncModelMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Possible states of the operation. module State # The default value. This value is used if the state is omitted. STATE_UNSPECIFIED = 0 # Request is being processed. RUNNING = 1 # The operation completed successfully. SUCCEEDED = 2 # The operation was cancelled. CANCELLED = 3 # The operation has failed. FAILED = 4 end end |
#state_message ⇒ ::String
Returns A message providing more details about the current state of the operation. For example, the error message if the operation is failed.
81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 |
# File 'proto_docs/google/cloud/optimization/v1/async_model.rb', line 81 class AsyncModelMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Possible states of the operation. module State # The default value. This value is used if the state is omitted. STATE_UNSPECIFIED = 0 # Request is being processed. RUNNING = 1 # The operation completed successfully. SUCCEEDED = 2 # The operation was cancelled. CANCELLED = 3 # The operation has failed. FAILED = 4 end end |
#update_time ⇒ ::Google::Protobuf::Timestamp
Returns The last update time of the operation.
81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 |
# File 'proto_docs/google/cloud/optimization/v1/async_model.rb', line 81 class AsyncModelMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Possible states of the operation. module State # The default value. This value is used if the state is omitted. STATE_UNSPECIFIED = 0 # Request is being processed. RUNNING = 1 # The operation completed successfully. SUCCEEDED = 2 # The operation was cancelled. CANCELLED = 3 # The operation has failed. FAILED = 4 end end |