Cloud Pub/Sub v1 API - Class DetachSubscriptionRequest (3.11.0)

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.

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