Google Cloud Vision Ai V1 Client - Class ResourceAnnotations (0.3.0)

Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class ResourceAnnotations.

Message describing general annotation for resources.

Generated from protobuf message google.cloud.visionai.v1.ResourceAnnotations

Namespace

Google \ Cloud \ VisionAI \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ application_annotations
array< StreamAnnotation >

Annotations that will be applied to the whole application.

↳ node_annotations
array< 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.

getApplicationAnnotations

Annotations that will be applied to the whole application.

Returns
Type
Description

setApplicationAnnotations

Annotations that will be applied to the whole application.

Parameter
Name
Description
var
array< StreamAnnotation >
Returns
Type
Description
$this

getNodeAnnotations

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.

setNodeAnnotations

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.

Parameter
Name
Description
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: