Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EntityTypeMetadata
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EntityTypeMetadata
- 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
Metadata about an entity type.
Instance Attribute Summary collapse
-
#human_review_labeling_metadata ⇒ Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3HumanReviewLabelingMetadata
Metadata for human review labeling config.
-
#human_review_metadata ⇒ Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3HumanReviewValidationMetadata
Metadata for Human Review config.
-
#inactive ⇒ Boolean
(also: #inactive?)
Whether the entity type should be considered as "inactive".
-
#prefixed_naming_on_properties ⇒ Boolean
(also: #prefixed_naming_on_properties?)
If set, the properties of this entity type must be prefixed with the parents.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3EntityTypeMetadata
constructor
A new instance of GoogleCloudDocumentaiV1beta3EntityTypeMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3EntityTypeMetadata
Returns a new instance of GoogleCloudDocumentaiV1beta3EntityTypeMetadata.
7632 7633 7634 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 7632 def initialize(**args) update!(**args) end |
Instance Attribute Details
#human_review_labeling_metadata ⇒ Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3HumanReviewLabelingMetadata
Metadata for human review labeling config.
Corresponds to the JSON property humanReviewLabelingMetadata
7613 7614 7615 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 7613 def @human_review_labeling_metadata end |
#human_review_metadata ⇒ Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3HumanReviewValidationMetadata
Metadata for Human Review config.
Corresponds to the JSON property humanReviewMetadata
7618 7619 7620 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 7618 def @human_review_metadata end |
#inactive ⇒ Boolean Also known as: inactive?
Whether the entity type should be considered as "inactive".
Corresponds to the JSON property inactive
7623 7624 7625 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 7623 def inactive @inactive end |
#prefixed_naming_on_properties ⇒ Boolean Also known as: prefixed_naming_on_properties?
If set, the properties of this entity type must be prefixed with the parents.
Corresponds to the JSON property prefixedNamingOnProperties
7629 7630 7631 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 7629 def prefixed_naming_on_properties @prefixed_naming_on_properties end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7637 7638 7639 7640 7641 7642 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 7637 def update!(**args) @human_review_labeling_metadata = args[:human_review_labeling_metadata] if args.key?(:human_review_labeling_metadata) @human_review_metadata = args[:human_review_metadata] if args.key?(:human_review_metadata) @inactive = args[:inactive] if args.key?(:inactive) @prefixed_naming_on_properties = args[:prefixed_naming_on_properties] if args.key?(:prefixed_naming_on_properties) end |