public sealed class GetSubscriptionRequest : IMessage<GetSubscriptionRequest>, IEquatable<GetSubscriptionRequest>, IDeepCloneable<GetSubscriptionRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Pub/Sub v1 API class GetSubscriptionRequest.
[[["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 page provides reference documentation for the \u003ccode\u003eGetSubscriptionRequest\u003c/code\u003e class within the Google Cloud Pub/Sub v1 API, specifically for .NET.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetSubscriptionRequest\u003c/code\u003e class is used to request a subscription via the \u003ccode\u003eGetSubscription\u003c/code\u003e method, and it inherits from the base object class.\u003c/p\u003e\n"],["\u003cp\u003eThe page details various versions of the \u003ccode\u003eGetSubscriptionRequest\u003c/code\u003e class, from the latest version 3.23.0 all the way back to 2.3.0.\u003c/p\u003e\n"],["\u003cp\u003eThe class 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, and it also has two constructors and two properties (\u003ccode\u003eSubscription\u003c/code\u003e, \u003ccode\u003eSubscriptionAsSubscriptionName\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSubscription\u003c/code\u003e property in \u003ccode\u003eGetSubscriptionRequest\u003c/code\u003e requires the name of the subscription, formatted as \u003ccode\u003eprojects/{project}/subscriptions/{sub}\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]