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

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

The schema defines the output of the processed document by a processor.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#description

def description() -> ::String
Returns
  • (::String) — Description of the schema.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — Description of the schema.
Returns
  • (::String) — Description of the schema.

#display_name

def display_name() -> ::String
Returns
  • (::String) — Display name to show to users.

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::String) — Display name to show to users.
Returns
  • (::String) — Display name to show to users.

#entity_types

def entity_types() -> ::Array<::Google::Cloud::DocumentAI::V1::DocumentSchema::EntityType>
Returns

#entity_types=

def entity_types=(value) -> ::Array<::Google::Cloud::DocumentAI::V1::DocumentSchema::EntityType>
Parameter
Returns

#metadata

def metadata() -> ::Google::Cloud::DocumentAI::V1::DocumentSchema::Metadata
Returns

#metadata=

def metadata=(value) -> ::Google::Cloud::DocumentAI::V1::DocumentSchema::Metadata
Parameter
Returns