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.



8338
8339
8340
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 8338

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



8325
8326
8327
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 8325

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)


8331
8332
8333
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 8331

def next_page_token
  @next_page_token
end

#total_sizeFixnum

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

Returns:

  • (Fixnum)


8336
8337
8338
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 8336

def total_size
  @total_size
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8343
8344
8345
8346
8347
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 8343

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