Vision AI v1 API - Class Node (1.0.0-beta01)

public sealed class Node : IMessage<Node>, IEquatable<Node>, IDeepCloneable<Node>, IBufferMessage, IMessage

Reference documentation and code samples for the Vision AI v1 API class Node.

Message describing node object.

Inheritance

object > Node

Namespace

Google.Cloud.VisionAI.V1

Assembly

Google.Cloud.VisionAI.V1.dll

Constructors

Node()

public Node()

Node(Node)

public Node(Node other)
Parameter
Name Description
other Node

Properties

DisplayName

public string DisplayName { get; set; }

A user friendly display name for the node.

Property Value
Type Description
string

HasOutputAllOutputChannelsToStream

public bool HasOutputAllOutputChannelsToStream { get; }

Gets whether the "output_all_output_channels_to_stream" field is set

Property Value
Type Description
bool

Name

public string Name { get; set; }

Required. A unique name for the node.

Property Value
Type Description
string

NodeConfig

public ProcessorConfig NodeConfig { get; set; }

Node config.

Property Value
Type Description
ProcessorConfig

OutputAllOutputChannelsToStream

public bool OutputAllOutputChannelsToStream { get; set; }

By default, the output of the node will only be available to downstream nodes. To consume the direct output from the application node, the output must be sent to Vision AI Streams at first.

By setting output_all_output_channels_to_stream to true, App Platform will automatically send all the outputs of the current node to Vision AI Stream resources (one stream per output channel). The output stream resource will be created by App Platform automatically during deployment and deleted after application un-deployment. Note that this config applies to all the Application Instances.

The output stream can be override at instance level by configuring the output_resources section of Instance resource. producer_node should be current node, output_resource_binding should be the output channel name (or leave it blank if there is only 1 output channel of the processor) and output_resource should be the target output stream.

Property Value
Type Description
bool

Parents

public RepeatedField<Node.Types.InputEdge> Parents { get; }

Parent node. Input node should not have parent node. For V1 Alpha1/Beta only media warehouse node can have multiple parents, other types of nodes will only have one parent.

Property Value
Type Description
RepeatedFieldNodeTypesInputEdge

Processor

public string Processor { get; set; }

Processor name refer to the chosen processor resource.

Property Value
Type Description
string

StreamOutputConfigCase

public Node.StreamOutputConfigOneofCase StreamOutputConfigCase { get; }
Property Value
Type Description
NodeStreamOutputConfigOneofCase