Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetSchema
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetSchema
- 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
Overview
Dataset Schema.
Instance Attribute Summary collapse
-
#document_schema ⇒ Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchema
The schema defines the output of the processed document by a processor.
-
#name ⇒ String
Dataset schema resource name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3DatasetSchema
constructor
A new instance of GoogleCloudDocumentaiV1beta3DatasetSchema.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3DatasetSchema
Returns a new instance of GoogleCloudDocumentaiV1beta3DatasetSchema.
7678 7679 7680 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 7678 def initialize(**args) update!(**args) end |
Instance Attribute Details
#document_schema ⇒ Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchema
The schema defines the output of the processed document by a processor.
Corresponds to the JSON property documentSchema
7670 7671 7672 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 7670 def document_schema @document_schema end |
#name ⇒ String
Dataset schema resource name. Format: projects/
project/locations/
location/
processors/
processor/dataset/datasetSchema
Corresponds to the JSON property name
7676 7677 7678 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 7676 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7683 7684 7685 7686 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 7683 def update!(**args) @document_schema = args[:document_schema] if args.key?(:document_schema) @name = args[:name] if args.key?(:name) end |