Write

google.firestore.v1. Write

Represents a Write.

Constructor

new Write(propertiesopt)

Constructs a new Write.

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

Properties to set

Implements:
  • IWrite

Members

currentDocument

Write currentDocument.

delete

Write delete.

operation

Write operation.

transform

Write transform.

update

Write update.

updateMask

Write updateMask.

updateTransforms

Write updateTransforms.

Methods

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

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

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

Plain object

Returns:
Type Description
google.firestore.v1.Write

Write

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

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

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

Write

options $protobuf.IConversionOptions <optional>

Conversion options

Returns:
Type Description
Object.<string, *>

Plain object

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

Converts this Write to JSON.

Returns:
Type Description
Object.<string, *>

JSON object