google-apis-firestore_v1 0.99.0 → 0.101.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 105fc246a8747b12c36ffdce6e4f3d0e0abb22e127cfc0927255b00dcd6cecd4
4
- data.tar.gz: 54690e9c6d59d2701ada7369a423542fe654d5a2e1d1de57082f886453d2f065
3
+ metadata.gz: 12a01ceb516312bce23f9f09340a64573527ab897c3408cb61c3154a11837174
4
+ data.tar.gz: b8fdf828a69d2dd84c9da527bf86c1c61a5d7ae2c829d59ff9211491e09dce72
5
5
  SHA512:
6
- metadata.gz: 28c59d5d24e54cec597ca2be062c35fc85b22e373d407ffe15bbe3fc095c429b699905f48f637a391d9c8db604b4145468cbdd40c53b25ba7eba572154d0798f
7
- data.tar.gz: 372ba5fca6ea073bb32e106f87e67c5b88a06d751850915f2a1605f8d82657e00dd419c4b632cfbebdd9ba85ebedb6946e5e05e455d46b1472cbd5edfca8862d
6
+ metadata.gz: 27e68ae264e2bd31bb83245237acd1a9d2c94bb82da617f127a1f27c8947d5257e48aab4d350b1b59db761c069ea8344c59fc96bc88e05b8f2a50d09e4a99b7c
7
+ data.tar.gz: 18203da751056ec0c3a968d02d6eb49a0966b4d0d390fd28810ad8e3ad7e2f82bb5d399342aa94c0deb2f5bbeef2e7609026e7380416c4f322d03cd7e6259c7f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-firestore_v1
2
2
 
3
+ ### v0.101.0 (2026-10-04)
4
+
5
+ * Regenerated from discovery document revision 20260928
6
+
7
+ ### v0.100.0 (2026-09-20)
8
+
9
+ * Regenerated from discovery document revision 20260826
10
+
3
11
  ### v0.99.0 (2026-08-30)
4
12
 
5
13
  * Regenerated from discovery document revision 20260818
@@ -2628,7 +2628,45 @@ module Google
2628
2628
  # @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1SearchIndexOptions]
2629
2629
  attr_accessor :search_index_options
2630
2630
 
2631
- # Optional. The number of shards for the index.
2631
+ # Optional. The number of physical shards for the index. In Cloud Firestore,
2632
+ # data and index entries are stored in contiguous, ordered key ranges called
2633
+ # splits. While document keys within a collection are hashed to distribute write
2634
+ # traffic across splits, secondary index entries are ordered lexicographically
2635
+ # by their indexed field values. When an index contains fields with sequential
2636
+ # or monotonically increasing or decreasing values (such as timestamps or auto-
2637
+ # incrementing IDs), every incoming index write targets the boundary of the
2638
+ # index keyspace on a single split. Because sequential writes continuously
2639
+ # advance to the newest split at the edge of the range, automatic load-based
2640
+ # splitting cannot divide the write traffic across storage servers. Under high
2641
+ # write rates, this concentration creates an append hotspot on that single split,
2642
+ # resulting in elevated write latency, contention errors, and transaction
2643
+ # aborts. Sharded indexes solve this write bottleneck by hash partitioning the
2644
+ # secondary index keyspace. When `shard_count` is configured to N, Firestore
2645
+ # automatically prepends a virtual computed shard field (with values from 0 to N-
2646
+ # 1) as the leading field of the index. This splits a single sequential key
2647
+ # range into N independent key ranges, uniformly scattering adjacent writes
2648
+ # across distinct splits and storage servers to enable linear write scaling.
2649
+ # Query trade-offs: Hash partitioning trades query performance for write
2650
+ # throughput. Because matching index entries are scattered across all shards,
2651
+ # queries executing against a sharded index cannot read from a single contiguous
2652
+ # range. The query engine must fan out parallel seeks across all N shards and
2653
+ # merge the ordered results. Even index point lookups and queries with `LIMIT 1`
2654
+ # must seek across all N shards. Sizing and best practices: - Indexes cannot be
2655
+ # updated in-place. `shard_count` is immutable once an index is created; to "
2656
+ # reshard" an index, create a new index with the desired `shard_count` and
2657
+ # delete the original index. - Use sharded indexes only for indexes experiencing
2658
+ # write bottlenecks (typically exceeding 500-1,000 writes/sec) on sequential or
2659
+ # timestamp fields. - Do not shard indexes on uniformly distributed fields (such
2660
+ # as UUIDs or hash tokens), where writes naturally spread across splits without
2661
+ # sharding. Sharding uniform indexes adds query overhead without improving write
2662
+ # throughput. - Do not shard read-heavy or low-write collections. - Size `
2663
+ # shard_count` based on expected peak write throughput. Because a single split
2664
+ # sustains roughly 500-1,000 writes/sec on sequential keys, estimate `
2665
+ # shard_count ≈ ceil(peak_write_qps / 500)`. - e.g., 4 for up to ~2,000-4,000
2666
+ # writes/sec, 16 for up to ~10,000+ writes/sec. - Setting an excessively high
2667
+ # shard count produces diminishing write returns while needlessly increasing
2668
+ # read latency and seek costs. If <= 1, the index is unsharded (1 physical shard)
2669
+ # .
2632
2670
  # Corresponds to the JSON property `shardCount`
2633
2671
  # @return [Fixnum]
2634
2672
  attr_accessor :shard_count
@@ -3249,7 +3287,8 @@ module Google
3249
3287
  include Google::Apis::Core::Hashable
3250
3288
 
3251
3289
  # Optional. Disables geoJSON indexing for the field. By default, geoJSON points
3252
- # are indexed.
3290
+ # are indexed. Firestore GeoPoints are indexed regardless of the value of this
3291
+ # field.
3253
3292
  # Corresponds to the JSON property `geoJsonIndexingDisabled`
3254
3293
  # @return [Boolean]
3255
3294
  attr_accessor :geo_json_indexing_disabled
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module FirestoreV1
18
18
  # Version of the google-apis-firestore_v1 gem
19
- GEM_VERSION = "0.99.0"
19
+ GEM_VERSION = "0.101.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260818"
25
+ REVISION = "20260928"
26
26
  end
27
27
  end
28
28
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-firestore_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.99.0
4
+ version: 0.101.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firestore_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-firestore_v1/v0.99.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-firestore_v1/v0.101.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firestore_v1
62
62
  rdoc_options: []
63
63
  require_paths: