Class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1TrainProcessorVersionResponse

Inherits:
Object
  • Object
show all
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
more...

Overview

The response for TrainProcessorVersion.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1TrainProcessorVersionResponse

Returns a new instance of GoogleCloudDocumentaiV1TrainProcessorVersionResponse.

[View source]

5447
5448
5449
# File 'lib/google/apis/documentai_v1/classes.rb', line 5447

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

Instance Attribute Details

#processor_versionString

The resource name of the processor version produced by training. Corresponds to the JSON property processorVersion

Returns:

  • (String)

5445
5446
5447
# File 'lib/google/apis/documentai_v1/classes.rb', line 5445

def processor_version
  @processor_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object

[View source]

5452
5453
5454
# File 'lib/google/apis/documentai_v1/classes.rb', line 5452

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