Class DetachSubscriptionRequest (2.4.0)

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

Request for the DetachSubscription method.

Inheritance

Object > DetachSubscriptionRequest

Implements

Google.Protobuf.IMessage<DetachSubscriptionRequest>, IEquatable<DetachSubscriptionRequest>, Google.Protobuf.IDeepCloneable<DetachSubscriptionRequest>, Google.Protobuf.IBufferMessage, Google.Protobuf.IMessage

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