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 reference documentation for the \u003ccode\u003eDetachSubscriptionRequest\u003c/code\u003e class within the Google Cloud Pub/Sub v1 API, specifically for version 3.18.0 and other versions as well.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDetachSubscriptionRequest\u003c/code\u003e is used to request the detachment of a subscription from a Cloud Pub/Sub topic.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, facilitating various operations and comparisons.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eDetachSubscriptionRequest\u003c/code\u003e include \u003ccode\u003eSubscription\u003c/code\u003e, which is a required string for the subscription's resource name, and \u003ccode\u003eSubscriptionAsSubscriptionName\u003c/code\u003e, which offers a typed view of the subscription name.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version is 3.23.0, and this page lists links to the documentation for \u003ccode\u003eDetachSubscriptionRequest\u003c/code\u003e for versions all the way back to version 2.3.0, giving users the options to look at the changes in each version.\u003c/p\u003e\n"]]],[],null,[]]