Class: Google::Cloud::DocumentAI::V1beta3::RevisionRef

Inherits:
Object
  • Object
show all
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

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}.

Returns:

  • (::String)

    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}



1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
# File 'proto_docs/google/cloud/documentai/v1beta3/document.rb', line 1062

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.

Returns:



1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
# File 'proto_docs/google/cloud/documentai/v1beta3/document.rb', line 1062

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.

Returns:

  • (::String)

    Reads the revision given by the id.



1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
# File 'proto_docs/google/cloud/documentai/v1beta3/document.rb', line 1062

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