Class: Google::Cloud::Vision::V1::OperationMetadata
- Inherits:
-
Object
- Object
- Google::Cloud::Vision::V1::OperationMetadata
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/vision/v1/image_annotator.rb
Overview
Contains metadata for the BatchAnnotateImages operation.
Defined Under Namespace
Modules: State
Instance Attribute Summary collapse
-
#create_time ⇒ ::Google::Protobuf::Timestamp
The time when the batch request was received.
-
#state ⇒ ::Google::Cloud::Vision::V1::OperationMetadata::State
Current state of the batch operation.
-
#update_time ⇒ ::Google::Protobuf::Timestamp
The time when the operation result was last updated.
Instance Attribute Details
#create_time ⇒ ::Google::Protobuf::Timestamp
Returns The time when the batch request was received.
1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 |
# File 'proto_docs/google/cloud/vision/v1/image_annotator.rb', line 1021 class OperationMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Batch operation states. module State # Invalid. STATE_UNSPECIFIED = 0 # Request is received. CREATED = 1 # Request is actively being processed. RUNNING = 2 # The batch processing is done. DONE = 3 # The batch processing was cancelled. CANCELLED = 4 end end |
#state ⇒ ::Google::Cloud::Vision::V1::OperationMetadata::State
Returns Current state of the batch operation.
1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 |
# File 'proto_docs/google/cloud/vision/v1/image_annotator.rb', line 1021 class OperationMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Batch operation states. module State # Invalid. STATE_UNSPECIFIED = 0 # Request is received. CREATED = 1 # Request is actively being processed. RUNNING = 2 # The batch processing is done. DONE = 3 # The batch processing was cancelled. CANCELLED = 4 end end |
#update_time ⇒ ::Google::Protobuf::Timestamp
Returns The time when the operation result was last updated.
1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 |
# File 'proto_docs/google/cloud/vision/v1/image_annotator.rb', line 1021 class OperationMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Batch operation states. module State # Invalid. STATE_UNSPECIFIED = 0 # Request is received. CREATED = 1 # Request is actively being processed. RUNNING = 2 # The batch processing is done. DONE = 3 # The batch processing was cancelled. CANCELLED = 4 end end |