Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::ResourceAnnotations.
Message describing general annotation for resources.
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
- (::Array<::Google::Cloud::VisionAI::V1::StreamAnnotation>) — Annotations that will be applied to the whole application.
#application_annotations=
def application_annotations=(value) -> ::Array<::Google::Cloud::VisionAI::V1::StreamAnnotation>
Parameter
- value (::Array<::Google::Cloud::VisionAI::V1::StreamAnnotation>) — Annotations that will be applied to the whole application.
Returns
- (::Array<::Google::Cloud::VisionAI::V1::StreamAnnotation>) — Annotations that will be applied to the whole application.
#node_annotations
def node_annotations() -> ::Array<::Google::Cloud::VisionAI::V1::ApplicationNodeAnnotation>
Returns
- (::Array<::Google::Cloud::VisionAI::V1::ApplicationNodeAnnotation>) — 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::ApplicationNodeAnnotation>
Parameter
- value (::Array<::Google::Cloud::VisionAI::V1::ApplicationNodeAnnotation>) — 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::ApplicationNodeAnnotation>) — 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.