Class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3DocumentIdUnmanagedDocumentId
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3DocumentIdUnmanagedDocumentId
- 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
Identifies a document uniquely within the scope of a dataset in unmanaged option.
Instance Attribute Summary collapse
-
#doc_id ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3DocumentIdUnmanagedDocumentId
constructor
A new instance of GoogleCloudDocumentaiV1beta3DocumentIdUnmanagedDocumentId.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3DocumentIdUnmanagedDocumentId
Returns a new instance of GoogleCloudDocumentaiV1beta3DocumentIdUnmanagedDocumentId.
7888 7889 7890 |
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 7888 def initialize(**args) update!(**args) end |
Instance Attribute Details
#doc_id ⇒ String
Required. The id of the document.
Corresponds to the JSON property docId
7886 7887 7888 |
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 7886 def doc_id @doc_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7893 7894 7895 |
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 7893 def update!(**args) @doc_id = args[:doc_id] if args.key?(:doc_id) end |