Class InputResource (0.1.4)

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. If the instance type is STREAMING_PREDICTION, the input resource is in format of "projects/123/locations/us-central1/clusters/456/streams/stream-a". If the instance type is BATCH_PREDICTION from Cloud Storage input container, the input resource is in format of "gs://bucket-a". This field is a member of oneof_ input_resource_information.
annotated_stream google.cloud.visionai_v1.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.
data_type google.cloud.visionai_v1.types.DataType
Data type for the current input resource.
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 google.cloud.visionai_v1.types.ResourceAnnotations
Contains resource annotations.