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\u003eThe content provides reference documentation for the \u003ccode\u003eDetachSubscriptionRequest\u003c/code\u003e class within the Google Cloud Pub/Sub v1 API, which is used for detaching a subscription.\u003c/p\u003e\n"],["\u003cp\u003eThe page lists multiple versions of the API, with version 3.23.0 being the latest, along with links to the documentation for each respective version of the \u003ccode\u003eDetachSubscriptionRequest\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDetachSubscriptionRequest\u003c/code\u003e is a class that inherits from \u003ccode\u003eobject\u003c/code\u003e and implements multiple 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 class has two constructors: a parameterless constructor and one that takes another \u003ccode\u003eDetachSubscriptionRequest\u003c/code\u003e object, and includes two properties named \u003ccode\u003eSubscription\u003c/code\u003e and \u003ccode\u003eSubscriptionAsSubscriptionName\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSubscription\u003c/code\u003e property is a required string that specifies the subscription to detach, in the format \u003ccode\u003eprojects/{project}/subscriptions/{subscription}\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]