Class GraphInputChannelSpec (0.1.6)

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

Message for input channel specification.

Attributes

Name Description
name str
The name of the current input channel.
data_type google.cloud.visionai_v1alpha1.types.ProcessorIOSpec.DataType
The data types of the current input channel. When this field has more than 1 value, it means this input channel can be connected to either of these different data types.
accepted_data_type_uris MutableSequence[str]
If specified, only those detailed data types can be connected to the processor. For example, jpeg stream for MEDIA, or PredictionResult proto for PROTO type. If unspecified, then any proto is accepted.
required bool
Whether the current input channel is required by the processor. For example, for a processor with required video input and optional audio input, if video input is missing, the application will be rejected while the audio input can be missing as long as the video input exists.
max_connection_allowed int
How many input edges can be connected to this input channel. 0 means unlimited.