Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ListDocumentsResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3ListDocumentsResponse

Returns a new instance of GoogleCloudDocumentaiV1beta3ListDocumentsResponse.



11406
11407
11408
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 11406

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

Instance Attribute Details

#document_metadataArray<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentMetadata>

Document metadata corresponding to the listed documents. Corresponds to the JSON property documentMetadata



11393
11394
11395
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 11393

def 
  @document_metadata
end

#next_page_tokenString

A token, which can be sent as ListDocumentsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


11399
11400
11401
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 11399

def next_page_token
  @next_page_token
end

#total_sizeFixnum

Total count of documents queried. Corresponds to the JSON property totalSize

Returns:

  • (Fixnum)


11404
11405
11406
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 11404

def total_size
  @total_size
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11411
11412
11413
11414
11415
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 11411

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