Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentIdUnmanagedDocumentId

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

Identifies a document uniquely within the scope of a dataset in unmanaged option.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3DocumentIdUnmanagedDocumentId

Returns a new instance of GoogleCloudDocumentaiV1beta3DocumentIdUnmanagedDocumentId.



8640
8641
8642
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 8640

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

Instance Attribute Details

#doc_idString

Required. The id of the document. Corresponds to the JSON property docId

Returns:

  • (String)


8638
8639
8640
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 8638

def doc_id
  @doc_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8645
8646
8647
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 8645

def update!(**args)
  @doc_id = args[:doc_id] if args.key?(:doc_id)
end