DeleteDocumentRequest

google.firestore.v1. DeleteDocumentRequest

Represents a DeleteDocumentRequest.

Constructor

new DeleteDocumentRequest(propertiesopt)

Constructs a new DeleteDocumentRequest.

Parameters:
Name Type Attributes Description
properties google.firestore.v1.IDeleteDocumentRequest <optional>

Properties to set

Implements:
  • IDeleteDocumentRequest

Members

currentDocument :google.firestore.v1.IPrecondition|null|undefined

DeleteDocumentRequest currentDocument.

name :string

DeleteDocumentRequest name.

Methods

(static) fromObject(object) → {google.firestore.v1.DeleteDocumentRequest}

Creates a DeleteDocumentRequest message from a plain object. Also converts values to their respective internal types.

Parameters:
Name Type Description
object Object.<string, *>

Plain object

(static) toObject(message, optionsopt) → {Object.<string, *>}

Creates a plain object from a DeleteDocumentRequest message. Also converts values to other types if specified.

Parameters:
Name Type Attributes Description
message google.firestore.v1.DeleteDocumentRequest

DeleteDocumentRequest

options $protobuf.IConversionOptions <optional>

Conversion options

toJSON() → {Object.<string, *>}

Converts this DeleteDocumentRequest to JSON.