Class DeleteSubscriptionRequest (2.6.0)

public sealed class DeleteSubscriptionRequest : IMessage<DeleteSubscriptionRequest>, IEquatable<DeleteSubscriptionRequest>, IDeepCloneable<DeleteSubscriptionRequest>, IBufferMessage, IMessage

Request for the DeleteSubscription method.

Inheritance

Object > DeleteSubscriptionRequest

Namespace

Google.Cloud.PubSub.V1

Assembly

Google.Cloud.PubSub.V1.dll

Constructors

DeleteSubscriptionRequest()

public DeleteSubscriptionRequest()

DeleteSubscriptionRequest(DeleteSubscriptionRequest)

public DeleteSubscriptionRequest(DeleteSubscriptionRequest other)
Parameter
NameDescription
otherDeleteSubscriptionRequest

Properties

Subscription

public string Subscription { get; set; }

Required. The subscription to delete. Format is projects/{project}/subscriptions/{sub}.

Property Value
TypeDescription
String

SubscriptionAsSubscriptionName

public SubscriptionName SubscriptionAsSubscriptionName { get; set; }

SubscriptionName-typed view over the Subscription resource name property.

Property Value
TypeDescription
SubscriptionName