Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ImportProcessorVersionRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/documentai_v1beta3/classes.rb,
lib/google/apis/documentai_v1beta3/representations.rb,
lib/google/apis/documentai_v1beta3/representations.rb

Overview

The request message for the ImportProcessorVersion method. This method requires the source processor version and destination processor to be in the same location. This method requires the Document AI Service Agent of the destination project to have Document AI Editor role on the source project. The destination project is specified as part of the parent field. The source project is specified as part of source field. The Service Agent for Document AI can be found in https://cloud.google.com/iam/docs/service-agents.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3ImportProcessorVersionRequest

Returns a new instance of GoogleCloudDocumentaiV1beta3ImportProcessorVersionRequest.



9155
9156
9157
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 9155

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#processor_version_sourceString

The source processor version to import from. Corresponds to the JSON property processorVersionSource

Returns:

  • (String)


9153
9154
9155
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 9153

def processor_version_source
  @processor_version_source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9160
9161
9162
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 9160

def update!(**args)
  @processor_version_source = args[:processor_version_source] if args.key?(:processor_version_source)
end