Document AI V1 API - Class Google::Cloud::DocumentAI::V1::DocumentSchema::Metadata (v0.23.1)

Reference documentation and code samples for the Document AI V1 API class Google::Cloud::DocumentAI::V1::DocumentSchema::Metadata.

Metadata for global schema behavior.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#document_allow_multiple_labels

def document_allow_multiple_labels() -> ::Boolean
Returns
  • (::Boolean) — If true, on a given page, there can be multiple document annotations covering it.

#document_allow_multiple_labels=

def document_allow_multiple_labels=(value) -> ::Boolean
Parameter
  • value (::Boolean) — If true, on a given page, there can be multiple document annotations covering it.
Returns
  • (::Boolean) — If true, on a given page, there can be multiple document annotations covering it.

#document_splitter

def document_splitter() -> ::Boolean
Returns
  • (::Boolean) — If true, a document entity type can be applied to subdocument (splitting). Otherwise, it can only be applied to the entire document (classification).

#document_splitter=

def document_splitter=(value) -> ::Boolean
Parameter
  • value (::Boolean) — If true, a document entity type can be applied to subdocument (splitting). Otherwise, it can only be applied to the entire document (classification).
Returns
  • (::Boolean) — If true, a document entity type can be applied to subdocument (splitting). Otherwise, it can only be applied to the entire document (classification).

#prefixed_naming_on_properties

def prefixed_naming_on_properties() -> ::Boolean
Returns
  • (::Boolean) — If set, all the nested entities must be prefixed with the parents.

#prefixed_naming_on_properties=

def prefixed_naming_on_properties=(value) -> ::Boolean
Parameter
  • value (::Boolean) — If set, all the nested entities must be prefixed with the parents.
Returns
  • (::Boolean) — If set, all the nested entities must be prefixed with the parents.

#skip_naming_validation

def skip_naming_validation() -> ::Boolean
Returns
  • (::Boolean) — If set, we will skip the naming format validation in the schema. So the string values in DocumentSchema.EntityType.name and DocumentSchema.EntityType.Property.name will not be checked.

#skip_naming_validation=

def skip_naming_validation=(value) -> ::Boolean
Parameter
  • value (::Boolean) — If set, we will skip the naming format validation in the schema. So the string values in DocumentSchema.EntityType.name and DocumentSchema.EntityType.Property.name will not be checked.
Returns
  • (::Boolean) — If set, we will skip the naming format validation in the schema. So the string values in DocumentSchema.EntityType.name and DocumentSchema.EntityType.Property.name will not be checked.