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.



7291
7292
7293
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 7291

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



7283
7284
7285
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 7283

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)


7288
7289
7290
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 7288

def inactive
  @inactive
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7296
7297
7298
7299
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 7296

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