Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3RawDocuments

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

Specifies a set of raw documents.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3RawDocuments

Returns a new instance of GoogleCloudDocumentaiV1beta3RawDocuments.



9513
9514
9515
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 9513

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

Instance Attribute Details

#documentsArray<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3RawDocument>

Specifies raw document content and mime type. Corresponds to the JSON property documents



9511
9512
9513
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 9511

def documents
  @documents
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9518
9519
9520
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 9518

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