Class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3RevisionReference
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3RevisionReference
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/documentai_v1beta2/classes.rb,
lib/google/apis/documentai_v1beta2/representations.rb,
lib/google/apis/documentai_v1beta2/representations.rb
Overview
The revision reference specifies which revision on the document to read.
Instance Attribute Summary collapse
-
#latest_processor_version ⇒ String
Reads the revision generated by the processor version.
-
#revision_case ⇒ String
Reads the revision by the predefined case.
-
#revision_id ⇒ String
Reads the revision given by the id.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDocumentaiUiv1beta3RevisionReference
constructor
A new instance of GoogleCloudDocumentaiUiv1beta3RevisionReference.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiUiv1beta3RevisionReference
Returns a new instance of GoogleCloudDocumentaiUiv1beta3RevisionReference.
963 964 965 |
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 963 def initialize(**args) update!(**args) end |
Instance Attribute Details
#latest_processor_version ⇒ String
Reads the revision generated by the processor version.
Corresponds to the JSON property latestProcessorVersion
951 952 953 |
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 951 def latest_processor_version @latest_processor_version end |
#revision_case ⇒ String
Reads the revision by the predefined case.
Corresponds to the JSON property revisionCase
956 957 958 |
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 956 def revision_case @revision_case end |
#revision_id ⇒ String
Reads the revision given by the id.
Corresponds to the JSON property revisionId
961 962 963 |
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 961 def revision_id @revision_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
968 969 970 971 972 |
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 968 def update!(**args) @latest_processor_version = args[:latest_processor_version] if args.key?(:latest_processor_version) @revision_case = args[:revision_case] if args.key?(:revision_case) @revision_id = args[:revision_id] if args.key?(:revision_id) end |