Vision AI V1 API - Class Google::Cloud::VisionAI::V1::CustomProcessorSourceInfo (v0.3.0)

Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::CustomProcessorSourceInfo.

Describes the source info for a custom processor.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#additional_info

def additional_info() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Output only. Additional info related to the imported custom processor. Data is filled in by app platform during the processor creation.

#model_schema

def model_schema() -> ::Google::Cloud::VisionAI::V1::CustomProcessorSourceInfo::ModelSchema
Returns
  • (::Google::Cloud::VisionAI::V1::CustomProcessorSourceInfo::ModelSchema) — Model schema files which specifies the signature of the model. For VERTEX_CUSTOM models, instances schema is required. If instances schema is not specified during the processor creation, VisionAI Platform will try to get it from Vertex, if it doesn't exist, the creation will fail.

#model_schema=

def model_schema=(value) -> ::Google::Cloud::VisionAI::V1::CustomProcessorSourceInfo::ModelSchema
Parameter
  • value (::Google::Cloud::VisionAI::V1::CustomProcessorSourceInfo::ModelSchema) — Model schema files which specifies the signature of the model. For VERTEX_CUSTOM models, instances schema is required. If instances schema is not specified during the processor creation, VisionAI Platform will try to get it from Vertex, if it doesn't exist, the creation will fail.
Returns
  • (::Google::Cloud::VisionAI::V1::CustomProcessorSourceInfo::ModelSchema) — Model schema files which specifies the signature of the model. For VERTEX_CUSTOM models, instances schema is required. If instances schema is not specified during the processor creation, VisionAI Platform will try to get it from Vertex, if it doesn't exist, the creation will fail.

#product_recognizer_artifact

def product_recognizer_artifact() -> ::Google::Cloud::VisionAI::V1::CustomProcessorSourceInfo::ProductRecognizerArtifact

#product_recognizer_artifact=

def product_recognizer_artifact=(value) -> ::Google::Cloud::VisionAI::V1::CustomProcessorSourceInfo::ProductRecognizerArtifact
Parameter

#source_type

def source_type() -> ::Google::Cloud::VisionAI::V1::CustomProcessorSourceInfo::SourceType
Returns

#source_type=

def source_type=(value) -> ::Google::Cloud::VisionAI::V1::CustomProcessorSourceInfo::SourceType
Parameter
Returns

#vertex_model

def vertex_model() -> ::String
Returns
  • (::String) — The resource name original model hosted in the vertex AI platform.

#vertex_model=

def vertex_model=(value) -> ::String
Parameter
  • value (::String) — The resource name original model hosted in the vertex AI platform.
Returns
  • (::String) — The resource name original model hosted in the vertex AI platform.