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++ \u003ccode\u003eMessage\u003c/code\u003e class used in Cloud Pub/Sub, facilitating communication between applications through messages.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available for the \u003ccode\u003eMessage\u003c/code\u003e class is 2.37.0-rc, while the current version being viewed is 2.36.0, with several older versions listed for reference.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMessage\u003c/code\u003e class offers copy and move constructors, as well as assignment operators to support various usage patterns.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMessage\u003c/code\u003e class provides accessor functions to retrieve data, message ID, ordering key, publish time, and attributes of a Cloud Pub/Sub message.\u003c/p\u003e\n"],["\u003cp\u003eTo create instances of this class you have to use the \u003ccode\u003eMessageBuilder\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]