Class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1SetDefaultProcessorVersionRequest
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1SetDefaultProcessorVersionRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/documentai_v1/classes.rb,
lib/google/apis/documentai_v1/representations.rb,
lib/google/apis/documentai_v1/representations.rb
Overview
Request message for the SetDefaultProcessorVersion method.
Instance Attribute Summary collapse
-
#default_processor_version ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDocumentaiV1SetDefaultProcessorVersionRequest
constructor
A new instance of GoogleCloudDocumentaiV1SetDefaultProcessorVersionRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiV1SetDefaultProcessorVersionRequest
Returns a new instance of GoogleCloudDocumentaiV1SetDefaultProcessorVersionRequest.
5858 5859 5860 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 5858 def initialize(**args) update!(**args) end |
Instance Attribute Details
#default_processor_version ⇒ String
Required. The resource name of child ProcessorVersion to use as default.
Format: projects/
project/locations/
location/processors/
processor/
processorVersions/
version`
Corresponds to the JSON property
defaultProcessorVersion`
5856 5857 5858 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 5856 def default_processor_version @default_processor_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5863 5864 5865 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 5863 def update!(**args) @default_processor_version = args[:default_processor_version] if args.key?(:default_processor_version) end |