Class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3EntityTypeMetadata

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) ⇒ GoogleCloudDocumentaiV1beta3EntityTypeMetadata

Returns a new instance of GoogleCloudDocumentaiV1beta3EntityTypeMetadata.



8987
8988
8989
# File 'lib/google/apis/documentai_v1/classes.rb', line 8987

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)


8984
8985
8986
# File 'lib/google/apis/documentai_v1/classes.rb', line 8984

def inactive
  @inactive
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8992
8993
8994
# File 'lib/google/apis/documentai_v1/classes.rb', line 8992

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