Class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponse
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/documentai_v1/classes.rb,
lib/google/apis/documentai_v1/representations.rb,
lib/google/apis/documentai_v1/representations.rb
Overview
Response of the sample documents operation.
Instance Attribute Summary collapse
-
#sample_test_status ⇒ Google::Apis::DocumentaiV1::GoogleRpcStatus
The
Status
type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. -
#sample_training_status ⇒ Google::Apis::DocumentaiV1::GoogleRpcStatus
The
Status
type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. -
#selected_documents ⇒ Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument>
The result of the sampling process.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponse
constructor
A new instance of GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponse
Returns a new instance of GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponse.
1094 1095 1096 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 1094 def initialize(**args) update!(**args) end |
Instance Attribute Details
#sample_test_status ⇒ Google::Apis::DocumentaiV1::GoogleRpcStatus
The Status
type defines a logical error model that is suitable for different
programming environments, including REST APIs and RPC APIs. It is used by
gRPC. Each Status
message contains three pieces of
data: error code, error message, and error details. You can find out more
about this error model and how to work with it in the API Design Guide.
Corresponds to the JSON property sampleTestStatus
1077 1078 1079 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 1077 def sample_test_status @sample_test_status end |
#sample_training_status ⇒ Google::Apis::DocumentaiV1::GoogleRpcStatus
The Status
type defines a logical error model that is suitable for different
programming environments, including REST APIs and RPC APIs. It is used by
gRPC. Each Status
message contains three pieces of
data: error code, error message, and error details. You can find out more
about this error model and how to work with it in the API Design Guide.
Corresponds to the JSON property sampleTrainingStatus
1087 1088 1089 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 1087 def sample_training_status @sample_training_status end |
#selected_documents ⇒ Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument>
The result of the sampling process.
Corresponds to the JSON property selectedDocuments
1092 1093 1094 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 1092 def selected_documents @selected_documents end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1099 1100 1101 1102 1103 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 1099 def update!(**args) @sample_test_status = args[:sample_test_status] if args.key?(:sample_test_status) @sample_training_status = args[:sample_training_status] if args.key?(:sample_training_status) @selected_documents = args[:selected_documents] if args.key?(:selected_documents) end |