Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class Node.
Message describing node object.
Generated from protobuf message google.cloud.visionai.v1.Node
Namespace
Google \ Cloud \ VisionAI \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ output_all_output_channels_to_stream
bool
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.
↳ name
string
Required. A unique name for the node.
↳ display_name
string
A user friendly display name for the node.
↳ node_config
↳ processor
string
Processor name refer to the chosen processor resource.
↳ parents
array< Node\InputEdge
>
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.
getOutputAllOutputChannelsToStream
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.
bool
hasOutputAllOutputChannelsToStream
setOutputAllOutputChannelsToStream
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.
var
bool
$this
getName
Required. A unique name for the node.
string
setName
Required. A unique name for the node.
var
string
$this
getDisplayName
A user friendly display name for the node.
string
setDisplayName
A user friendly display name for the node.
var
string
$this
getNodeConfig
Node config.
hasNodeConfig
clearNodeConfig
setNodeConfig
Node config.
$this
getProcessor
Processor name refer to the chosen processor resource.
string
setProcessor
Processor name refer to the chosen processor resource.
var
string
$this
getParents
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.
setParents
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.
$this
getStreamOutputConfig
string

