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\u003eThe latest version available for the \u003ccode\u003ePublishResponse\u003c/code\u003e class in the Google Cloud Pub/Sub v1 API is 3.23.0, with numerous previous versions accessible, ranging from 3.22.0 down to 2.3.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePublishResponse\u003c/code\u003e is a class that represents the response received after using the \u003ccode\u003ePublish\u003c/code\u003e method, implementing several interfaces such as \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 class \u003ccode\u003ePublishResponse\u003c/code\u003e inherits from the object class and has two constructors: a default constructor \u003ccode\u003ePublishResponse()\u003c/code\u003e and a constructor that takes another \u003ccode\u003ePublishResponse\u003c/code\u003e object as a parameter, \u003ccode\u003ePublishResponse(PublishResponse other)\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePublishResponse\u003c/code\u003e includes a \u003ccode\u003eMessageIds\u003c/code\u003e property of type \u003ccode\u003eRepeatedField<string>\u003c/code\u003e, which provides the server-assigned unique IDs for each published message in the order of the original request.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation is within the namespace \u003ccode\u003eGoogle.Cloud.PubSub.V1\u003c/code\u003e and is part of the \u003ccode\u003eGoogle.Cloud.PubSub.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]