public sealed class DetachSubscriptionRequest : IMessage<DetachSubscriptionRequest>, IEquatable<DetachSubscriptionRequest>, IDeepCloneable<DetachSubscriptionRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Pub/Sub v1 API class DetachSubscriptionRequest.
[[["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 documentation for the \u003ccode\u003eDetachSubscriptionRequest\u003c/code\u003e class within the Google Cloud Pub/Sub v1 API, specifically for the .NET environment.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDetachSubscriptionRequest\u003c/code\u003e class is used to create requests for the \u003ccode\u003eDetachSubscription\u003c/code\u003e method, allowing users to detach a subscription within the Pub/Sub service.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation lists various versions of the Google.Cloud.PubSub.V1 API, ranging from the latest 3.23.0 down to version 2.3.0, with each version linking to its own specific documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDetachSubscriptionRequest\u003c/code\u003e class inherits from the base \u003ccode\u003eobject\u003c/code\u003e class 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 \u003ccode\u003eDetachSubscriptionRequest\u003c/code\u003e class has two constructors and two properties, \u003ccode\u003eSubscription\u003c/code\u003e (a string) and \u003ccode\u003eSubscriptionAsSubscriptionName\u003c/code\u003e (of type \u003ccode\u003eSubscriptionName\u003c/code\u003e), with \u003ccode\u003eSubscription\u003c/code\u003e being required in order to detach a subscription.\u003c/p\u003e\n"]]],[],null,[]]