Document AI V1beta3 API - Class Google::Cloud::DocumentAI::V1beta3::ProcessorVersion (v0.17.0)

Reference documentation and code samples for the Document AI V1beta3 API class Google::Cloud::DocumentAI::V1beta3::ProcessorVersion.

A processor version is an implementation of a processor. Each processor can have multiple versions, pre-trained by Google internally or up-trained by the customer. At a time, a processor can only have one default version version. So the processor's behavior (when processing documents) is defined by a default version

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#create_time=

def create_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns

#deprecation_info

def deprecation_info() -> ::Google::Cloud::DocumentAI::V1beta3::ProcessorVersion::DeprecationInfo
Returns

#deprecation_info=

def deprecation_info=(value) -> ::Google::Cloud::DocumentAI::V1beta3::ProcessorVersion::DeprecationInfo
Parameter
Returns

#display_name

def display_name() -> ::String
Returns
  • (::String) — The display name of the processor version.

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::String) — The display name of the processor version.
Returns
  • (::String) — The display name of the processor version.

#document_schema

def document_schema() -> ::Google::Cloud::DocumentAI::V1beta3::DocumentSchema
Returns

#document_schema=

def document_schema=(value) -> ::Google::Cloud::DocumentAI::V1beta3::DocumentSchema
Parameter
Returns

#google_managed

def google_managed() -> ::Boolean
Returns
  • (::Boolean) — Denotes that this ProcessorVersion is managed by google.

#google_managed=

def google_managed=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Denotes that this ProcessorVersion is managed by google.
Returns
  • (::Boolean) — Denotes that this ProcessorVersion is managed by google.

#kms_key_name

def kms_key_name() -> ::String
Returns
  • (::String) — The KMS key name used for encryption.

#kms_key_name=

def kms_key_name=(value) -> ::String
Parameter
  • value (::String) — The KMS key name used for encryption.
Returns
  • (::String) — The KMS key name used for encryption.

#kms_key_version_name

def kms_key_version_name() -> ::String
Returns
  • (::String) — The KMS key version with which data is encrypted.

#kms_key_version_name=

def kms_key_version_name=(value) -> ::String
Parameter
  • value (::String) — The KMS key version with which data is encrypted.
Returns
  • (::String) — The KMS key version with which data is encrypted.

#name

def name() -> ::String
Returns
  • (::String) — The resource name of the processor version. Format: projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processor_version}

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — The resource name of the processor version. Format: projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processor_version}
Returns
  • (::String) — The resource name of the processor version. Format: projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processor_version}

#state

def state() -> ::Google::Cloud::DocumentAI::V1beta3::ProcessorVersion::State
Returns

#state=

def state=(value) -> ::Google::Cloud::DocumentAI::V1beta3::ProcessorVersion::State
Parameter
Returns