Cloud Pub/Sub v1 API - Class DetachSubscriptionRequest (3.16.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
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