Class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1EntityTypeMetadata

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1EntityTypeMetadata

Returns a new instance of GoogleCloudDocumentaiV1EntityTypeMetadata.



3261
3262
3263
# File 'lib/google/apis/documentai_v1/classes.rb', line 3261

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

Instance Attribute Details

#human_review_labeling_metadataGoogle::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewLabelingMetadata

Metadata for human review labeling config. Corresponds to the JSON property humanReviewLabelingMetadata



3242
3243
3244
# File 'lib/google/apis/documentai_v1/classes.rb', line 3242

def 
  @human_review_labeling_metadata
end

#human_review_metadataGoogle::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewValidationMetadata

Metadata for Human Review config. Corresponds to the JSON property humanReviewMetadata



3247
3248
3249
# File 'lib/google/apis/documentai_v1/classes.rb', line 3247

def 
  @human_review_metadata
end

#inactiveBoolean Also known as: inactive?

Whether the entity type should be considered as "inactive". Corresponds to the JSON property inactive

Returns:

  • (Boolean)


3252
3253
3254
# File 'lib/google/apis/documentai_v1/classes.rb', line 3252

def inactive
  @inactive
end

#prefixed_naming_on_propertiesBoolean 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

Returns:

  • (Boolean)


3258
3259
3260
# File 'lib/google/apis/documentai_v1/classes.rb', line 3258

def prefixed_naming_on_properties
  @prefixed_naming_on_properties
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3266
3267
3268
3269
3270
3271
# File 'lib/google/apis/documentai_v1/classes.rb', line 3266

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