Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ImportProcessorVersionRequest
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ImportProcessorVersionRequest
- 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 Document AI Service Agent of the destination project in the source
project's IAM with Document AI Editor role. 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
-
#processor_version_source ⇒ String
The source processor version to import from.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3ImportProcessorVersionRequest
constructor
A new instance of GoogleCloudDocumentaiV1beta3ImportProcessorVersionRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3ImportProcessorVersionRequest
Returns a new instance of GoogleCloudDocumentaiV1beta3ImportProcessorVersionRequest.
8536 8537 8538 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 8536 def initialize(**args) update!(**args) end |
Instance Attribute Details
#processor_version_source ⇒ String
The source processor version to import from.
Corresponds to the JSON property processorVersionSource
8534 8535 8536 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 8534 def processor_version_source @processor_version_source end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8541 8542 8543 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 8541 def update!(**args) @processor_version_source = args[:processor_version_source] if args.key?(:processor_version_source) end |