Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3RevisionRef
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3RevisionRef
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/documentai_v1beta3/classes.rb,
lib/google/apis/documentai_v1beta3/representations.rb,
lib/google/apis/documentai_v1beta3/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) ⇒ GoogleCloudDocumentaiUiv1beta3RevisionRef
constructor
A new instance of GoogleCloudDocumentaiUiv1beta3RevisionRef.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiUiv1beta3RevisionRef
Returns a new instance of GoogleCloudDocumentaiUiv1beta3RevisionRef.
2358 2359 2360 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 2358 def initialize(**args) update!(**args) end |
Instance Attribute Details
#latest_processor_version ⇒ 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`
Corresponds to the JSON propertylatestProcessorVersion`
2346 2347 2348 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 2346 def latest_processor_version @latest_processor_version end |
#revision_case ⇒ String
Reads the revision by the predefined case.
Corresponds to the JSON property revisionCase
2351 2352 2353 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 2351 def revision_case @revision_case end |
#revision_id ⇒ String
Reads the revision given by the id.
Corresponds to the JSON property revisionId
2356 2357 2358 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 2356 def revision_id @revision_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2363 2364 2365 2366 2367 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 2363 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 |