# Pub/Sub Lite API . admin . projects . locations . reservations . topics

## Instance Methods

Close httplib2 connections.

Lists the topics attached to the specified reservation.

Retrieves the next page of results.

### Method Details

`close()`

    Close httplib2 connections.

`list(name, pageSize=None, pageToken=None, x__xgafv=None)`

    Lists the topics attached to the specified reservation.

    Args:
      name: string, Required. The name of the reservation whose topics to list. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id} (required)
      pageSize: integer, The maximum number of topics to return. The service may return fewer than this value. If unset or zero, all topics for the given reservation will be returned.
      pageToken: string, A page token, received from a previous `ListReservationTopics` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListReservationTopics` must match the call that provided the page token.
      x__xgafv: string, V1 error format.
        Allowed values
          1 - v1 error format
          2 - v2 error format

    Returns:
      An object of the form:

        { # Response for ListReservationTopics.
      "nextPageToken": "A String", # A token that can be sent as `page_token` to retrieve the next page of results. If this field is omitted, there are no more results.
      "topics": [ # The names of topics attached to the reservation. The order of the topics is unspecified.
        "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.