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 webpage provides documentation for the \u003ccode\u003eDetachSubscriptionRequest\u003c/code\u003e class within the Google Cloud Pub/Sub v1 API, specifically version 3.17.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDetachSubscriptionRequest\u003c/code\u003e class is used to request the detachment of a subscription and implements interfaces like \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 documentation lists multiple versions of the API, ranging from version 2.3.0 to the latest version 3.23.0, all having the same detach request page.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors, a default constructor and a constructor that takes another \u003ccode\u003eDetachSubscriptionRequest\u003c/code\u003e object as a parameter, allowing you to copy another object into this one.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDetachSubscriptionRequest\u003c/code\u003e class has properties like \u003ccode\u003eSubscription\u003c/code\u003e (a string) and \u003ccode\u003eSubscriptionAsSubscriptionName\u003c/code\u003e (a \u003ccode\u003eSubscriptionName\u003c/code\u003e object) for specifying the subscription to be detached.\u003c/p\u003e\n"]]],[],null,[]]