Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorVersionAlias

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3ProcessorVersionAlias

Returns a new instance of GoogleCloudDocumentaiV1beta3ProcessorVersionAlias.



9294
9295
9296
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 9294

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

Instance Attribute Details

#aliasString

The alias in the form of processor_version resource name. Corresponds to the JSON property alias

Returns:

  • (String)


9287
9288
9289
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 9287

def alias
  @alias
end

#processor_versionString

The resource name of aliased processor version. Corresponds to the JSON property processorVersion

Returns:

  • (String)


9292
9293
9294
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 9292

def processor_version
  @processor_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9299
9300
9301
9302
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 9299

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