public sealed class PushConfig.Types.NoWrapper : IMessage<PushConfig.Types.NoWrapper>, IEquatable<PushConfig.Types.NoWrapper>, IDeepCloneable<PushConfig.Types.NoWrapper>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Pub/Sub v1 API class PushConfig.Types.NoWrapper.
Sets the data field as the HTTP body for delivery.
Optional. When true, writes the Pub/Sub message metadata to
x-goog-pubsub-<KEY>:<VAL> headers of the HTTP request. Writes the
Pub/Sub message attributes to <KEY>:<VAL> headers of the HTTP request.
[[["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 of the \u003ccode\u003ePushConfig.Types.NoWrapper\u003c/code\u003e class in the Cloud Pub/Sub v1 API is 3.23.0, with many previous versions available, going as far back as version 2.3.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePushConfig.Types.NoWrapper\u003c/code\u003e sets the \u003ccode\u003edata\u003c/code\u003e field as the HTTP body for message delivery within the Cloud Pub/Sub v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePushConfig.Types.NoWrapper\u003c/code\u003e class 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, providing functionality for message handling, equality checks, deep cloning, and buffered message operations.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides a \u003ccode\u003eWriteMetadata\u003c/code\u003e property that, when enabled, writes Pub/Sub message metadata and attributes to HTTP request headers.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePushConfig.Types.NoWrapper\u003c/code\u003e class has 2 constructors, a default one and another that takes a \u003ccode\u003ePushConfig.Types.NoWrapper\u003c/code\u003e parameter.\u003c/p\u003e\n"]]],[],null,["# Cloud Pub/Sub v1 API - Class PushConfig.Types.NoWrapper (3.27.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.27.0 (latest)](/dotnet/docs/reference/Google.Cloud.PubSub.V1/latest/Google.Cloud.PubSub.V1.PushConfig.Types.NoWrapper)\n- [3.26.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/3.26.0/Google.Cloud.PubSub.V1.PushConfig.Types.NoWrapper)\n- [3.25.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/3.25.0/Google.Cloud.PubSub.V1.PushConfig.Types.NoWrapper)\n- [3.24.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/3.24.0/Google.Cloud.PubSub.V1.PushConfig.Types.NoWrapper)\n- [3.23.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/3.23.0/Google.Cloud.PubSub.V1.PushConfig.Types.NoWrapper)\n- [3.22.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/3.22.0/Google.Cloud.PubSub.V1.PushConfig.Types.NoWrapper)\n- [3.21.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/3.21.0/Google.Cloud.PubSub.V1.PushConfig.Types.NoWrapper)\n- [3.20.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/3.20.0/Google.Cloud.PubSub.V1.PushConfig.Types.NoWrapper)\n- [3.19.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/3.19.0/Google.Cloud.PubSub.V1.PushConfig.Types.NoWrapper)\n- [3.18.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/3.18.0/Google.Cloud.PubSub.V1.PushConfig.Types.NoWrapper)\n- [3.17.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/3.17.0/Google.Cloud.PubSub.V1.PushConfig.Types.NoWrapper)\n- [3.16.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/3.16.0/Google.Cloud.PubSub.V1.PushConfig.Types.NoWrapper)\n- [3.15.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/3.15.0/Google.Cloud.PubSub.V1.PushConfig.Types.NoWrapper)\n- [3.14.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/3.14.0/Google.Cloud.PubSub.V1.PushConfig.Types.NoWrapper)\n- [3.13.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/3.13.0/Google.Cloud.PubSub.V1.PushConfig.Types.NoWrapper)\n- [3.12.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/3.12.0/Google.Cloud.PubSub.V1.PushConfig.Types.NoWrapper)\n- [3.11.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/3.11.0/Google.Cloud.PubSub.V1.PushConfig.Types.NoWrapper)\n- [3.10.1](/dotnet/docs/reference/Google.Cloud.PubSub.V1/3.10.1/Google.Cloud.PubSub.V1.PushConfig.Types.NoWrapper)\n- [3.9.1](/dotnet/docs/reference/Google.Cloud.PubSub.V1/3.9.1/Google.Cloud.PubSub.V1.PushConfig.Types.NoWrapper)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/3.8.0/Google.Cloud.PubSub.V1.PushConfig.Types.NoWrapper)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/3.7.0/Google.Cloud.PubSub.V1.PushConfig.Types.NoWrapper)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/3.6.0/Google.Cloud.PubSub.V1.PushConfig.Types.NoWrapper)\n- [3.5.1](/dotnet/docs/reference/Google.Cloud.PubSub.V1/3.5.1/Google.Cloud.PubSub.V1.PushConfig.Types.NoWrapper)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/3.4.0/Google.Cloud.PubSub.V1.PushConfig.Types.NoWrapper)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/3.3.0/Google.Cloud.PubSub.V1.PushConfig.Types.NoWrapper)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/3.2.0/Google.Cloud.PubSub.V1.PushConfig.Types.NoWrapper)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/3.1.0/Google.Cloud.PubSub.V1.PushConfig.Types.NoWrapper)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/3.0.0/Google.Cloud.PubSub.V1.PushConfig.Types.NoWrapper)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/2.10.0/Google.Cloud.PubSub.V1.PushConfig.Types.NoWrapper)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/2.9.0/Google.Cloud.PubSub.V1.PushConfig.Types.NoWrapper)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/2.8.0/Google.Cloud.PubSub.V1.PushConfig.Types.NoWrapper)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/2.7.0/Google.Cloud.PubSub.V1.PushConfig.Types.NoWrapper)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/2.6.0/Google.Cloud.PubSub.V1.PushConfig.Types.NoWrapper)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/2.5.0/Google.Cloud.PubSub.V1.PushConfig.Types.NoWrapper)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/2.4.0/Google.Cloud.PubSub.V1.PushConfig.Types.NoWrapper)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/2.3.0/Google.Cloud.PubSub.V1.PushConfig.Types.NoWrapper) \n\n public sealed class PushConfig.Types.NoWrapper : IMessage\u003cPushConfig.Types.NoWrapper\u003e, IEquatable\u003cPushConfig.Types.NoWrapper\u003e, IDeepCloneable\u003cPushConfig.Types.NoWrapper\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Pub/Sub v1 API class PushConfig.Types.NoWrapper.\n\nSets the `data` field as the HTTP body for delivery. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e PushConfig.Types.NoWrapper \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[PushConfig](/dotnet/docs/reference/Google.Cloud.PubSub.V1/latest/Google.Cloud.PubSub.V1.PushConfig)[Types](/dotnet/docs/reference/Google.Cloud.PubSub.V1/latest/Google.Cloud.PubSub.V1.PushConfig.Types)[NoWrapper](/dotnet/docs/reference/Google.Cloud.PubSub.V1/latest/Google.Cloud.PubSub.V1.PushConfig.Types.NoWrapper), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[PushConfig](/dotnet/docs/reference/Google.Cloud.PubSub.V1/latest/Google.Cloud.PubSub.V1.PushConfig)[Types](/dotnet/docs/reference/Google.Cloud.PubSub.V1/latest/Google.Cloud.PubSub.V1.PushConfig.Types)[NoWrapper](/dotnet/docs/reference/Google.Cloud.PubSub.V1/latest/Google.Cloud.PubSub.V1.PushConfig.Types.NoWrapper), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[PushConfig](/dotnet/docs/reference/Google.Cloud.PubSub.V1/latest/Google.Cloud.PubSub.V1.PushConfig)[Types](/dotnet/docs/reference/Google.Cloud.PubSub.V1/latest/Google.Cloud.PubSub.V1.PushConfig.Types)[NoWrapper](/dotnet/docs/reference/Google.Cloud.PubSub.V1/latest/Google.Cloud.PubSub.V1.PushConfig.Types.NoWrapper), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.PubSub.V1](/dotnet/docs/reference/Google.Cloud.PubSub.V1/latest/Google.Cloud.PubSub.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.PubSub.V1.dll\n\nConstructors\n------------\n\n### NoWrapper()\n\n public NoWrapper()\n\n### NoWrapper(NoWrapper)\n\n public NoWrapper(PushConfig.Types.NoWrapper other)\n\nProperties\n----------\n\n### WriteMetadata\n\n public bool WriteMetadata { get; set; }\n\nOptional. When true, writes the Pub/Sub message metadata to\n`x-goog-pubsub-\u003cKEY\u003e:\u003cVAL\u003e` headers of the HTTP request. Writes the\nPub/Sub message attributes to `\u003cKEY\u003e:\u003cVAL\u003e` headers of the HTTP request."]]