public sealed class DeleteSubscriptionRequest : IMessage<DeleteSubscriptionRequest>, IEquatable<DeleteSubscriptionRequest>, IDeepCloneable<DeleteSubscriptionRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Pub/Sub v1 API class DeleteSubscriptionRequest.
Request for the DeleteSubscription method.
Implements
IMessageDeleteSubscriptionRequest, IEquatableDeleteSubscriptionRequest, IDeepCloneableDeleteSubscriptionRequest, IBufferMessage, IMessageNamespace
Google.Cloud.PubSub.V1Assembly
Google.Cloud.PubSub.V1.dll
Constructors
DeleteSubscriptionRequest()
public DeleteSubscriptionRequest()
DeleteSubscriptionRequest(DeleteSubscriptionRequest)
public DeleteSubscriptionRequest(DeleteSubscriptionRequest other)
Parameter | |
---|---|
Name | Description |
other | DeleteSubscriptionRequest |
Properties
Subscription
public string Subscription { get; set; }
Required. The subscription to delete.
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 |