v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13203649.3 KB
admin

Creates a new topic.

post/v1/admin/{+parent}/topics

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

namestring

The name of the topic. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}

Response

Successful response