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
Returns
- (::Google::Cloud::VisionAI::V1::CustomProcessorSourceInfo::ProductRecognizerArtifact) — Artifact for product recognizer.
#product_recognizer_artifact=
def product_recognizer_artifact=(value) -> ::Google::Cloud::VisionAI::V1::CustomProcessorSourceInfo::ProductRecognizerArtifact
Parameter
- value (::Google::Cloud::VisionAI::V1::CustomProcessorSourceInfo::ProductRecognizerArtifact) — Artifact for product recognizer.
Returns
- (::Google::Cloud::VisionAI::V1::CustomProcessorSourceInfo::ProductRecognizerArtifact) — Artifact for product recognizer.
#source_type
def source_type() -> ::Google::Cloud::VisionAI::V1::CustomProcessorSourceInfo::SourceType
Returns
- (::Google::Cloud::VisionAI::V1::CustomProcessorSourceInfo::SourceType) — The original product which holds the custom processor's functionality.
#source_type=
def source_type=(value) -> ::Google::Cloud::VisionAI::V1::CustomProcessorSourceInfo::SourceType
Parameter
- value (::Google::Cloud::VisionAI::V1::CustomProcessorSourceInfo::SourceType) — The original product which holds the custom processor's functionality.
Returns
- (::Google::Cloud::VisionAI::V1::CustomProcessorSourceInfo::SourceType) — The original product which holds the custom processor's functionality.
#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.