Class CustomProcessorSourceInfo (0.1.6)

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

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