Class: Google::Cloud::DocumentAI::V1beta3::CommonOperationMetadata
- Inherits:
-
Object
- Object
- Google::Cloud::DocumentAI::V1beta3::CommonOperationMetadata
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/documentai/v1beta3/operation_metadata.rb
Overview
The common metadata for long running operations.
Defined Under Namespace
Modules: State
Instance Attribute Summary collapse
-
#create_time ⇒ ::Google::Protobuf::Timestamp
The creation time of the operation.
-
#resource ⇒ ::String
A related resource to this operation.
-
#state ⇒ ::Google::Cloud::DocumentAI::V1beta3::CommonOperationMetadata::State
The state of the operation.
-
#state_message ⇒ ::String
A message providing more details about the current state of processing.
-
#update_time ⇒ ::Google::Protobuf::Timestamp
The last update time of the operation.
Instance Attribute Details
#create_time ⇒ ::Google::Protobuf::Timestamp
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'proto_docs/google/cloud/documentai/v1beta3/operation_metadata.rb', line 40 class CommonOperationMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # State of the longrunning operation. module State # Unspecified state. STATE_UNSPECIFIED = 0 # Operation is still running. RUNNING = 1 # Operation is being cancelled. CANCELLING = 2 # Operation succeeded. SUCCEEDED = 3 # Operation failed. FAILED = 4 # Operation is cancelled. CANCELLED = 5 end end |
#resource ⇒ ::String
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'proto_docs/google/cloud/documentai/v1beta3/operation_metadata.rb', line 40 class CommonOperationMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # State of the longrunning operation. module State # Unspecified state. STATE_UNSPECIFIED = 0 # Operation is still running. RUNNING = 1 # Operation is being cancelled. CANCELLING = 2 # Operation succeeded. SUCCEEDED = 3 # Operation failed. FAILED = 4 # Operation is cancelled. CANCELLED = 5 end end |
#state ⇒ ::Google::Cloud::DocumentAI::V1beta3::CommonOperationMetadata::State
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'proto_docs/google/cloud/documentai/v1beta3/operation_metadata.rb', line 40 class CommonOperationMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # State of the longrunning operation. module State # Unspecified state. STATE_UNSPECIFIED = 0 # Operation is still running. RUNNING = 1 # Operation is being cancelled. CANCELLING = 2 # Operation succeeded. SUCCEEDED = 3 # Operation failed. FAILED = 4 # Operation is cancelled. CANCELLED = 5 end end |
#state_message ⇒ ::String
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'proto_docs/google/cloud/documentai/v1beta3/operation_metadata.rb', line 40 class CommonOperationMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # State of the longrunning operation. module State # Unspecified state. STATE_UNSPECIFIED = 0 # Operation is still running. RUNNING = 1 # Operation is being cancelled. CANCELLING = 2 # Operation succeeded. SUCCEEDED = 3 # Operation failed. FAILED = 4 # Operation is cancelled. CANCELLED = 5 end end |
#update_time ⇒ ::Google::Protobuf::Timestamp
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'proto_docs/google/cloud/documentai/v1beta3/operation_metadata.rb', line 40 class CommonOperationMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # State of the longrunning operation. module State # Unspecified state. STATE_UNSPECIFIED = 0 # Operation is still running. RUNNING = 1 # Operation is being cancelled. CANCELLING = 2 # Operation succeeded. SUCCEEDED = 3 # Operation failed. FAILED = 4 # Operation is cancelled. CANCELLED = 5 end end |