Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorVersionAlias
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorVersionAlias
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/documentai_v1beta3/classes.rb,
lib/google/apis/documentai_v1beta3/representations.rb,
lib/google/apis/documentai_v1beta3/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_versionresource name. -
#processor_version ⇒ String
The resource name of aliased processor version.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3ProcessorVersionAlias
constructor
A new instance of GoogleCloudDocumentaiV1beta3ProcessorVersionAlias.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3ProcessorVersionAlias
Returns a new instance of GoogleCloudDocumentaiV1beta3ProcessorVersionAlias.
11335 11336 11337 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 11335 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
11328 11329 11330 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 11328 def alias @alias end |
#processor_version ⇒ String
The resource name of aliased processor version.
Corresponds to the JSON property processorVersion
11333 11334 11335 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 11333 def processor_version @processor_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11340 11341 11342 11343 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 11340 def update!(**args) @alias = args[:alias] if args.key?(:alias) @processor_version = args[:processor_version] if args.key?(:processor_version) end |