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}
.
1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 |
# File 'proto_docs/google/cloud/documentai/v1beta3/document.rb', line 1263 class RevisionRef include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Some predefined revision cases. module RevisionCase # Unspecified case, fall back 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.
1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 |
# File 'proto_docs/google/cloud/documentai/v1beta3/document.rb', line 1263 class RevisionRef include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Some predefined revision cases. module RevisionCase # Unspecified case, fall back 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.
1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 |
# File 'proto_docs/google/cloud/documentai/v1beta3/document.rb', line 1263 class RevisionRef include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Some predefined revision cases. module RevisionCase # Unspecified case, fall back 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 |