Class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1Documents

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/documentai_v1/classes.rb,
lib/google/apis/documentai_v1/representations.rb,
lib/google/apis/documentai_v1/representations.rb

Overview

A set of inline documents.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1Documents

Returns a new instance of GoogleCloudDocumentaiV1Documents.



5951
5952
5953
# File 'lib/google/apis/documentai_v1/classes.rb', line 5951

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

Instance Attribute Details

#documentsArray<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1Document>

The list of documents. Corresponds to the JSON property documents



5949
5950
5951
# File 'lib/google/apis/documentai_v1/classes.rb', line 5949

def documents
  @documents
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5956
5957
5958
# File 'lib/google/apis/documentai_v1/classes.rb', line 5956

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