Constructor
new BundledDocumentMetadata(propertiesopt)
Constructs a new BundledDocumentMetadata.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
properties |
firestore.IBundledDocumentMetadata |
<optional> |
Properties to set |
- Implements:
-
- IBundledDocumentMetadata
Members
exists
BundledDocumentMetadata exists.
name
BundledDocumentMetadata name.
queries
BundledDocumentMetadata queries.
readTime
BundledDocumentMetadata readTime.
Methods
toJSON() → {Object.<string, *>}
Converts this BundledDocumentMetadata to JSON.
Returns:
Type | Description |
---|---|
Object.<string, *> |
JSON object |
(static) fromObject(object) → {firestore.BundledDocumentMetadata}
Creates a BundledDocumentMetadata 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 |
---|---|
firestore.BundledDocumentMetadata |
BundledDocumentMetadata |
(static) getTypeUrl(typeUrlPrefixopt) → {string}
Gets the default type url for BundledDocumentMetadata
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
typeUrlPrefix |
string |
<optional> |
your custom typeUrlPrefix(default "type.googleapis.com") |
Returns:
Type | Description |
---|---|
string |
The default type url |
(static) toObject(message, optionsopt) → {Object.<string, *>}
Creates a plain object from a BundledDocumentMetadata message. Also converts values to other types if specified.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
message |
firestore.BundledDocumentMetadata |
BundledDocumentMetadata |
|
options |
$protobuf.IConversionOptions |
<optional> |
Conversion options |
Returns:
Type | Description |
---|---|
Object.<string, *> |
Plain object |