Cloud Video Intelligence V1 Client - Class Entity (1.14.2)

Reference documentation and code samples for the Cloud Video Intelligence V1 Client class Entity.

Detected entity from video analysis.

Generated from protobuf message google.cloud.videointelligence.v1.Entity

Namespace

Google \ Cloud \ VideoIntelligence \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ entity_id string

Opaque entity ID. Some IDs may be available in Google Knowledge Graph Search API.

↳ description string

Textual description, e.g., Fixed-gear bicycle.

↳ language_code string

Language code for description in BCP-47 format.

getEntityId

Opaque entity ID. Some IDs may be available in Google Knowledge Graph Search API.

Returns
TypeDescription
string

setEntityId

Opaque entity ID. Some IDs may be available in Google Knowledge Graph Search API.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDescription

Textual description, e.g., Fixed-gear bicycle.

Returns
TypeDescription
string

setDescription

Textual description, e.g., Fixed-gear bicycle.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getLanguageCode

Language code for description in BCP-47 format.

Returns
TypeDescription
string

setLanguageCode

Language code for description in BCP-47 format.

Parameter
NameDescription
var string
Returns
TypeDescription
$this