Cloud Pub/Sub V1 API - Class Google::Cloud::PubSub::V1::GetSubscriptionRequest (v1.2.0)

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

Request for the GetSubscription method.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#subscription

def subscription() -> ::String
Returns
  • (::String) — Required. The name of the subscription to get. Format is projects/{project}/subscriptions/{sub}.

#subscription=

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