Reference documentation and code samples for the Cloud PubSub V1 Client class GetSubscriptionRequest.
Request for the GetSubscription method.
Generated from protobuf message google.pubsub.v1.GetSubscriptionRequest
Namespace
Google \ Cloud \ PubSub \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ subscription
string
Required. The name of the subscription to get. Format is projects/{project}/subscriptions/{sub}
.
getSubscription
Required. The name of the subscription to get.
Format is projects/{project}/subscriptions/{sub}
.
string
setSubscription
Required. The name of the subscription to get.
Format is projects/{project}/subscriptions/{sub}
.
var
string
$this
static::build
subscription
string
Required. The name of the subscription to get.
Format is projects/{project}/subscriptions/{sub}
. Please see Google\Cloud\PubSub\V1\SubscriberClient::subscriptionName()
for help formatting this field.