Class CustomProcessorSourceInfo (0.1.1)

CustomProcessorSourceInfo(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Describes the source info for a custom processor.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
vertex_model str
The resource name original model hosted in the vertex AI platform. This field is a member of oneof_ artifact_path.
product_recognizer_artifact google.cloud.visionai_v1.types.CustomProcessorSourceInfo.ProductRecognizerArtifact
Artifact for product recognizer. This field is a member of oneof_ artifact_path.
source_type google.cloud.visionai_v1.types.CustomProcessorSourceInfo.SourceType
The original product which holds the custom processor's functionality.
additional_info MutableMapping[str, str]
Output only. Additional info related to the imported custom processor. Data is filled in by app platform during the processor creation.
model_schema google.cloud.visionai_v1.types.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.

Classes

AdditionalInfoEntry

AdditionalInfoEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
Name Description
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.

ModelSchema

ModelSchema(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The schema is defined as an OpenAPI 3.0.2 Schema Object <https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject>__.

ProductRecognizerArtifact

ProductRecognizerArtifact(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Message describes product recognizer artifact.

SourceType

SourceType(value)

Source type of the imported custom processor.