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.



9480
9481
9482
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 9480

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



9478
9479
9480
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 9478

def documents
  @documents
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9485
9486
9487
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 9485

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