DocumentState constructor

const DocumentState({
  1. Input<String?>? collection,
  2. Input<String?>? createTime,
  3. Input<String?>? database,
  4. Input<String?>? deletionPolicy,
  5. Input<String?>? documentId,
  6. Input<String?>? fields,
  7. Input<String?>? name,
  8. Input<String?>? path,
  9. Input<String?>? project,
  10. Input<String?>? updateTime,
})

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,
});