Cloud Video Intelligence V1beta2 Client - Class Entity (1.15.5)

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

Detected entity from video analysis.

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

Namespace

Google \ Cloud \ VideoIntelligence \ V1beta2

Methods

__construct

Constructor.

Parameters
Name
Description
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
Type
Description
string

setEntityId

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

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getDescription

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

Returns
Type
Description
string

setDescription

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

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getLanguageCode

Language code for description in BCP-47 format.

Returns
Type
Description
string

setLanguageCode

Language code for description in BCP-47 format.

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