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.



9772
9773
9774
# File 'lib/google/apis/documentai_v1/classes.rb', line 9772

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



9764
9765
9766
# File 'lib/google/apis/documentai_v1/classes.rb', line 9764

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)


9769
9770
9771
# File 'lib/google/apis/documentai_v1/classes.rb', line 9769

def inactive
  @inactive
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9777
9778
9779
9780
# File 'lib/google/apis/documentai_v1/classes.rb', line 9777

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