Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3PropertyMetadata
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3PropertyMetadata
- 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
-
#field_extraction_metadata ⇒ Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3FieldExtractionMetadata
Metadata for how this field value is extracted.
-
#inactive ⇒ Boolean
(also: #inactive?)
Whether the property should be considered as "inactive".
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3PropertyMetadata
constructor
A new instance of GoogleCloudDocumentaiV1beta3PropertyMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3PropertyMetadata
Returns a new instance of GoogleCloudDocumentaiV1beta3PropertyMetadata.
12335 12336 12337 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 12335 def initialize(**args) update!(**args) end |
Instance Attribute Details
#field_extraction_metadata ⇒ Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3FieldExtractionMetadata
Metadata for how this field value is extracted.
Corresponds to the JSON property fieldExtractionMetadata
12327 12328 12329 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 12327 def @field_extraction_metadata end |
#inactive ⇒ Boolean Also known as: inactive?
Whether the property should be considered as "inactive".
Corresponds to the JSON property inactive
12332 12333 12334 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 12332 def inactive @inactive end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12340 12341 12342 12343 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 12340 def update!(**args) @field_extraction_metadata = args[:field_extraction_metadata] if args.key?(:field_extraction_metadata) @inactive = args[:inactive] if args.key?(:inactive) end |