Google Cloud Vision Ai V1 Client - Class ResourceAnnotations (0.1.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
Google\Protobuf\Internal\RepeatedField

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.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

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
var array<ApplicationNodeAnnotation>
Returns
Type Description
$this