# Class InputResource (0.5.1)

0.5.1 (latest) 0.5.0 0.4.0 0.3.0 0.2.0 0.1.10

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

Message of input resource used in one application instance.

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>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `input_resource` | `str` The direct input resource name. This field is a member of `oneof`_ `input_resource_information`. |
| `annotated_stream` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-visionai/latest/google.cloud.visionai_v1alpha1.types.StreamWithAnnotation` If the input resource is VisionAI Stream, the associated annotations can be specified using annotated_stream instead. This field is a member of `oneof`_ `input_resource_information`. |
| `consumer_node` | `str` The name of graph node who receives the input resource. For example: input_resource: visionai.googleapis.com/v1/projects/123/locations/us-central1/clusters/456/streams/input-stream-a consumer_node: stream-input |
| `input_resource_binding` | `str` The specific input resource binding which will consume the current Input Resource, can be ignored is there is only 1 input binding. |
| `annotations` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-visionai/latest/google.cloud.visionai_v1alpha1.types.ResourceAnnotations` Contains resource annotations. |