BatchWriteRequest

google.firestore.v1. BatchWriteRequest

Represents a BatchWriteRequest.

Constructor

new BatchWriteRequest(propertiesopt)

Constructs a new BatchWriteRequest.

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

Properties to set

Implements:
  • IBatchWriteRequest

Members

database :string

BatchWriteRequest database.

labels :Object.<string, string>

BatchWriteRequest labels.

writes :Array.<google.firestore.v1.IWrite>

BatchWriteRequest writes.

Methods

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

Creates a BatchWriteRequest 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 BatchWriteRequest message. Also converts values to other types if specified.

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

BatchWriteRequest

options $protobuf.IConversionOptions <optional>

Conversion options

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

Converts this BatchWriteRequest to JSON.