class GetSubscriptionRequest extends Message

Request for the GetSubscription method.

Protobuf type Google\Pubsub\V1\GetSubscriptionRequest

Methods

__construct()

No description

string
getSubscription()

The name of the subscription to get.

setSubscription(string $var)

The name of the subscription to get.

Details

at line 26
__construct()

at line 38
string getSubscription()

The name of the subscription to get.

Format is projects/{project}/subscriptions/{sub}.

Generated from protobuf field string subscription = 1;

Return Value

string

at line 50
setSubscription(string $var)

The name of the subscription to get.

Format is projects/{project}/subscriptions/{sub}.

Generated from protobuf field string subscription = 1;

Parameters

string $var