class Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Schema

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

Attributes

description[RW]

Description of the schema. Corresponds to the JSON property `description` @return [String]

display_name[RW]

Display name to show to users. Corresponds to the JSON property `displayName` @return [String]

entity_types[RW]

Entity types of the schema. Corresponds to the JSON property `entityTypes` @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3SchemaEntityType>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/documentai_v1beta3/classes.rb, line 7198
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/documentai_v1beta3/classes.rb, line 7203
def update!(**args)
  @description = args[:description] if args.key?(:description)
  @display_name = args[:display_name] if args.key?(:display_name)
  @entity_types = args[:entity_types] if args.key?(:entity_types)
end