Create resource with a specific ID

How to create resource with a provided id

Update
If the API accepts client-assigned resource names, the server may allow the client to specify a non-existent resource name and create a new resource.