BeginTransactionResponse

google.firestore.v1. BeginTransactionResponse

Represents a BeginTransactionResponse.

Constructor

new BeginTransactionResponse(propertiesopt)

Constructs a new BeginTransactionResponse.

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

Properties to set

Implements:
  • IBeginTransactionResponse

Members

transaction :Uint8Array

BeginTransactionResponse transaction.

Methods

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

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

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

BeginTransactionResponse

options $protobuf.IConversionOptions <optional>

Conversion options

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

Converts this BeginTransactionResponse to JSON.