Class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorVersionAlias
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorVersionAlias
- 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
Contains the alias and the aliased resource name of processor version.
Instance Attribute Summary collapse
-
#alias ⇒ String
The alias in the form of
processor_version
resource name. -
#processor_version ⇒ String
The resource name of aliased processor version.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDocumentaiV1ProcessorVersionAlias
constructor
A new instance of GoogleCloudDocumentaiV1ProcessorVersionAlias.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiV1ProcessorVersionAlias
Returns a new instance of GoogleCloudDocumentaiV1ProcessorVersionAlias.
5579 5580 5581 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 5579 def initialize(**args) update!(**args) end |
Instance Attribute Details
#alias ⇒ String
The alias in the form of processor_version
resource name.
Corresponds to the JSON property alias
5572 5573 5574 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 5572 def alias @alias end |
#processor_version ⇒ String
The resource name of aliased processor version.
Corresponds to the JSON property processorVersion
5577 5578 5579 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 5577 def processor_version @processor_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5584 5585 5586 5587 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 5584 def update!(**args) @alias = args[:alias] if args.key?(:alias) @processor_version = args[:processor_version] if args.key?(:processor_version) end |