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.



12248
12249
12250
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 12248

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

Instance Attribute Details

#field_extraction_metadataGoogle::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3FieldExtractionMetadata

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



12240
12241
12242
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 12240

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)


12245
12246
12247
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 12245

def inactive
  @inactive
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12253
12254
12255
12256
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 12253

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