Class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorVersionDeprecationInfo

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

Overview

Information about the upcoming deprecation of this processor version.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1ProcessorVersionDeprecationInfo

Returns a new instance of GoogleCloudDocumentaiV1ProcessorVersionDeprecationInfo.



5604
5605
5606
# File 'lib/google/apis/documentai_v1/classes.rb', line 5604

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

Instance Attribute Details

#deprecation_timeString

The time at which this processor version will be deprecated. Corresponds to the JSON property deprecationTime

Returns:

  • (String)


5597
5598
5599
# File 'lib/google/apis/documentai_v1/classes.rb', line 5597

def deprecation_time
  @deprecation_time
end

#replacement_processor_versionString

If set, the processor version that will be used as a replacement. Corresponds to the JSON property replacementProcessorVersion

Returns:

  • (String)


5602
5603
5604
# File 'lib/google/apis/documentai_v1/classes.rb', line 5602

def replacement_processor_version
  @replacement_processor_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5609
5610
5611
5612
# File 'lib/google/apis/documentai_v1/classes.rb', line 5609

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