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.
Request for the GetSubscription method.
Implements
IMessageGetSubscriptionRequest, IEquatableGetSubscriptionRequest, IDeepCloneableGetSubscriptionRequest, IBufferMessage, IMessageNamespace
Google.Cloud.PubSub.V1Assembly
Google.Cloud.PubSub.V1.dll
Constructors
GetSubscriptionRequest()
public GetSubscriptionRequest()
GetSubscriptionRequest(GetSubscriptionRequest)
public GetSubscriptionRequest(GetSubscriptionRequest other)
Parameter | |
---|---|
Name | Description |
other | GetSubscriptionRequest |
Properties
Subscription
public string Subscription { get; set; }
Required. The name of the subscription to get.
Format is projects/{project}/subscriptions/{sub}
.
Property Value | |
---|---|
Type | Description |
string |
SubscriptionAsSubscriptionName
public SubscriptionName SubscriptionAsSubscriptionName { get; set; }
SubscriptionName-typed view over the Subscription resource name property.
Property Value | |
---|---|
Type | Description |
SubscriptionName |