Class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorVersionDeprecationInfo
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorVersionDeprecationInfo
- 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
Information about the upcoming deprecation of this processor version.
Instance Attribute Summary collapse
-
#deprecation_time ⇒ String
The time at which this processor version will be deprecated.
-
#replacement_processor_version ⇒ String
If set, the processor version that will be used as a replacement.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDocumentaiV1ProcessorVersionDeprecationInfo
constructor
A new instance of GoogleCloudDocumentaiV1ProcessorVersionDeprecationInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiV1ProcessorVersionDeprecationInfo
Returns a new instance of GoogleCloudDocumentaiV1ProcessorVersionDeprecationInfo.
5067 5068 5069 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 5067 def initialize(**args) update!(**args) end |
Instance Attribute Details
#deprecation_time ⇒ String
The time at which this processor version will be deprecated.
Corresponds to the JSON property deprecationTime
5060 5061 5062 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 5060 def deprecation_time @deprecation_time end |
#replacement_processor_version ⇒ String
If set, the processor version that will be used as a replacement.
Corresponds to the JSON property replacementProcessorVersion
5065 5066 5067 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 5065 def replacement_processor_version @replacement_processor_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5072 5073 5074 5075 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 5072 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 |