Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::AppPlatformEventBody.
Message of content of appPlatform event
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#event_id
def event_id() -> ::String
Returns
- (::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 "".
#event_id=
def event_id=(value) -> ::String
Parameter
- value (::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 "".
Returns
- (::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 "".
#event_message
def event_message() -> ::String
Returns
- (::String) — Human readable string of the event like "There are more than 6 people in the scene". or "Shelf is empty!".
#event_message=
def event_message=(value) -> ::String
Parameter
- value (::String) — Human readable string of the event like "There are more than 6 people in the scene". or "Shelf is empty!".
Returns
- (::String) — Human readable string of the event like "There are more than 6 people in the scene". or "Shelf is empty!".
#payload
def payload() -> ::Google::Protobuf::Struct
Returns
- (::Google::Protobuf::Struct) — For the case of Pub/Sub, it will be stored in the message attributes. pubsub.proto
#payload=
def payload=(value) -> ::Google::Protobuf::Struct
Parameter
- value (::Google::Protobuf::Struct) — For the case of Pub/Sub, it will be stored in the message attributes. pubsub.proto
Returns
- (::Google::Protobuf::Struct) — For the case of Pub/Sub, it will be stored in the message attributes. pubsub.proto