Google Cloud Vision Ai V1 Client - Class EventUpdate (0.1.0)

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

The event update message.

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

Namespace

Google \ Cloud \ VisionAI \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ stream string

The name of the stream that the event is attached to.

↳ event string

The name of the event.

↳ series string

The name of the series.

↳ update_time Google\Protobuf\Timestamp

The timestamp when the Event update happens.

↳ offset int|string

The offset of the message that will be used to acknowledge of the message receiving.

getStream

The name of the stream that the event is attached to.

Returns
Type Description
string

setStream

The name of the stream that the event is attached to.

Parameter
Name Description
var string
Returns
Type Description
$this

getEvent

The name of the event.

Returns
Type Description
string

setEvent

The name of the event.

Parameter
Name Description
var string
Returns
Type Description
$this

getSeries

The name of the series.

Returns
Type Description
string

setSeries

The name of the series.

Parameter
Name Description
var string
Returns
Type Description
$this

getUpdateTime

The timestamp when the Event update happens.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

The timestamp when the Event update happens.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getOffset

The offset of the message that will be used to acknowledge of the message receiving.

Returns
Type Description
int|string

setOffset

The offset of the message that will be used to acknowledge of the message receiving.

Parameter
Name Description
var int|string
Returns
Type Description
$this