Class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3DocumentId

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

Document Identifier.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3DocumentId

Returns a new instance of GoogleCloudDocumentaiV1beta3DocumentId.



7840
7841
7842
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 7840

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#gcs_managed_doc_idGoogle::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3DocumentIdGcsManagedDocumentId

Identifies a document uniquely within the scope of a dataset in the user- managed Cloud Storage option. Corresponds to the JSON property gcsManagedDocId



7827
7828
7829
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 7827

def gcs_managed_doc_id
  @gcs_managed_doc_id
end

#revision_refGoogle::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3RevisionRef

The revision reference specifies which revision on the document to read. Corresponds to the JSON property revisionRef



7832
7833
7834
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 7832

def revision_ref
  @revision_ref
end

#unmanaged_doc_idGoogle::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3DocumentIdUnmanagedDocumentId

Identifies a document uniquely within the scope of a dataset in unmanaged option. Corresponds to the JSON property unmanagedDocId



7838
7839
7840
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 7838

def unmanaged_doc_id
  @unmanaged_doc_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7845
7846
7847
7848
7849
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 7845

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