Vision AI v1 API - Class Instance.Types.InputResource (1.0.0-beta01)

public sealed class Instance.Types.InputResource : IMessage<Instance.Types.InputResource>, IEquatable<Instance.Types.InputResource>, IDeepCloneable<Instance.Types.InputResource>, IBufferMessage, IMessage

Reference documentation and code samples for the Vision AI v1 API class Instance.Types.InputResource.

Message of input resource used in one application instance.

Inheritance

object > Instance.Types.InputResource

Namespace

Google.Cloud.VisionAI.V1

Assembly

Google.Cloud.VisionAI.V1.dll

Constructors

InputResource()

public InputResource()

InputResource(InputResource)

public InputResource(Instance.Types.InputResource other)
Parameter
Name Description
other InstanceTypesInputResource

Properties

AnnotatedStream

[Obsolete]
public StreamWithAnnotation AnnotatedStream { get; set; }

If the input resource is VisionAI Stream, the associated annotations can be specified using annotated_stream instead.

Property Value
Type Description
StreamWithAnnotation

Annotations

public ResourceAnnotations Annotations { get; set; }

Contains resource annotations.

Property Value
Type Description
ResourceAnnotations

ConsumerNode

public string ConsumerNode { get; set; }

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

Property Value
Type Description
string

DataType

public DataType DataType { get; set; }

Data type for the current input resource.

Property Value
Type Description
DataType

HasInputResource_

public bool HasInputResource_ { get; }

Gets whether the "input_resource" field is set

Property Value
Type Description
bool

InputResourceBinding

public string InputResourceBinding { get; set; }

The specific input resource binding which will consume the current Input Resource, can be ignored is there is only 1 input binding.

Property Value
Type Description
string

InputResourceInformationCase

public Instance.Types.InputResource.InputResourceInformationOneofCase InputResourceInformationCase { get; }
Property Value
Type Description
InstanceTypesInputResourceInputResourceInformationOneofCase

InputResource_

public string InputResource_ { get; set; }

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".

Property Value
Type Description
string