- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Lists matching topics.
HTTP request
Path parameters
Parameters | |
---|---|
project |
Required. The name of the project in which to list topics. Format is |
Query parameters
Parameters | |
---|---|
page |
Optional. Maximum number of topics to return. |
page |
Optional. The value returned by the last |
Request body
The request body must be empty.
Response body
Response for the topics.list
method.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"topics": [
{
object ( |
Fields | |
---|---|
topics[] |
Optional. The resulting topics. |
next |
Optional. If not empty, indicates that there may be more topics that match the request; this value should be passed in a new |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/pubsub
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.