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.



3432
3433
3434
# File 'lib/google/apis/documentai_v1/classes.rb', line 3432

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

Instance Attribute Details

#inactiveBoolean Also known as: inactive?

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

Returns:

  • (Boolean)


3429
3430
3431
# File 'lib/google/apis/documentai_v1/classes.rb', line 3429

def inactive
  @inactive
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3437
3438
3439
# File 'lib/google/apis/documentai_v1/classes.rb', line 3437

def update!(**args)
  @inactive = args[:inactive] if args.key?(:inactive)
end