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