Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3SchemaInferenceMetadata

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 for schema inference. Only used on dataset.schema for schema inference, can be safely ignored elsewhere.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiUiv1beta3SchemaInferenceMetadata

Returns a new instance of GoogleCloudDocumentaiUiv1beta3SchemaInferenceMetadata.



2608
2609
2610
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 2608

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

Instance Attribute Details

#inferredBoolean Also known as: inferred?

True if is inferred by schema inference. Corresponds to the JSON property inferred

Returns:

  • (Boolean)


2605
2606
2607
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 2605

def inferred
  @inferred
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2613
2614
2615
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 2613

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