Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class AppPlatformEventBody.
Message of content of appPlatform event
Generated from protobuf message google.cloud.visionai.v1.AppPlatformEventBody
Namespace
Google \ Cloud \ VisionAI \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ event_message
string
Human readable string of the event like "There are more than 6 people in the scene". or "Shelf is empty!".
↳ payload
Google\Protobuf\Struct
For the case of Pub/Sub, it will be stored in the message attributes. pubsub.proto
↳ event_id
string
User defined Event Id, used to classify event, within a delivery interval, events from the same application instance with the same id will be de-duplicated & only first one will be sent out. Empty event_id will be treated as "".
getEventMessage
Human readable string of the event like "There are more than 6 people in the scene". or "Shelf is empty!".
string
setEventMessage
Human readable string of the event like "There are more than 6 people in the scene". or "Shelf is empty!".
var
string
$this
getPayload
For the case of Pub/Sub, it will be stored in the message attributes.
pubsub.proto
hasPayload
clearPayload
setPayload
For the case of Pub/Sub, it will be stored in the message attributes.
pubsub.proto
$this
getEventId
User defined Event Id, used to classify event, within a delivery interval, events from the same application instance with the same id will be de-duplicated & only first one will be sent out. Empty event_id will be treated as "".
string
setEventId
User defined Event Id, used to classify event, within a delivery interval, events from the same application instance with the same id will be de-duplicated & only first one will be sent out. Empty event_id will be treated as "".
var
string
$this

