Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EntityTypeMetadata

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3EntityTypeMetadata

Returns a new instance of GoogleCloudDocumentaiV1beta3EntityTypeMetadata.



10518
10519
10520
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 10518

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

Instance Attribute Details

#inactiveBoolean Also known as: inactive?

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

Returns:

  • (Boolean)


10515
10516
10517
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 10515

def inactive
  @inactive
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10523
10524
10525
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 10523

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