Class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorVersionAlias

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

Contains the alias and the aliased resource name of processor version.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1ProcessorVersionAlias

Returns a new instance of GoogleCloudDocumentaiV1ProcessorVersionAlias.



4955
4956
4957
# File 'lib/google/apis/documentai_v1/classes.rb', line 4955

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)


4948
4949
4950
# File 'lib/google/apis/documentai_v1/classes.rb', line 4948

def alias
  @alias
end

#processor_versionString

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

Returns:

  • (String)


4953
4954
4955
# File 'lib/google/apis/documentai_v1/classes.rb', line 4953

def processor_version
  @processor_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4960
4961
4962
4963
# File 'lib/google/apis/documentai_v1/classes.rb', line 4960

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