Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentId
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentId
- 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
Document Identifier.
Instance Attribute Summary collapse
-
#gcs_managed_doc_id ⇒ Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentIdGcsManagedDocumentId
Identifies a document uniquely within the scope of a dataset in the user- managed Cloud Storage option.
-
#revision_ref ⇒ Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3RevisionRef
The revision reference specifies which revision on the document to read.
-
#unmanaged_doc_id ⇒ Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentIdUnmanagedDocumentId
Identifies a document uniquely within the scope of a dataset in unmanaged option.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3DocumentId
constructor
A new instance of GoogleCloudDocumentaiV1beta3DocumentId.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3DocumentId
Returns a new instance of GoogleCloudDocumentaiV1beta3DocumentId.
8592 8593 8594 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 8592 def initialize(**args) update!(**args) end |
Instance Attribute Details
#gcs_managed_doc_id ⇒ Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentIdGcsManagedDocumentId
Identifies a document uniquely within the scope of a dataset in the user-
managed Cloud Storage option.
Corresponds to the JSON property gcsManagedDocId
8579 8580 8581 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 8579 def gcs_managed_doc_id @gcs_managed_doc_id end |
#revision_ref ⇒ Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3RevisionRef
The revision reference specifies which revision on the document to read.
Corresponds to the JSON property revisionRef
8584 8585 8586 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 8584 def revision_ref @revision_ref end |
#unmanaged_doc_id ⇒ Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentIdUnmanagedDocumentId
Identifies a document uniquely within the scope of a dataset in unmanaged
option.
Corresponds to the JSON property unmanagedDocId
8590 8591 8592 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 8590 def unmanaged_doc_id @unmanaged_doc_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8597 8598 8599 8600 8601 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 8597 def update!(**args) @gcs_managed_doc_id = args[:gcs_managed_doc_id] if args.key?(:gcs_managed_doc_id) @revision_ref = args[:revision_ref] if args.key?(:revision_ref) @unmanaged_doc_id = args[:unmanaged_doc_id] if args.key?(:unmanaged_doc_id) end |