projects
Creates a new document.
post/v1/{+parent}/{collectionId}
Path parameters
parentstring required
Required. The parent resource. For example: projects/{project_id}/databases/{database_id}/documents or projects/{project_id}/databases/{database_id}/documents/chatrooms/{chatroom_id}
collectionIdstring required
Required. The collection ID, relative to parent, to list. For example: chatrooms.
Query parameters
documentIdstring
The client-assigned document ID to use for this document. Optional. If not specified, an ID will be assigned by the service.
mask.fieldPathsstring[]
The list of field paths in the mask. See Document.fields for a field path syntax reference.
requestOptions.requestTagsstring[]
Optional. The request tags for the request.
Request body
Response
Successful response