Class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/documentai_v1beta2/classes.rb,
lib/google/apis/documentai_v1beta2/representations.rb,
lib/google/apis/documentai_v1beta2/representations.rb

Overview

Response of the sample documents operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponse

Returns a new instance of GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponse.



1041
1042
1043
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 1041

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

Instance Attribute Details

#selected_documentsArray<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument>

The result of the sampling process. Corresponds to the JSON property selectedDocuments



1039
1040
1041
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 1039

def selected_documents
  @selected_documents
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1046
1047
1048
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 1046

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