The C++ representation for a Cloud Pub/Sub messages.
Cloud Pub/Sub applications communicate to each other using messages. Note that messages must provide at least some data or some attributes. Use MessageBuilder to create instances of this class.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 UTC."],[[["\u003cp\u003eThis document provides the C++ reference for \u003ccode\u003egoogle::cloud::pubsub::Message\u003c/code\u003e, which represents a message in the Cloud Pub/Sub system.\u003c/p\u003e\n"],["\u003cp\u003eThe document lists available versions of the \u003ccode\u003eMessage\u003c/code\u003e class, starting from version 2.11.0 up to the latest release candidate 2.37.0-rc.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMessage\u003c/code\u003e class offers copy and move constructors, as well as assignment operators to enable easy duplication and movement.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMessage\u003c/code\u003e class provides functions to access the message's data, message ID, ordering key, publish time, and attributes.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMessageBuilder\u003c/code\u003e is the recommended way to construct instances of this class, ensuring proper data and attribute handling when creating messages.\u003c/p\u003e\n"]]],[],null,[]]