# Class GraphInputChannelSpec (0.5.1)

0.5.1 (latest) 0.5.0 0.4.0 0.3.0 0.2.0 0.1.10

    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` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-visionai/latest/google.cloud.visionai_v1.types.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. |