Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionRequest

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

Request message for the SetDefaultProcessorVersion method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionRequest

Returns a new instance of GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionRequest.



12488
12489
12490
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 12488

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

Instance Attribute Details

#default_processor_versionString

Required. The resource name of child ProcessorVersion to use as default. Format: projects/project/locations/location/processors/processor/ processorVersions/version` Corresponds to the JSON propertydefaultProcessorVersion`

Returns:

  • (String)


12486
12487
12488
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 12486

def default_processor_version
  @default_processor_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12493
12494
12495
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 12493

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