The request for
Firestore.CreateDocument][google.firestore.v1.Firestore.CreateDocument].
Attributes
Name
Description
parent
str
Required. The parent resource. For example:
projects/{project_id}/databases/{database_id}/documents
or
projects/{project_id}/databases/{database_id}/documents/chatrooms/{chatroom_id}
collection_id
str
Required. The collection ID, relative to parent, to
list. For example: chatrooms.
document_id
str
The client-assigned document ID to use for
this document.
Optional. If not specified, an ID will be
assigned by the service.
google.cloud.firestore_v1.types.DocumentMask
The fields to return. If not set, returns all
fields.
If the document has a field that is not present
in this mask, that field will not be returned in
the response.