Class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1EntityTypeMetadata
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1EntityTypeMetadata
- 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
Metadata about an entity type.
Instance Attribute Summary collapse
-
#human_review_labeling_metadata ⇒ Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewLabelingMetadata
Metadata for human review labeling config.
-
#human_review_metadata ⇒ Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewValidationMetadata
Metadata for Human Review config.
-
#inactive ⇒ Boolean
(also: #inactive?)
Whether the entity type should be considered as "inactive".
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDocumentaiV1EntityTypeMetadata
constructor
A new instance of GoogleCloudDocumentaiV1EntityTypeMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiV1EntityTypeMetadata
Returns a new instance of GoogleCloudDocumentaiV1EntityTypeMetadata.
3433 3434 3435 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 3433 def initialize(**args) update!(**args) end |
Instance Attribute Details
#human_review_labeling_metadata ⇒ Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewLabelingMetadata
Metadata for human review labeling config.
Corresponds to the JSON property humanReviewLabelingMetadata
3420 3421 3422 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 3420 def @human_review_labeling_metadata end |
#human_review_metadata ⇒ Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewValidationMetadata
Metadata for Human Review config.
Corresponds to the JSON property humanReviewMetadata
3425 3426 3427 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 3425 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
3430 3431 3432 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 3430 def inactive @inactive end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3438 3439 3440 3441 3442 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 3438 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) end |