# Class CustomProcessorSourceInfo (0.5.1)

0.5.1 (latest) 0.5.0 0.4.0 0.3.0 0.2.0 0.1.10

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

Describes the source info for a custom processor.

.. _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`. |
| `source_type` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-visionai/latest/google.cloud.visionai_v1alpha1.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` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-visionai/latest/google.cloud.visionai_v1alpha1.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>`__.

### SourceType

    SourceType(value)

Source type of the imported custom processor.