public sealed class PublishResponse : IMessage<PublishResponse>, IEquatable<PublishResponse>, IDeepCloneable<PublishResponse>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Pub/Sub v1 API class PublishResponse.
Optional. The server-assigned ID of each published message, in the same
order as the messages in the request. IDs are guaranteed to be unique
within the topic.
[[["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-07 UTC."],[[["\u003cp\u003eThis page provides reference documentation for the \u003ccode\u003ePublishResponse\u003c/code\u003e class within the Google Cloud Pub/Sub v1 API for .NET.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePublishResponse\u003c/code\u003e class is the response type for the \u003ccode\u003ePublish\u003c/code\u003e method in the API and implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is 3.23.0, but many older versions from 3.22.0 back to 2.3.0 are also accessible here for referencing.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePublishResponse\u003c/code\u003e class contains a \u003ccode\u003eMessageIds\u003c/code\u003e property, which is a \u003ccode\u003eRepeatedField\u003c/code\u003e of strings, representing the unique IDs assigned to each published message.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePublishResponse\u003c/code\u003e class can be constructed with either a blank constructor, or one that takes in another \u003ccode\u003ePublishResponse\u003c/code\u003e as a parameter.\u003c/p\u003e\n"]]],[],null,[]]