Vision AI V1 API - Class Google::Cloud::VisionAI::V1::Node (v0.2.0)

Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::Node.

Message describing node object.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#display_name

def display_name() -> ::String
Returns
  • (::String) — A user friendly display name for the node.

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::String) — A user friendly display name for the node.
Returns
  • (::String) — A user friendly display name for the node.

#name

def name() -> ::String
Returns
  • (::String) — Required. A unique name for the node.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. A unique name for the node.
Returns
  • (::String) — Required. A unique name for the node.

#node_config

def node_config() -> ::Google::Cloud::VisionAI::V1::ProcessorConfig

#node_config=

def node_config=(value) -> ::Google::Cloud::VisionAI::V1::ProcessorConfig
Parameter

#output_all_output_channels_to_stream

def output_all_output_channels_to_stream() -> ::Boolean
Returns
  • (::Boolean) — 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.

#output_all_output_channels_to_stream=

def output_all_output_channels_to_stream=(value) -> ::Boolean
Parameter
  • value (::Boolean) — 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.

Returns
  • (::Boolean) — 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.

#parents

def parents() -> ::Array<::Google::Cloud::VisionAI::V1::Node::InputEdge>
Returns
  • (::Array<::Google::Cloud::VisionAI::V1::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.

#parents=

def parents=(value) -> ::Array<::Google::Cloud::VisionAI::V1::Node::InputEdge>
Parameter
  • value (::Array<::Google::Cloud::VisionAI::V1::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.
Returns
  • (::Array<::Google::Cloud::VisionAI::V1::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.

#processor

def processor() -> ::String
Returns
  • (::String) — Processor name refer to the chosen processor resource.

#processor=

def processor=(value) -> ::String
Parameter
  • value (::String) — Processor name refer to the chosen processor resource.
Returns
  • (::String) — Processor name refer to the chosen processor resource.