Class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Stats
- Inherits:
-
Object
- Object
- Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Stats
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/firestore_v1/classes.rb,
lib/google/apis/firestore_v1/representations.rb,
lib/google/apis/firestore_v1/representations.rb
Overview
Backup specific statistics.
Instance Attribute Summary collapse
-
#document_count ⇒ Fixnum
Output only.
-
#index_count ⇒ Fixnum
Output only.
-
#size_bytes ⇒ Fixnum
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleFirestoreAdminV1Stats
constructor
A new instance of GoogleFirestoreAdminV1Stats.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleFirestoreAdminV1Stats
Returns a new instance of GoogleFirestoreAdminV1Stats.
2157 2158 2159 |
# File 'lib/google/apis/firestore_v1/classes.rb', line 2157 def initialize(**args) update!(**args) end |
Instance Attribute Details
#document_count ⇒ Fixnum
Output only. The total number of documents contained in the backup.
Corresponds to the JSON property documentCount
2144 2145 2146 |
# File 'lib/google/apis/firestore_v1/classes.rb', line 2144 def document_count @document_count end |
#index_count ⇒ Fixnum
Output only. The total number of index entries contained in the backup.
Corresponds to the JSON property indexCount
2149 2150 2151 |
# File 'lib/google/apis/firestore_v1/classes.rb', line 2149 def index_count @index_count end |
#size_bytes ⇒ Fixnum
Output only. Summation of the size of all documents and index entries in the
backup, measured in bytes.
Corresponds to the JSON property sizeBytes
2155 2156 2157 |
# File 'lib/google/apis/firestore_v1/classes.rb', line 2155 def size_bytes @size_bytes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2162 2163 2164 2165 2166 |
# File 'lib/google/apis/firestore_v1/classes.rb', line 2162 def update!(**args) @document_count = args[:document_count] if args.key?(:document_count) @index_count = args[:index_count] if args.key?(:index_count) @size_bytes = args[:size_bytes] if args.key?(:size_bytes) end |