Class: Google::Cloud::DocumentAI::V1beta3::RevisionRef
- Inherits:
-
Object
- Object
- Google::Cloud::DocumentAI::V1beta3::RevisionRef
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/documentai/v1beta3/document.rb
Overview
The revision reference specifies which revision on the document to read.
Defined Under Namespace
Modules: RevisionCase
Instance Attribute Summary collapse
-
#latest_processor_version ⇒ ::String
Reads the revision generated by the processor version.
-
#revision_case ⇒ ::Google::Cloud::DocumentAI::V1beta3::RevisionRef::RevisionCase
Reads the revision by the predefined case.
-
#revision_id ⇒ ::String
Reads the revision given by the id.
Instance Attribute Details
#latest_processor_version ⇒ ::String
Returns Reads the revision generated by the processor version.
The format takes the full resource name of processor version.
projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}
.
1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 |
# File 'proto_docs/google/cloud/documentai/v1beta3/document.rb', line 1049 class RevisionRef include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Some predefined revision cases. module RevisionCase # Unspecified case, fallback to read the LATEST_HUMAN_REVIEW. REVISION_CASE_UNSPECIFIED = 0 # The latest revision made by a human. LATEST_HUMAN_REVIEW = 1 # The latest revision based on timestamp. LATEST_TIMESTAMP = 2 # The first (OCR) revision. BASE_OCR_REVISION = 3 end end |
#revision_case ⇒ ::Google::Cloud::DocumentAI::V1beta3::RevisionRef::RevisionCase
Returns Reads the revision by the predefined case.
1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 |
# File 'proto_docs/google/cloud/documentai/v1beta3/document.rb', line 1049 class RevisionRef include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Some predefined revision cases. module RevisionCase # Unspecified case, fallback to read the LATEST_HUMAN_REVIEW. REVISION_CASE_UNSPECIFIED = 0 # The latest revision made by a human. LATEST_HUMAN_REVIEW = 1 # The latest revision based on timestamp. LATEST_TIMESTAMP = 2 # The first (OCR) revision. BASE_OCR_REVISION = 3 end end |
#revision_id ⇒ ::String
Returns Reads the revision given by the id.
1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 |
# File 'proto_docs/google/cloud/documentai/v1beta3/document.rb', line 1049 class RevisionRef include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Some predefined revision cases. module RevisionCase # Unspecified case, fallback to read the LATEST_HUMAN_REVIEW. REVISION_CASE_UNSPECIFIED = 0 # The latest revision made by a human. LATEST_HUMAN_REVIEW = 1 # The latest revision based on timestamp. LATEST_TIMESTAMP = 2 # The first (OCR) revision. BASE_OCR_REVISION = 3 end end |