class Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Processor
The first-class citizen for DAI. Each processor defines how to extract structural information from a document.
Attributes
The time the processor was created. Corresponds to the JSON property `createTime` @return [String]
The default processor version. Corresponds to the JSON property `defaultProcessorVersion` @return [String]
The display name of the processor. Corresponds to the JSON property `displayName` @return [String]
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]
Output only. Immutable. The resource name of the processor. Format: projects/` project`/locations/`location`/processors/`processor` Corresponds to the JSON property `name` @return [String]
Output only. Immutable. The http endpoint that can be called to invoke processing. Corresponds to the JSON property `processEndpoint` @return [String]
Output only. The state of the processor. Corresponds to the JSON property `state` @return [String]
The processor type, e.g., INVOICE_PARSING, W2_PARSING, etc. Corresponds to the JSON property `type` @return [String]
Public Class Methods
# File lib/google/apis/documentai_v1beta3/classes.rb, line 6894 def initialize(**args) update!(**args) end
Public Instance Methods
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