# Google Cloud Pub/Sub API . projects . topics . subscriptions

## Instance Methods

Lists the name of the subscriptions for this topic.

Retrieves the next page of results.

### Method Details

`list(topic, pageSize=None, pageToken=None)`

    Lists the name of the subscriptions for this topic.

    Args:
      topic: string, A parameter (required)
      pageSize: integer, A parameter
      pageToken: string, A parameter

    Returns:
      An object of the form:

        {
        "nextPageToken": "A String",
        "subscriptions": [
          "A String",
        ],
      }

`list_next(previous_request, previous_response)`

    Retrieves the next page of results.

    Args:
      previous_request: The request for the previous page. (required)
      previous_response: The response from the request for the previous page. (required)

    Returns:
      A request object that you can call 'execute()' on to request the next
      page. Returns None if there are no more items in the collection.