Class: Google::Cloud::VisionAI::V1::AppPlatformEventBody
- Inherits:
-
Object
- Object
- Google::Cloud::VisionAI::V1::AppPlatformEventBody
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/visionai/v1/annotations.rb
Overview
Message of content of appPlatform event
Instance Attribute Summary collapse
-
#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.
-
#event_message ⇒ ::String
Human readable string of the event like "There are more than 6 people in the scene".
-
#payload ⇒ ::Google::Protobuf::Struct
For the case of Pub/Sub, it will be stored in the message attributes.
Instance Attribute Details
#event_id ⇒ ::String
Returns 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 "".
767 768 769 770 |
# File 'proto_docs/google/cloud/visionai/v1/annotations.rb', line 767 class AppPlatformEventBody include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#event_message ⇒ ::String
Returns Human readable string of the event like "There are more than 6 people in the scene". or "Shelf is empty!".
767 768 769 770 |
# File 'proto_docs/google/cloud/visionai/v1/annotations.rb', line 767 class AppPlatformEventBody include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#payload ⇒ ::Google::Protobuf::Struct
Returns For the case of Pub/Sub, it will be stored in the message attributes. pubsub.proto.
767 768 769 770 |
# File 'proto_docs/google/cloud/visionai/v1/annotations.rb', line 767 class AppPlatformEventBody include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |