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.



8371
8372
8373
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 8371

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



8358
8359
8360
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 8358

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)


8364
8365
8366
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 8364

def next_page_token
  @next_page_token
end

#total_sizeFixnum

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

Returns:

  • (Fixnum)


8369
8370
8371
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 8369

def total_size
  @total_size
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8376
8377
8378
8379
8380
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 8376

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