admin
Creates a new subscription.
post/v1/admin/{+parent}/subscriptions
Path parameters
parentstring required
Required. The parent location in which to create the subscription. Structured like projects/{project_number}/locations/{location}.
Query parameters
skipBacklogboolean
If true, the newly created subscription will only receive messages published after the subscription was created. Otherwise, the entire message backlog will be received on the subscription. Defaults to false.
subscriptionIdstring
Required. The ID to use for the subscription, which will become the final component of the subscription's name. This value is structured like: my-sub-name.
Request body
Response
Successful response