Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class CustomProcessorSourceInfo.
Describes the source info for a custom processor.
Generated from protobuf message google.cloud.visionai.v1.CustomProcessorSourceInfo
Namespace
Google \ Cloud \ VisionAI \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ vertex_model
string
The resource name original model hosted in the vertex AI platform.
↳ product_recognizer_artifact
CustomProcessorSourceInfo\ProductRecognizerArtifact
Artifact for product recognizer.
↳ source_type
int
The original product which holds the custom processor's functionality.
↳ additional_info
array| Google\Protobuf\Internal\MapField
Output only. Additional info related to the imported custom processor. Data is filled in by app platform during the processor creation.
↳ model_schema
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.
getVertexModel
The resource name original model hosted in the vertex AI platform.
string
hasVertexModel
setVertexModel
The resource name original model hosted in the vertex AI platform.
var
string
$this
getProductRecognizerArtifact
Artifact for product recognizer.
CustomProcessorSourceInfo\ProductRecognizerArtifact
|null
hasProductRecognizerArtifact
setProductRecognizerArtifact
Artifact for product recognizer.
var
CustomProcessorSourceInfo\ProductRecognizerArtifact
$this
getSourceType
The original product which holds the custom processor's functionality.
setSourceType
The original product which holds the custom processor's functionality.
$this
getAdditionalInfo
Output only. Additional info related to the imported custom processor.
Data is filled in by app platform during the processor creation.
setAdditionalInfo
Output only. Additional info related to the imported custom processor.
Data is filled in by app platform during the processor creation.
$this
getModelSchema
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.
hasModelSchema
clearModelSchema
setModelSchema
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.
$this
getArtifactPath
string

