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.



10572
10573
10574
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 10572

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



10559
10560
10561
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 10559

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)


10565
10566
10567
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 10565

def next_page_token
  @next_page_token
end

#total_sizeFixnum

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

Returns:

  • (Fixnum)


10570
10571
10572
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 10570

def total_size
  @total_size
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10577
10578
10579
10580
10581
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 10577

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