The request message to create one Message. Currently it is only used in BatchCreateMessagesRequest.
JSON representation
{"parent": string,"message": {object (Message)}}
Fields
parent
string
Required. Resource identifier of the conversation to create message. Format: projects/<Project ID>/locations/<Location
ID>/conversations/<Conversation ID>.
message
object (Message)
Required. The message to create. Message.participant is required.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-27 UTC."],[[["\u003cp\u003eThis JSON represents the structure for creating a single message, primarily used within a BatchCreateMessagesRequest.\u003c/p\u003e\n"],["\u003cp\u003eThe JSON object requires a \u003ccode\u003eparent\u003c/code\u003e string field, indicating the conversation's resource identifier where the message will be created.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003emessage\u003c/code\u003e field, which is also required, is an object containing the message content, and must include the \u003ccode\u003eMessage.participant\u003c/code\u003e information.\u003c/p\u003e\n"]]],[],null,["# CreateMessageRequest\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nThe request message to create one Message. Currently it is only used in BatchCreateMessagesRequest."]]