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
- (::Array<::Google::Cloud::DocumentAI::V1::DocumentSchema::EntityType>) — Entity types of the schema.
#entity_types=
def entity_types=(value) -> ::Array<::Google::Cloud::DocumentAI::V1::DocumentSchema::EntityType>
Parameter
- value (::Array<::Google::Cloud::DocumentAI::V1::DocumentSchema::EntityType>) — Entity types of the schema.
Returns
- (::Array<::Google::Cloud::DocumentAI::V1::DocumentSchema::EntityType>) — Entity types of the schema.
#metadata
def metadata() -> ::Google::Cloud::DocumentAI::V1::DocumentSchema::Metadata
Returns
- (::Google::Cloud::DocumentAI::V1::DocumentSchema::Metadata) — Metadata of the schema.
#metadata=
def metadata=(value) -> ::Google::Cloud::DocumentAI::V1::DocumentSchema::Metadata
Parameter
- value (::Google::Cloud::DocumentAI::V1::DocumentSchema::Metadata) — Metadata of the schema.
Returns
- (::Google::Cloud::DocumentAI::V1::DocumentSchema::Metadata) — Metadata of the schema.