class Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Processor

The first-class citizen for DAI. Each processor defines how to extract structural information from a document.

Attributes

create_time[RW]

The time the processor was created. Corresponds to the JSON property `createTime` @return [String]

default_processor_version[RW]

The default processor version. Corresponds to the JSON property `defaultProcessorVersion` @return [String]

display_name[RW]

The display name of the processor. Corresponds to the JSON property `displayName` @return [String]

kms_key_name[RW]

The KMS key used for encryption/decryption in CMEK scenarios. See https:// cloud.google.com/security-key-management. Corresponds to the JSON property `kmsKeyName` @return [String]

name[RW]

Output only. Immutable. The resource name of the processor. Format: projects/` project`/locations/`location`/processors/`processor` Corresponds to the JSON property `name` @return [String]

process_endpoint[RW]

Output only. Immutable. The http endpoint that can be called to invoke processing. Corresponds to the JSON property `processEndpoint` @return [String]

state[RW]

Output only. The state of the processor. Corresponds to the JSON property `state` @return [String]

type[RW]

The processor type, e.g., INVOICE_PARSING, W2_PARSING, etc. Corresponds to the JSON property `type` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/documentai_v1beta3/classes.rb, line 6894
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 6899
def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @default_processor_version = args[:default_processor_version] if args.key?(:default_processor_version)
  @display_name = args[:display_name] if args.key?(:display_name)
  @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
  @name = args[:name] if args.key?(:name)
  @process_endpoint = args[:process_endpoint] if args.key?(:process_endpoint)
  @state = args[:state] if args.key?(:state)
  @type = args[:type] if args.key?(:type)
end