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 outlines the C++ representation for Cloud Pub/Sub messages, which are the basis for communication between Cloud Pub/Sub applications.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMessage\u003c/code\u003e class provides constructors and operators for copying and moving message instances, enhancing flexibility in handling messages.\u003c/p\u003e\n"],["\u003cp\u003eAccessors within the \u003ccode\u003eMessage\u003c/code\u003e class allow for retrieving essential information, including message data, ID, ordering key, publish time, and attributes.\u003c/p\u003e\n"],["\u003cp\u003eThe document includes links to different versions of the documentation, from version 2.11.0 up to the latest release candidate 2.37.0-rc, along with each version's respective \u003ccode\u003eMessage\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMessageBuilder\u003c/code\u003e class is recommended for constructing new \u003ccode\u003eMessage\u003c/code\u003e instances, ensuring proper instantiation.\u003c/p\u003e\n"]]],[],null,[]]