Reference documentation and code samples for the Cloud Firestore V1 Client class Stats.
Backup specific statistics.
Generated from protobuf message google.firestore.admin.v1.Backup.Stats
Namespace
Google \ Cloud \ Firestore \ Admin \ V1 \ BackupMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ size_bytes |
int|string
Output only. Summation of the size of all documents and index entries in the backup, measured in bytes. |
↳ document_count |
int|string
Output only. The total number of documents contained in the backup. |
↳ index_count |
int|string
Output only. The total number of index entries contained in the backup. |
getSizeBytes
Output only. Summation of the size of all documents and index entries in the backup, measured in bytes.
Returns | |
---|---|
Type | Description |
int|string |
setSizeBytes
Output only. Summation of the size of all documents and index entries in the backup, measured in bytes.
Parameter | |
---|---|
Name | Description |
var |
int|string
|
Returns | |
---|---|
Type | Description |
$this |
getDocumentCount
Output only. The total number of documents contained in the backup.
Returns | |
---|---|
Type | Description |
int|string |
setDocumentCount
Output only. The total number of documents contained in the backup.
Parameter | |
---|---|
Name | Description |
var |
int|string
|
Returns | |
---|---|
Type | Description |
$this |
getIndexCount
Output only. The total number of index entries contained in the backup.
Returns | |
---|---|
Type | Description |
int|string |
setIndexCount
Output only. The total number of index entries contained in the backup.
Parameter | |
---|---|
Name | Description |
var |
int|string
|
Returns | |
---|---|
Type | Description |
$this |