# Class Input (1.17.0)

1.17.0 (latest) 1.16.0 1.15.0 1.14.0 1.13.0 1.12.0 1.11.0 1.10.0 1.9.1 1.8.1 1.7.4 1.6.0 1.5.2 1.4.1 1.3.0 1.2.1 1.1.0 1.0.4 0.2.0 0.1.5

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

Input resource represents the endpoint from which the channel
ingests the input stream.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` The resource name of the input, in the form of: `projects/{project}/locations/{location}/inputs/{inputId}`. |
| `create_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The creation time. |
| `update_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The update time. |
| `labels` | `MutableMapping[str, str]` User-defined key/value metadata. |
| `type_` | `https://docs.cloud.google.com/python/docs/reference/livestream/latest/google.cloud.video.live_stream_v1.types.Input.Type` Source type. |
| `tier` | `https://docs.cloud.google.com/python/docs/reference/livestream/latest/google.cloud.video.live_stream_v1.types.Input.Tier` Tier defines the maximum input specification that is accepted by the video pipeline. The billing is charged based on the tier specified here. See `Pricing `__ for more detail. The default is `HD`. |
| `uri` | `str` Output only. URI to push the input stream to. Its format depends on the input type, for example: - `RTMP_PUSH`: `rtmp://1.2.3.4/live/{STREAM-ID}` - `SRT_PUSH`: `srt://1.2.3.4:4201?streamid={STREAM-ID}` |
| `preprocessing_config` | `https://docs.cloud.google.com/python/docs/reference/livestream/latest/google.cloud.video.live_stream_v1.types.PreprocessingConfig` Preprocessing configurations. |
| `security_rules` | `https://docs.cloud.google.com/python/docs/reference/livestream/latest/google.cloud.video.live_stream_v1.types.Input.SecurityRule` Security rule for access control. |
| `input_stream_property` | `https://docs.cloud.google.com/python/docs/reference/livestream/latest/google.cloud.video.live_stream_v1.types.InputStreamProperty` Output only. The information for the input stream. This field will be present only when this input receives the input stream. |

## Classes

### LabelsEntry

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

### SecurityRule

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

Security rules for access control. Each field represents one
security rule. Only when the source of the input stream
satisfies all the fields, this input stream can be accepted.

### Tier

    Tier(value)

Tier of the input specification.

### Type

    Type(value)

The type of the input.