Class ProcessorIOSpec (0.1.2)

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

Message describing the input / output specifications of a processor.

Attributes

Name Description
graph_input_channel_specs MutableSequence[google.cloud.visionai_v1alpha1.types.ProcessorIOSpec.GraphInputChannelSpec]
For processors with input_channel_specs, the processor must be explicitly connected to another processor.
graph_output_channel_specs MutableSequence[google.cloud.visionai_v1alpha1.types.ProcessorIOSpec.GraphOutputChannelSpec]
The output artifact specifications for the current processor.
instance_resource_input_binding_specs MutableSequence[google.cloud.visionai_v1alpha1.types.ProcessorIOSpec.InstanceResourceInputBindingSpec]
The input resource that needs to be fed from the application instance.
instance_resource_output_binding_specs MutableSequence[google.cloud.visionai_v1alpha1.types.ProcessorIOSpec.InstanceResourceOutputBindingSpec]
The output resource that the processor will generate per instance. Other than the explicitly listed output bindings here, all the processors' GraphOutputChannels can be binded to stream resource. The bind name then is the same as the GraphOutputChannel's name.

Classes

DataType

DataType(value)

High level data types supported by the processor.

GraphInputChannelSpec

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

Message for input channel specification.

GraphOutputChannelSpec

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

Message for output channel specification.

InstanceResourceInputBindingSpec

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

Message for instance resource channel specification. External resources are virtual nodes which are not expressed in the application graph. Each processor expresses its out-graph spec, so customer is able to override the external source or destinations to the

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

InstanceResourceOutputBindingSpec

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