Class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1TrainProcessorVersionResponse

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

Overview

The response for TrainProcessorVersion.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1TrainProcessorVersionResponse

Returns a new instance of GoogleCloudDocumentaiV1TrainProcessorVersionResponse.



1932
1933
1934
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 1932

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)


1930
1931
1932
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 1930

def processor_version
  @processor_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1937
1938
1939
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 1937

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