Class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3PropertyMetadata

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3PropertyMetadata

Returns a new instance of GoogleCloudDocumentaiV1beta3PropertyMetadata.



9724
9725
9726
# File 'lib/google/apis/documentai_v1/classes.rb', line 9724

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

Instance Attribute Details

#field_extraction_metadataGoogle::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3FieldExtractionMetadata

Metadata for how this field value is extracted. Corresponds to the JSON property fieldExtractionMetadata



9716
9717
9718
# File 'lib/google/apis/documentai_v1/classes.rb', line 9716

def 
  @field_extraction_metadata
end

#inactiveBoolean Also known as: inactive?

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

Returns:

  • (Boolean)


9721
9722
9723
# File 'lib/google/apis/documentai_v1/classes.rb', line 9721

def inactive
  @inactive
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9729
9730
9731
9732
# File 'lib/google/apis/documentai_v1/classes.rb', line 9729

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