Vision AI V1 API - Class Google::Cloud::VisionAI::V1::CustomProcessorSourceInfo (v0.4.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
Returns

#product_recognizer_artifact=

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

#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.

    Note: The following fields are mutually exclusive: vertex_model, product_recognizer_artifact. If a field in that set is populated, all other fields in the set will automatically be cleared.

#vertex_model=

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

    Note: The following fields are mutually exclusive: vertex_model, product_recognizer_artifact. If a field in that set is populated, all other fields in the set will automatically be cleared.

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

    Note: The following fields are mutually exclusive: vertex_model, product_recognizer_artifact. If a field in that set is populated, all other fields in the set will automatically be cleared.