public sealed class GetSubscriptionRequest : IMessage<GetSubscriptionRequest>, IEquatable<GetSubscriptionRequest>, IDeepCloneable<GetSubscriptionRequest>, IBufferMessage, IMessage
Request for the GetSubscription method.
Inheritance
System.Object > GetSubscriptionRequestImplements
Google.Protobuf.IMessage<GetSubscriptionRequest>, System.IEquatable<GetSubscriptionRequest>, Google.Protobuf.IDeepCloneable<GetSubscriptionRequest>, Google.Protobuf.IBufferMessage, Google.Protobuf.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 |
System.String |
SubscriptionAsSubscriptionName
public SubscriptionName SubscriptionAsSubscriptionName { get; set; }
SubscriptionName-typed view over the Subscription resource name property.
Property Value | |
---|---|
Type | Description |
SubscriptionName |