DocumentState constructor
const
DocumentState({})
Creates a new DocumentState.
collection The collection ID, relative to database. For example: chatrooms or chatrooms/my-document/private-messages.
createTime Creation timestamp in RFC3339 format.
database The Firestore database id. Defaults to "(default)".
deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
documentId The client-assigned document ID to use for this document during creation.
fields The document's fields formated as a json string.
name A server defined name for this document. Format:
path A relative path to the collection this document exists within
project The ID of the project in which the resource belongs.
updateTime Last update timestamp in RFC3339 format.
Implementation
const DocumentState({
this.collection,
this.createTime,
this.database,
this.deletionPolicy,
this.documentId,
this.fields,
this.name,
this.path,
this.project,
this.updateTime,
});