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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-31 UTC."],[[["The content provides reference documentation for the `DetachSubscriptionRequest` class within the Google Cloud Pub/Sub v1 API, which is used for detaching a subscription."],["The 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 `DetachSubscriptionRequest` class."],["`DetachSubscriptionRequest` is a class that inherits from `object` and implements multiple interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class has two constructors: a parameterless constructor and one that takes another `DetachSubscriptionRequest` object, and includes two properties named `Subscription` and `SubscriptionAsSubscriptionName`."],["The `Subscription` property is a required string that specifies the subscription to detach, in the format `projects/{project}/subscriptions/{subscription}`."]]],[]]