Class DetachSubscriptionRequest (2.9.0)

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

Request for the DetachSubscription method.

Inheritance

Object > DetachSubscriptionRequest

Namespace

Google.Cloud.PubSub.V1

Assembly

Google.Cloud.PubSub.V1.dll

Constructors

DetachSubscriptionRequest()

public DetachSubscriptionRequest()

DetachSubscriptionRequest(DetachSubscriptionRequest)

public DetachSubscriptionRequest(DetachSubscriptionRequest other)
Parameter
NameDescription
otherDetachSubscriptionRequest

Properties

Subscription

public string Subscription { get; set; }

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

Property Value
TypeDescription
String

SubscriptionAsSubscriptionName

public SubscriptionName SubscriptionAsSubscriptionName { get; set; }

SubscriptionName-typed view over the Subscription resource name property.

Property Value
TypeDescription
SubscriptionName