Cloud Pub/Sub V1 API - Class Google::Cloud::PubSub::V1::DetachSubscriptionRequest (v0.11.0)

Reference documentation and code samples for the Cloud Pub/Sub V1 API class Google::Cloud::PubSub::V1::DetachSubscriptionRequest.

Request for the DetachSubscription method.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#subscription

def subscription() -> ::String
Returns
  • (::String) — Required. The subscription to detach. Format is projects/{project}/subscriptions/{subscription}.

#subscription=

def subscription=(value) -> ::String
Parameter
  • value (::String) — Required. The subscription to detach. Format is projects/{project}/subscriptions/{subscription}.
Returns
  • (::String) — Required. The subscription to detach. Format is projects/{project}/subscriptions/{subscription}.