class ProjectsTopicsSubscriptions extends Resource (View source)

The "subscriptions" collection of methods.

Typical usage is:

 $pubsubService = new Google\Service\Pubsub(...);
 $subscriptions = $pubsubService->projects_topics_subscriptions;

Methods

listProjectsTopicsSubscriptions(string $topic, array $optParams = [])

Lists the names of the attached subscriptions on this topic.

Details

ListTopicSubscriptionsResponse listProjectsTopicsSubscriptions(string $topic, array $optParams = [])

Lists the names of the attached subscriptions on this topic.

(subscriptions.listProjectsTopicsSubscriptions)

Parameters

string $topic

Required. The name of the topic that subscriptions are attached to. Format is projects/{project}/topics/{topic}.

array $optParams

Optional parameters.

Return Value

ListTopicSubscriptionsResponse

Exceptions

Exception