BundleMetadata

firestore. BundleMetadata

Represents a BundleMetadata.

Constructor

new BundleMetadata(propertiesopt)

Constructs a new BundleMetadata.

Parameters:
Name Type Attributes Description
properties firestore.IBundleMetadata <optional>

Properties to set

Implements:
  • IBundleMetadata

Members

createTime :google.protobuf.ITimestamp|null|undefined

BundleMetadata createTime.

id :string

BundleMetadata id.

totalBytes :number|string

BundleMetadata totalBytes.

totalDocuments :number

BundleMetadata totalDocuments.

version :number

BundleMetadata version.

Methods

(static) fromObject(object) → {firestore.BundleMetadata}

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

Parameters:
Name Type Attributes Description
message firestore.BundleMetadata

BundleMetadata

options $protobuf.IConversionOptions <optional>

Conversion options

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

Converts this BundleMetadata to JSON.