Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3PropertyMetadata

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 a property.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3PropertyMetadata

Returns a new instance of GoogleCloudDocumentaiV1beta3PropertyMetadata.



10561
10562
10563
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 10561

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

Instance Attribute Details

#inactiveBoolean Also known as: inactive?

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

Returns:

  • (Boolean)


10558
10559
10560
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 10558

def inactive
  @inactive
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10566
10567
10568
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 10566

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