Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::Packet.
The quanta of datum that the series accepts.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#header
def header() -> ::Google::Cloud::VisionAI::V1::PacketHeader
Returns
- (::Google::Cloud::VisionAI::V1::PacketHeader) — The packet header.
#header=
def header=(value) -> ::Google::Cloud::VisionAI::V1::PacketHeader
Parameter
- value (::Google::Cloud::VisionAI::V1::PacketHeader) — The packet header.
Returns
- (::Google::Cloud::VisionAI::V1::PacketHeader) — The packet header.
#payload
def payload() -> ::String
Returns
- (::String) — The payload of the packet.
#payload=
def payload=(value) -> ::String
Parameter
- value (::String) — The payload of the packet.
Returns
- (::String) — The payload of the packet.