admin
Creates a new topic.
post/v1/admin/{+parent}/topics
Request
- Base URL: https://pubsublite.googleapis.com
- URL: https://pubsublite.googleapis.com/v1/admin/{+parent}/topics
- Auth: OAuth 2 (implicit, authorization URL https://accounts.google.com/o/oauth2/auth, scopes: https://www.googleapis.com/auth/cloud-platform) and OAuth 2 (authorization code, authorization URL https://accounts.google.com/o/oauth2/auth, token URL https://accounts.google.com/o/oauth2/token, scopes: https://www.googleapis.com/auth/cloud-platform)
Path parameters
parentstring required
Required. The parent location in which to create the topic. Structured like projects/{project_number}/locations/{location}.
Query parameters
topicIdstring
Required. The ID to use for the topic, which will become the final component of the topic's name. This value is structured like: my-topic-name.
Request body
Response
Successful response
Changes
- breaking
removed the request body
- breaking
removed the media type
*/*for the response with the status
- breaking