Vision AI V1 API - Class Google::Cloud::VisionAI::V1::StreamWithAnnotation (v0.1.0)

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

Message describing Vision AI stream with application specific annotations. All the StreamAnnotation object inside this message MUST have unique id.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#application_annotations

def application_annotations() -> ::Array<::Google::Cloud::VisionAI::V1::StreamAnnotation>
Returns

#application_annotations=

def application_annotations=(value) -> ::Array<::Google::Cloud::VisionAI::V1::StreamAnnotation>
Parameter
Returns

#node_annotations

def node_annotations() -> ::Array<::Google::Cloud::VisionAI::V1::StreamWithAnnotation::NodeAnnotation>
Returns
  • (::Array<::Google::Cloud::VisionAI::V1::StreamWithAnnotation::NodeAnnotation>) — Annotations that will be applied to the specific node of the application. If the same type of the annotations is applied to both application and node, the node annotation will be added in addition to the global application one. For example, if there is one active zone annotation for the whole application and one active zone annotation for the Occupancy Analytic processor, then the Occupancy Analytic processor will have two active zones defined.

#node_annotations=

def node_annotations=(value) -> ::Array<::Google::Cloud::VisionAI::V1::StreamWithAnnotation::NodeAnnotation>
Parameter
  • value (::Array<::Google::Cloud::VisionAI::V1::StreamWithAnnotation::NodeAnnotation>) — Annotations that will be applied to the specific node of the application. If the same type of the annotations is applied to both application and node, the node annotation will be added in addition to the global application one. For example, if there is one active zone annotation for the whole application and one active zone annotation for the Occupancy Analytic processor, then the Occupancy Analytic processor will have two active zones defined.
Returns
  • (::Array<::Google::Cloud::VisionAI::V1::StreamWithAnnotation::NodeAnnotation>) — Annotations that will be applied to the specific node of the application. If the same type of the annotations is applied to both application and node, the node annotation will be added in addition to the global application one. For example, if there is one active zone annotation for the whole application and one active zone annotation for the Occupancy Analytic processor, then the Occupancy Analytic processor will have two active zones defined.

#stream

def stream() -> ::String
Returns
  • (::String) — Vision AI Stream resource name.

#stream=

def stream=(value) -> ::String
Parameter
  • value (::String) — Vision AI Stream resource name.
Returns
  • (::String) — Vision AI Stream resource name.