Class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1GcsDocuments

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

Specifies a set of documents on Cloud Storage.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1GcsDocuments

Returns a new instance of GoogleCloudDocumentaiV1GcsDocuments.



4757
4758
4759
# File 'lib/google/apis/documentai_v1/classes.rb', line 4757

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

Instance Attribute Details

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

The list of documents. Corresponds to the JSON property documents



4755
4756
4757
# File 'lib/google/apis/documentai_v1/classes.rb', line 4755

def documents
  @documents
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4762
4763
4764
# File 'lib/google/apis/documentai_v1/classes.rb', line 4762

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