google-apis-firestore_v1 0.97.0 → 0.99.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: 87c60e3b964055a23a408ab38df4afbc480efa42f5257ffca479d6b81182cc18
4
- data.tar.gz: fcbc4e193746d2888768c34de3587a4a4fc75d9d062e3501136a8f472fbce029
3
+ metadata.gz: 105fc246a8747b12c36ffdce6e4f3d0e0abb22e127cfc0927255b00dcd6cecd4
4
+ data.tar.gz: 54690e9c6d59d2701ada7369a423542fe654d5a2e1d1de57082f886453d2f065
5
5
  SHA512:
6
- metadata.gz: de8873e7253ca195b03caa9dd2a57e1d05397bd1180ba6b2362831744604735c7d63b2d77159caa161915dce603fb1bf1460b4a3f2e2a2650781f6a054c40ec0
7
- data.tar.gz: 8c9e1cd7b42b51a4c397112d40cc10d19f0aa4976889e1f1b406ebfe669002cc8379486f2cc865c74aa6a9940a612fd130a54e2eb0937f6c8133e72d14f57318
6
+ metadata.gz: 28c59d5d24e54cec597ca2be062c35fc85b22e373d407ffe15bbe3fc095c429b699905f48f637a391d9c8db604b4145468cbdd40c53b25ba7eba572154d0798f
7
+ data.tar.gz: 372ba5fca6ea073bb32e106f87e67c5b88a06d751850915f2a1605f8d82657e00dd419c4b632cfbebdd9ba85ebedb6946e5e05e455d46b1472cbd5edfca8862d
data/CHANGELOG.md CHANGED
@@ -1,8 +1,16 @@
1
1
  # Release history for google-apis-firestore_v1
2
2
 
3
- ### v0.97.0 (2026-07-12)
3
+ ### v0.99.0 (2026-08-30)
4
4
 
5
- * Regenerated from discovery document revision 20260702
5
+ * Regenerated from discovery document revision 20260818
6
+
7
+ ### v0.98.0 (2026-08-23)
8
+
9
+ * Regenerated from discovery document revision 20260810
10
+
11
+ ### v0.97.0 (2026-07-19)
12
+
13
+ * Regenerated from discovery document revision 20260706
6
14
 
7
15
  ### v0.96.0 (2026-06-21)
8
16
 
@@ -180,7 +180,7 @@ module Google
180
180
  # @return [String]
181
181
  attr_accessor :read_time
182
182
 
183
- # Options for a server request.
183
+ # Options for a request.
184
184
  # Corresponds to the JSON property `requestOptions`
185
185
  # @return [Google::Apis::FirestoreV1::RequestOptions]
186
186
  attr_accessor :request_options
@@ -258,7 +258,7 @@ module Google
258
258
  # @return [Hash<String,String>]
259
259
  attr_accessor :labels
260
260
 
261
- # Options for a server request.
261
+ # Options for a request.
262
262
  # Corresponds to the JSON property `requestOptions`
263
263
  # @return [Google::Apis::FirestoreV1::RequestOptions]
264
264
  attr_accessor :request_options
@@ -318,7 +318,7 @@ module Google
318
318
  # @return [Google::Apis::FirestoreV1::TransactionOptions]
319
319
  attr_accessor :options
320
320
 
321
- # Options for a server request.
321
+ # Options for a request.
322
322
  # Corresponds to the JSON property `requestOptions`
323
323
  # @return [Google::Apis::FirestoreV1::RequestOptions]
324
324
  attr_accessor :request_options
@@ -468,7 +468,7 @@ module Google
468
468
  class CommitRequest
469
469
  include Google::Apis::Core::Hashable
470
470
 
471
- # Options for a server request.
471
+ # Options for a request.
472
472
  # Corresponds to the JSON property `requestOptions`
473
473
  # @return [Google::Apis::FirestoreV1::RequestOptions]
474
474
  attr_accessor :request_options
@@ -875,7 +875,7 @@ module Google
875
875
  # @return [String]
876
876
  attr_accessor :read_time
877
877
 
878
- # Options for a server request.
878
+ # Options for a request.
879
879
  # Corresponds to the JSON property `requestOptions`
880
880
  # @return [Google::Apis::FirestoreV1::RequestOptions]
881
881
  attr_accessor :request_options
@@ -910,7 +910,7 @@ module Google
910
910
  end
911
911
  end
912
912
 
913
- # The response for Firestore.Execute.
913
+ # The response for Firestore.ExecutePipeline.
914
914
  class ExecutePipelineResponse
915
915
  include Google::Apis::Core::Hashable
916
916
 
@@ -1591,6 +1591,77 @@ module Google
1591
1591
  end
1592
1592
  end
1593
1593
 
1594
+ # A Change Stream is a resource that allows users to receive change
1595
+ # notifications from a Firestore database.
1596
+ class GoogleFirestoreAdminV1ChangeStream
1597
+ include Google::Apis::Core::Hashable
1598
+
1599
+ # The change stream is scoped to a collection group. Only events associated with
1600
+ # the given collection group are visible to the Change Stream. Only a single
1601
+ # change stream can be enabled per collection group.
1602
+ # Corresponds to the JSON property `collectionGroupScope`
1603
+ # @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1CollectionGroupScope]
1604
+ attr_accessor :collection_group_scope
1605
+
1606
+ # Output only. The time the Change Stream was created.
1607
+ # Corresponds to the JSON property `createTime`
1608
+ # @return [String]
1609
+ attr_accessor :create_time
1610
+
1611
+ # The change stream is scoped to the entire database. All events in the database
1612
+ # are visible to the Change Stream. One Database scope Change Stream is allowed
1613
+ # per database.
1614
+ # Corresponds to the JSON property `databaseScope`
1615
+ # @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1DatabaseScope]
1616
+ attr_accessor :database_scope
1617
+
1618
+ # Optional. An etag used to determine which version of the configuration is
1619
+ # being edited.
1620
+ # Corresponds to the JSON property `etag`
1621
+ # @return [String]
1622
+ attr_accessor :etag
1623
+
1624
+ # Identifier. The external resource name of the change stream. Format `projects/`
1625
+ # project`/databases/`database`/changeStreams/`change_stream``
1626
+ # Corresponds to the JSON property `name`
1627
+ # @return [String]
1628
+ attr_accessor :name
1629
+
1630
+ # Required. The retention period of the change stream. This is the amount of
1631
+ # time a change event is available on the change stream. Must be from 1 to 7
1632
+ # days, inclusive. The retention_period must be in day granularity, i.e. it must
1633
+ # be a multiple of 24 hours.
1634
+ # Corresponds to the JSON property `retentionPeriod`
1635
+ # @return [String]
1636
+ attr_accessor :retention_period
1637
+
1638
+ # Output only. The time the Change Stream started recording events.
1639
+ # Corresponds to the JSON property `startTime`
1640
+ # @return [String]
1641
+ attr_accessor :start_time
1642
+
1643
+ # Output only. The time the Change Stream was last updated.
1644
+ # Corresponds to the JSON property `updateTime`
1645
+ # @return [String]
1646
+ attr_accessor :update_time
1647
+
1648
+ def initialize(**args)
1649
+ update!(**args)
1650
+ end
1651
+
1652
+ # Update properties of this object
1653
+ def update!(**args)
1654
+ @collection_group_scope = args[:collection_group_scope] if args.key?(:collection_group_scope)
1655
+ @create_time = args[:create_time] if args.key?(:create_time)
1656
+ @database_scope = args[:database_scope] if args.key?(:database_scope)
1657
+ @etag = args[:etag] if args.key?(:etag)
1658
+ @name = args[:name] if args.key?(:name)
1659
+ @retention_period = args[:retention_period] if args.key?(:retention_period)
1660
+ @start_time = args[:start_time] if args.key?(:start_time)
1661
+ @update_time = args[:update_time] if args.key?(:update_time)
1662
+ end
1663
+ end
1664
+
1594
1665
  # Metadata for the long-running operation from the CloneDatabase request.
1595
1666
  class GoogleFirestoreAdminV1CloneDatabaseMetadata
1596
1667
  include Google::Apis::Core::Hashable
@@ -1731,6 +1802,27 @@ module Google
1731
1802
  end
1732
1803
  end
1733
1804
 
1805
+ # The change stream is scoped to a collection group. Only events associated with
1806
+ # the given collection group are visible to the Change Stream. Only a single
1807
+ # change stream can be enabled per collection group.
1808
+ class GoogleFirestoreAdminV1CollectionGroupScope
1809
+ include Google::Apis::Core::Hashable
1810
+
1811
+ # Required. The collection group name.
1812
+ # Corresponds to the JSON property `collectionGroupId`
1813
+ # @return [String]
1814
+ attr_accessor :collection_group_id
1815
+
1816
+ def initialize(**args)
1817
+ update!(**args)
1818
+ end
1819
+
1820
+ # Update properties of this object
1821
+ def update!(**args)
1822
+ @collection_group_id = args[:collection_group_id] if args.key?(:collection_group_id)
1823
+ end
1824
+ end
1825
+
1734
1826
  # Metadata related to the create database operation.
1735
1827
  class GoogleFirestoreAdminV1CreateDatabaseMetadata
1736
1828
  include Google::Apis::Core::Hashable
@@ -1851,7 +1943,7 @@ module Google
1851
1943
 
1852
1944
  # Optional. The Firestore API data access mode to use for this database. If not
1853
1945
  # set on write: - the default value is DATA_ACCESS_MODE_DISABLED for Enterprise
1854
- # Edition. - the default value is DATA_ACCESS_MODE_ENABLED for Standard Edition.
1946
+ # edition. - the default value is DATA_ACCESS_MODE_ENABLED for Standard edition.
1855
1947
  # Corresponds to the JSON property `firestoreDataAccessMode`
1856
1948
  # @return [String]
1857
1949
  attr_accessor :firestore_data_access_mode
@@ -1886,8 +1978,8 @@ module Google
1886
1978
 
1887
1979
  # Optional. The MongoDB compatible API data access mode to use for this database.
1888
1980
  # If not set on write, the default value is DATA_ACCESS_MODE_ENABLED for
1889
- # Enterprise Edition. The value is always DATA_ACCESS_MODE_DISABLED for Standard
1890
- # Edition.
1981
+ # Enterprise edition. The value is always DATA_ACCESS_MODE_DISABLED for Standard
1982
+ # edition.
1891
1983
  # Corresponds to the JSON property `mongodbCompatibleDataAccessMode`
1892
1984
  # @return [String]
1893
1985
  attr_accessor :mongodb_compatible_data_access_mode
@@ -1986,6 +2078,21 @@ module Google
1986
2078
  end
1987
2079
  end
1988
2080
 
2081
+ # The change stream is scoped to the entire database. All events in the database
2082
+ # are visible to the Change Stream. One Database scope Change Stream is allowed
2083
+ # per database.
2084
+ class GoogleFirestoreAdminV1DatabaseScope
2085
+ include Google::Apis::Core::Hashable
2086
+
2087
+ def initialize(**args)
2088
+ update!(**args)
2089
+ end
2090
+
2091
+ # Update properties of this object
2092
+ def update!(**args)
2093
+ end
2094
+ end
2095
+
1989
2096
  # Metadata related to the delete database operation.
1990
2097
  class GoogleFirestoreAdminV1DeleteDatabaseMetadata
1991
2098
  include Google::Apis::Core::Hashable
@@ -2457,7 +2564,11 @@ module Google
2457
2564
  end
2458
2565
 
2459
2566
  # Cloud Firestore indexes enable simple and complex queries against documents in
2460
- # a database.
2567
+ # a database. In Standard edition databases, single-field indexes are managed
2568
+ # using the google.firestore.admin.v1.Field resource, and composite indexes are
2569
+ # managed using the google.firestore.admin.v1.Index resource. In Enterprise
2570
+ # edition databases, both single-field and composite indexes are managed using
2571
+ # the google.firestore.admin.v1.Index resource.
2461
2572
  class GoogleFirestoreAdminV1Index
2462
2573
  include Google::Apis::Core::Hashable
2463
2574
 
@@ -2471,14 +2582,13 @@ module Google
2471
2582
  # @return [String]
2472
2583
  attr_accessor :density
2473
2584
 
2474
- # The fields supported by this index. For composite indexes, this requires a
2475
- # minimum of 2 and a maximum of 100 fields. The last field entry is always for
2476
- # the field path `__name__`. If, on creation, `__name__` was not specified as
2477
- # the last field, it will be added automatically with the same direction as that
2478
- # of the last field defined. If the final field in a composite index is not
2479
- # directional, the `__name__` will be ordered ASCENDING (unless explicitly
2480
- # specified). For single field indexes, this will always be exactly one entry
2481
- # with a field path equal to the field path of the associated field.
2585
+ # The fields supported by this index. At most 100 fields may be specified. In
2586
+ # Standard edition databases only: - At least 2 fields must be specified. - The
2587
+ # last field entry is always for the field path `__name__`. If, on creation, `
2588
+ # __name__` was not specified as the last field, it will be added automatically
2589
+ # with the same direction as that of the last field defined. If the final field
2590
+ # in the index is not directional, the `__name__` will be ordered ASCENDING (
2591
+ # unless explicitly specified).
2482
2592
  # Corresponds to the JSON property `fields`
2483
2593
  # @return [Array<Google::Apis::FirestoreV1::GoogleFirestoreAdminV1IndexField>]
2484
2594
  attr_accessor :fields
@@ -2494,10 +2604,11 @@ module Google
2494
2604
  attr_accessor :multikey
2495
2605
  alias_method :multikey?, :multikey
2496
2606
 
2497
- # Output only. A server defined name for this index. The form of this name for
2498
- # composite indexes will be: `projects/`project_id`/databases/`database_id`/
2499
- # collectionGroups/`collection_id`/indexes/`composite_index_id`` For single
2500
- # field indexes, this field will be empty.
2607
+ # A server-defined name for this index. Output only. When used in the google.
2608
+ # firestore.admin.v1.Index resource, the value is of the form: `projects/`
2609
+ # project_id`/databases/`database_id`/collectionGroups/`collection_id`/indexes/`
2610
+ # index_id`` When used in the google.firestore.admin.v1.Field resource, the
2611
+ # value is empty.
2501
2612
  # Corresponds to the JSON property `name`
2502
2613
  # @return [String]
2503
2614
  attr_accessor :name
@@ -2610,7 +2721,11 @@ module Google
2610
2721
  attr_accessor :change_type
2611
2722
 
2612
2723
  # Cloud Firestore indexes enable simple and complex queries against documents in
2613
- # a database.
2724
+ # a database. In Standard edition databases, single-field indexes are managed
2725
+ # using the google.firestore.admin.v1.Field resource, and composite indexes are
2726
+ # managed using the google.firestore.admin.v1.Index resource. In Enterprise
2727
+ # edition databases, both single-field and composite indexes are managed using
2728
+ # the google.firestore.admin.v1.Index resource.
2614
2729
  # Corresponds to the JSON property `index`
2615
2730
  # @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Index]
2616
2731
  attr_accessor :index
@@ -2775,6 +2890,25 @@ module Google
2775
2890
  end
2776
2891
  end
2777
2892
 
2893
+ # Response to FirestoreAdmin.ListChangeStreams.
2894
+ class GoogleFirestoreAdminV1ListChangeStreamsResponse
2895
+ include Google::Apis::Core::Hashable
2896
+
2897
+ # The list of change streams.
2898
+ # Corresponds to the JSON property `changeStreams`
2899
+ # @return [Array<Google::Apis::FirestoreV1::GoogleFirestoreAdminV1ChangeStream>]
2900
+ attr_accessor :change_streams
2901
+
2902
+ def initialize(**args)
2903
+ update!(**args)
2904
+ end
2905
+
2906
+ # Update properties of this object
2907
+ def update!(**args)
2908
+ @change_streams = args[:change_streams] if args.key?(:change_streams)
2909
+ end
2910
+ end
2911
+
2778
2912
  # The list of databases for a project.
2779
2913
  class GoogleFirestoreAdminV1ListDatabasesResponse
2780
2914
  include Google::Apis::Core::Hashable
@@ -3347,12 +3481,31 @@ module Google
3347
3481
  class GoogleFirestoreAdminV1UpdateDatabaseMetadata
3348
3482
  include Google::Apis::Core::Hashable
3349
3483
 
3484
+ # The time this operation completed. Will be unset if operation still in
3485
+ # progress.
3486
+ # Corresponds to the JSON property `endTime`
3487
+ # @return [String]
3488
+ attr_accessor :end_time
3489
+
3490
+ # The time this operation started.
3491
+ # Corresponds to the JSON property `startTime`
3492
+ # @return [String]
3493
+ attr_accessor :start_time
3494
+
3495
+ # The state of the operation.
3496
+ # Corresponds to the JSON property `state`
3497
+ # @return [String]
3498
+ attr_accessor :state
3499
+
3350
3500
  def initialize(**args)
3351
3501
  update!(**args)
3352
3502
  end
3353
3503
 
3354
3504
  # Update properties of this object
3355
3505
  def update!(**args)
3506
+ @end_time = args[:end_time] if args.key?(:end_time)
3507
+ @start_time = args[:start_time] if args.key?(:start_time)
3508
+ @state = args[:state] if args.key?(:state)
3356
3509
  end
3357
3510
  end
3358
3511
 
@@ -3614,7 +3767,7 @@ module Google
3614
3767
  # @return [String]
3615
3768
  attr_accessor :read_time
3616
3769
 
3617
- # Options for a server request.
3770
+ # Options for a request.
3618
3771
  # Corresponds to the JSON property `requestOptions`
3619
3772
  # @return [Google::Apis::FirestoreV1::RequestOptions]
3620
3773
  attr_accessor :request_options
@@ -3727,7 +3880,7 @@ module Google
3727
3880
  # @return [Fixnum]
3728
3881
  attr_accessor :remove_target
3729
3882
 
3730
- # Options for a server request.
3883
+ # Options for a request.
3731
3884
  # Corresponds to the JSON property `requestOptions`
3732
3885
  # @return [Google::Apis::FirestoreV1::RequestOptions]
3733
3886
  attr_accessor :request_options
@@ -3935,7 +4088,7 @@ module Google
3935
4088
  # @return [String]
3936
4089
  attr_accessor :read_time
3937
4090
 
3938
- # Options for a server request.
4091
+ # Options for a request.
3939
4092
  # Corresponds to the JSON property `requestOptions`
3940
4093
  # @return [Google::Apis::FirestoreV1::RequestOptions]
3941
4094
  attr_accessor :request_options
@@ -4168,11 +4321,31 @@ module Google
4168
4321
  end
4169
4322
  end
4170
4323
 
4171
- # Options for a server request.
4324
+ # Options for a request.
4172
4325
  class RequestOptions
4173
4326
  include Google::Apis::Core::Hashable
4174
4327
 
4175
- # Optional. The request tags for the request.
4328
+ # Optional. The request tags for the request. Request tags are user-provided
4329
+ # strings used for usage monitoring, cost management, and observability. Callers
4330
+ # can associate custom application context (such as component, microservice,
4331
+ # feature name, or operation type) with database requests. These tags are
4332
+ # collected and aggregated in usage and monitoring reports, allowing billable
4333
+ # operations and usage metrics to be sliced and analyzed by tag. These tags *
4334
+ # only* show up in monitoring and are visible in administrative operations (such
4335
+ # as usage reports). They do not affect data storage, query semantics, or
4336
+ # request execution. Cardinality and Best Practices: - Request tags are most
4337
+ # effective when using a bounded set of distinct values (e.g., fewer than 100
4338
+ # distinct tags across an entire database). Using a large number of distinct
4339
+ # tags may result in tags being omitted from top usage dashboards. - Use
4340
+ # structured identifiers (for example: `app=cart`, `env=prod`, `service=checkout`
4341
+ # ) and avoid high-cardinality values such as UUIDs, request IDs, timestamps,
4342
+ # user IDs, or document keys. - Do not include sensitive data or personally
4343
+ # identifiable information (PII) in request tags, as they show up in
4344
+ # administrative monitoring. The tags are processed as follows: - Leading and
4345
+ # trailing whitespace is trimmed. - Empty tags (after trimming) are filtered out.
4346
+ # - Truncated to a maximum of 510 characters. - Deduplicated within the same
4347
+ # request. - Limited to a maximum of 50 tags per request (excess tags are
4348
+ # silently discarded).
4176
4349
  # Corresponds to the JSON property `requestTags`
4177
4350
  # @return [Array<String>]
4178
4351
  attr_accessor :request_tags
@@ -4191,7 +4364,7 @@ module Google
4191
4364
  class RollbackRequest
4192
4365
  include Google::Apis::Core::Hashable
4193
4366
 
4194
- # Options for a server request.
4367
+ # Options for a request.
4195
4368
  # Corresponds to the JSON property `requestOptions`
4196
4369
  # @return [Google::Apis::FirestoreV1::RequestOptions]
4197
4370
  attr_accessor :request_options
@@ -4234,7 +4407,7 @@ module Google
4234
4407
  # @return [String]
4235
4408
  attr_accessor :read_time
4236
4409
 
4237
- # Options for a server request.
4410
+ # Options for a request.
4238
4411
  # Corresponds to the JSON property `requestOptions`
4239
4412
  # @return [Google::Apis::FirestoreV1::RequestOptions]
4240
4413
  attr_accessor :request_options
@@ -4332,7 +4505,7 @@ module Google
4332
4505
  # @return [String]
4333
4506
  attr_accessor :read_time
4334
4507
 
4335
- # Options for a server request.
4508
+ # Options for a request.
4336
4509
  # Corresponds to the JSON property `requestOptions`
4337
4510
  # @return [Google::Apis::FirestoreV1::RequestOptions]
4338
4511
  attr_accessor :request_options
@@ -4878,8 +5051,10 @@ module Google
4878
5051
  attr_accessor :boolean_value
4879
5052
  alias_method :boolean_value?, :boolean_value
4880
5053
 
4881
- # A bytes value. Must not exceed 1 MiB - 89 bytes. Only the first 1,500 bytes
4882
- # are considered by queries.
5054
+ # A bytes value. In Standard edition databases: * The value must not exceed 1
5055
+ # MiB - 89 bytes. * Only the first 1,500 bytes are considered by queries. In
5056
+ # Enterprise edition databases, there is no limit on the size of the value.
5057
+ # However, it is still subject to document and index entry size limits.
4883
5058
  # Corresponds to the JSON property `bytesValue`
4884
5059
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
4885
5060
  # @return [String]
@@ -4939,9 +5114,11 @@ module Google
4939
5114
  # @return [String]
4940
5115
  attr_accessor :reference_value
4941
5116
 
4942
- # A string value. The string, represented as UTF-8, must not exceed 1 MiB - 89
4943
- # bytes. Only the first 1,500 bytes of the UTF-8 representation are considered
4944
- # by queries.
5117
+ # A string value. In Standard edition databases: * The string, represented as
5118
+ # UTF-8, must not exceed 1 MiB - 89 bytes. * Only the first 1,500 bytes of the
5119
+ # UTF-8 representation are considered by queries. In Enterprise edition
5120
+ # databases, there is no limit on the size of the value. However, it is still
5121
+ # subject to document and index entry size limits.
4945
5122
  # Corresponds to the JSON property `stringValue`
4946
5123
  # @return [String]
4947
5124
  attr_accessor :string_value
@@ -5052,7 +5229,7 @@ module Google
5052
5229
  # @return [Hash<String,String>]
5053
5230
  attr_accessor :labels
5054
5231
 
5055
- # Options for a server request.
5232
+ # Options for a request.
5056
5233
  # Corresponds to the JSON property `requestOptions`
5057
5234
  # @return [Google::Apis::FirestoreV1::RequestOptions]
5058
5235
  attr_accessor :request_options
@@ -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.97.0"
19
+ GEM_VERSION = "0.99.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 = "20260702"
25
+ REVISION = "20260818"
26
26
  end
27
27
  end
28
28
  end
@@ -286,6 +286,12 @@ module Google
286
286
  include Google::Apis::Core::JsonObjectSupport
287
287
  end
288
288
 
289
+ class GoogleFirestoreAdminV1ChangeStream
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
289
295
  class GoogleFirestoreAdminV1CloneDatabaseMetadata
290
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
291
297
 
@@ -304,6 +310,12 @@ module Google
304
310
  include Google::Apis::Core::JsonObjectSupport
305
311
  end
306
312
 
313
+ class GoogleFirestoreAdminV1CollectionGroupScope
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
307
319
  class GoogleFirestoreAdminV1CreateDatabaseMetadata
308
320
  class Representation < Google::Apis::Core::JsonRepresentation; end
309
321
 
@@ -328,6 +340,12 @@ module Google
328
340
  include Google::Apis::Core::JsonObjectSupport
329
341
  end
330
342
 
343
+ class GoogleFirestoreAdminV1DatabaseScope
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
331
349
  class GoogleFirestoreAdminV1DeleteDatabaseMetadata
332
350
  class Representation < Google::Apis::Core::JsonRepresentation; end
333
351
 
@@ -448,6 +466,12 @@ module Google
448
466
  include Google::Apis::Core::JsonObjectSupport
449
467
  end
450
468
 
469
+ class GoogleFirestoreAdminV1ListChangeStreamsResponse
470
+ class Representation < Google::Apis::Core::JsonRepresentation; end
471
+
472
+ include Google::Apis::Core::JsonObjectSupport
473
+ end
474
+
451
475
  class GoogleFirestoreAdminV1ListDatabasesResponse
452
476
  class Representation < Google::Apis::Core::JsonRepresentation; end
453
477
 
@@ -1298,6 +1322,22 @@ module Google
1298
1322
  end
1299
1323
  end
1300
1324
 
1325
+ class GoogleFirestoreAdminV1ChangeStream
1326
+ # @private
1327
+ class Representation < Google::Apis::Core::JsonRepresentation
1328
+ property :collection_group_scope, as: 'collectionGroupScope', class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1CollectionGroupScope, decorator: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1CollectionGroupScope::Representation
1329
+
1330
+ property :create_time, as: 'createTime'
1331
+ property :database_scope, as: 'databaseScope', class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1DatabaseScope, decorator: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1DatabaseScope::Representation
1332
+
1333
+ property :etag, as: 'etag'
1334
+ property :name, as: 'name'
1335
+ property :retention_period, as: 'retentionPeriod'
1336
+ property :start_time, as: 'startTime'
1337
+ property :update_time, as: 'updateTime'
1338
+ end
1339
+ end
1340
+
1301
1341
  class GoogleFirestoreAdminV1CloneDatabaseMetadata
1302
1342
  # @private
1303
1343
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1332,6 +1372,13 @@ module Google
1332
1372
  end
1333
1373
  end
1334
1374
 
1375
+ class GoogleFirestoreAdminV1CollectionGroupScope
1376
+ # @private
1377
+ class Representation < Google::Apis::Core::JsonRepresentation
1378
+ property :collection_group_id, as: 'collectionGroupId'
1379
+ end
1380
+ end
1381
+
1335
1382
  class GoogleFirestoreAdminV1CreateDatabaseMetadata
1336
1383
  # @private
1337
1384
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1383,6 +1430,12 @@ module Google
1383
1430
  end
1384
1431
  end
1385
1432
 
1433
+ class GoogleFirestoreAdminV1DatabaseScope
1434
+ # @private
1435
+ class Representation < Google::Apis::Core::JsonRepresentation
1436
+ end
1437
+ end
1438
+
1386
1439
  class GoogleFirestoreAdminV1DeleteDatabaseMetadata
1387
1440
  # @private
1388
1441
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1595,6 +1648,14 @@ module Google
1595
1648
  end
1596
1649
  end
1597
1650
 
1651
+ class GoogleFirestoreAdminV1ListChangeStreamsResponse
1652
+ # @private
1653
+ class Representation < Google::Apis::Core::JsonRepresentation
1654
+ collection :change_streams, as: 'changeStreams', class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1ChangeStream, decorator: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1ChangeStream::Representation
1655
+
1656
+ end
1657
+ end
1658
+
1598
1659
  class GoogleFirestoreAdminV1ListDatabasesResponse
1599
1660
  # @private
1600
1661
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1774,6 +1835,9 @@ module Google
1774
1835
  class GoogleFirestoreAdminV1UpdateDatabaseMetadata
1775
1836
  # @private
1776
1837
  class Representation < Google::Apis::Core::JsonRepresentation
1838
+ property :end_time, as: 'endTime'
1839
+ property :start_time, as: 'startTime'
1840
+ property :state, as: 'state'
1777
1841
  end
1778
1842
  end
1779
1843
 
@@ -597,6 +597,144 @@ module Google
597
597
  execute_or_queue_command(command, &block)
598
598
  end
599
599
 
600
+ # Creates a new change stream for the database.
601
+ # @param [String] parent
602
+ # Required. The parent database to create the change stream for. Format is `
603
+ # projects/`project`/databases/`database``.
604
+ # @param [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1ChangeStream] google_firestore_admin_v1_change_stream_object
605
+ # @param [String] change_stream_id
606
+ # Required. The ID to use for the change stream, which will become the final
607
+ # component of the change stream's resource name. This value should be 4-63
608
+ # characters. Valid characters are lowercase letters, numbers, and hyphens. The
609
+ # first character must be a letter, and the last character must be a letter or a
610
+ # number.
611
+ # @param [String] fields
612
+ # Selector specifying which fields to include in a partial response.
613
+ # @param [String] quota_user
614
+ # Available to use for quota purposes for server-side applications. Can be any
615
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
616
+ # @param [Google::Apis::RequestOptions] options
617
+ # Request-specific options
618
+ #
619
+ # @yield [result, err] Result & error if block supplied
620
+ # @yieldparam result [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1ChangeStream] parsed result object
621
+ # @yieldparam err [StandardError] error object if request failed
622
+ #
623
+ # @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1ChangeStream]
624
+ #
625
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
626
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
627
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
628
+ def create_project_database_change_stream(parent, google_firestore_admin_v1_change_stream_object = nil, change_stream_id: nil, fields: nil, quota_user: nil, options: nil, &block)
629
+ command = make_simple_command(:post, 'v1/{+parent}/changeStreams', options)
630
+ command.request_representation = Google::Apis::FirestoreV1::GoogleFirestoreAdminV1ChangeStream::Representation
631
+ command.request_object = google_firestore_admin_v1_change_stream_object
632
+ command.response_representation = Google::Apis::FirestoreV1::GoogleFirestoreAdminV1ChangeStream::Representation
633
+ command.response_class = Google::Apis::FirestoreV1::GoogleFirestoreAdminV1ChangeStream
634
+ command.params['parent'] = parent unless parent.nil?
635
+ command.query['changeStreamId'] = change_stream_id unless change_stream_id.nil?
636
+ command.query['fields'] = fields unless fields.nil?
637
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
638
+ execute_or_queue_command(command, &block)
639
+ end
640
+
641
+ # Deletes a change stream.
642
+ # @param [String] name
643
+ # Required. The name of the change stream to delete. Format is `projects/`
644
+ # project`/databases/`database`/changeStreams/`change_stream``.
645
+ # @param [String] etag
646
+ # Optional. The etag of the change stream to delete. If this is not the current
647
+ # etag of the change stream, the deletion will fail.
648
+ # @param [String] fields
649
+ # Selector specifying which fields to include in a partial response.
650
+ # @param [String] quota_user
651
+ # Available to use for quota purposes for server-side applications. Can be any
652
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
653
+ # @param [Google::Apis::RequestOptions] options
654
+ # Request-specific options
655
+ #
656
+ # @yield [result, err] Result & error if block supplied
657
+ # @yieldparam result [Google::Apis::FirestoreV1::Empty] parsed result object
658
+ # @yieldparam err [StandardError] error object if request failed
659
+ #
660
+ # @return [Google::Apis::FirestoreV1::Empty]
661
+ #
662
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
663
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
664
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
665
+ def delete_project_database_change_stream(name, etag: nil, fields: nil, quota_user: nil, options: nil, &block)
666
+ command = make_simple_command(:delete, 'v1/{+name}', options)
667
+ command.response_representation = Google::Apis::FirestoreV1::Empty::Representation
668
+ command.response_class = Google::Apis::FirestoreV1::Empty
669
+ command.params['name'] = name unless name.nil?
670
+ command.query['etag'] = etag unless etag.nil?
671
+ command.query['fields'] = fields unless fields.nil?
672
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
673
+ execute_or_queue_command(command, &block)
674
+ end
675
+
676
+ # Gets information about a change stream.
677
+ # @param [String] name
678
+ # Required. The name of the change stream to retrieve. Format is `projects/`
679
+ # project`/databases/`database`/changeStreams/`change_stream``.
680
+ # @param [String] fields
681
+ # Selector specifying which fields to include in a partial response.
682
+ # @param [String] quota_user
683
+ # Available to use for quota purposes for server-side applications. Can be any
684
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
685
+ # @param [Google::Apis::RequestOptions] options
686
+ # Request-specific options
687
+ #
688
+ # @yield [result, err] Result & error if block supplied
689
+ # @yieldparam result [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1ChangeStream] parsed result object
690
+ # @yieldparam err [StandardError] error object if request failed
691
+ #
692
+ # @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1ChangeStream]
693
+ #
694
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
695
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
696
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
697
+ def get_project_database_change_stream(name, fields: nil, quota_user: nil, options: nil, &block)
698
+ command = make_simple_command(:get, 'v1/{+name}', options)
699
+ command.response_representation = Google::Apis::FirestoreV1::GoogleFirestoreAdminV1ChangeStream::Representation
700
+ command.response_class = Google::Apis::FirestoreV1::GoogleFirestoreAdminV1ChangeStream
701
+ command.params['name'] = name unless name.nil?
702
+ command.query['fields'] = fields unless fields.nil?
703
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
704
+ execute_or_queue_command(command, &block)
705
+ end
706
+
707
+ # Lists all change streams in a database.
708
+ # @param [String] parent
709
+ # Required. The parent database to list change streams from. Format is `projects/
710
+ # `project`/databases/`database``.
711
+ # @param [String] fields
712
+ # Selector specifying which fields to include in a partial response.
713
+ # @param [String] quota_user
714
+ # Available to use for quota purposes for server-side applications. Can be any
715
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
716
+ # @param [Google::Apis::RequestOptions] options
717
+ # Request-specific options
718
+ #
719
+ # @yield [result, err] Result & error if block supplied
720
+ # @yieldparam result [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1ListChangeStreamsResponse] parsed result object
721
+ # @yieldparam err [StandardError] error object if request failed
722
+ #
723
+ # @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1ListChangeStreamsResponse]
724
+ #
725
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
726
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
727
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
728
+ def list_project_database_change_streams(parent, fields: nil, quota_user: nil, options: nil, &block)
729
+ command = make_simple_command(:get, 'v1/{+parent}/changeStreams', options)
730
+ command.response_representation = Google::Apis::FirestoreV1::GoogleFirestoreAdminV1ListChangeStreamsResponse::Representation
731
+ command.response_class = Google::Apis::FirestoreV1::GoogleFirestoreAdminV1ListChangeStreamsResponse
732
+ command.params['parent'] = parent unless parent.nil?
733
+ command.query['fields'] = fields unless fields.nil?
734
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
735
+ execute_or_queue_command(command, &block)
736
+ end
737
+
600
738
  # Gets the metadata and configuration for a Field.
601
739
  # @param [String] name
602
740
  # Required. A name of the form `projects/`project_id`/databases/`database_id`/
@@ -1030,7 +1168,27 @@ module Google
1030
1168
  # The list of field paths in the mask. See Document.fields for a field path
1031
1169
  # syntax reference.
1032
1170
  # @param [Array<String>, String] request_options_request_tags
1033
- # Optional. The request tags for the request.
1171
+ # Optional. The request tags for the request. Request tags are user-provided
1172
+ # strings used for usage monitoring, cost management, and observability. Callers
1173
+ # can associate custom application context (such as component, microservice,
1174
+ # feature name, or operation type) with database requests. These tags are
1175
+ # collected and aggregated in usage and monitoring reports, allowing billable
1176
+ # operations and usage metrics to be sliced and analyzed by tag. These tags *
1177
+ # only* show up in monitoring and are visible in administrative operations (such
1178
+ # as usage reports). They do not affect data storage, query semantics, or
1179
+ # request execution. Cardinality and Best Practices: - Request tags are most
1180
+ # effective when using a bounded set of distinct values (e.g., fewer than 100
1181
+ # distinct tags across an entire database). Using a large number of distinct
1182
+ # tags may result in tags being omitted from top usage dashboards. - Use
1183
+ # structured identifiers (for example: `app=cart`, `env=prod`, `service=checkout`
1184
+ # ) and avoid high-cardinality values such as UUIDs, request IDs, timestamps,
1185
+ # user IDs, or document keys. - Do not include sensitive data or personally
1186
+ # identifiable information (PII) in request tags, as they show up in
1187
+ # administrative monitoring. The tags are processed as follows: - Leading and
1188
+ # trailing whitespace is trimmed. - Empty tags (after trimming) are filtered out.
1189
+ # - Truncated to a maximum of 510 characters. - Deduplicated within the same
1190
+ # request. - Limited to a maximum of 50 tags per request (excess tags are
1191
+ # silently discarded).
1034
1192
  # @param [String] fields
1035
1193
  # Selector specifying which fields to include in a partial response.
1036
1194
  # @param [String] quota_user
@@ -1075,7 +1233,27 @@ module Google
1075
1233
  # When set, the target document must exist and have been last updated at that
1076
1234
  # time. Timestamp must be microsecond aligned.
1077
1235
  # @param [Array<String>, String] request_options_request_tags
1078
- # Optional. The request tags for the request.
1236
+ # Optional. The request tags for the request. Request tags are user-provided
1237
+ # strings used for usage monitoring, cost management, and observability. Callers
1238
+ # can associate custom application context (such as component, microservice,
1239
+ # feature name, or operation type) with database requests. These tags are
1240
+ # collected and aggregated in usage and monitoring reports, allowing billable
1241
+ # operations and usage metrics to be sliced and analyzed by tag. These tags *
1242
+ # only* show up in monitoring and are visible in administrative operations (such
1243
+ # as usage reports). They do not affect data storage, query semantics, or
1244
+ # request execution. Cardinality and Best Practices: - Request tags are most
1245
+ # effective when using a bounded set of distinct values (e.g., fewer than 100
1246
+ # distinct tags across an entire database). Using a large number of distinct
1247
+ # tags may result in tags being omitted from top usage dashboards. - Use
1248
+ # structured identifiers (for example: `app=cart`, `env=prod`, `service=checkout`
1249
+ # ) and avoid high-cardinality values such as UUIDs, request IDs, timestamps,
1250
+ # user IDs, or document keys. - Do not include sensitive data or personally
1251
+ # identifiable information (PII) in request tags, as they show up in
1252
+ # administrative monitoring. The tags are processed as follows: - Leading and
1253
+ # trailing whitespace is trimmed. - Empty tags (after trimming) are filtered out.
1254
+ # - Truncated to a maximum of 510 characters. - Deduplicated within the same
1255
+ # request. - Limited to a maximum of 50 tags per request (excess tags are
1256
+ # silently discarded).
1079
1257
  # @param [String] fields
1080
1258
  # Selector specifying which fields to include in a partial response.
1081
1259
  # @param [String] quota_user
@@ -1153,7 +1331,27 @@ module Google
1153
1331
  # Recovery is enabled, can additionally be a whole minute timestamp within the
1154
1332
  # past 7 days.
1155
1333
  # @param [Array<String>, String] request_options_request_tags
1156
- # Optional. The request tags for the request.
1334
+ # Optional. The request tags for the request. Request tags are user-provided
1335
+ # strings used for usage monitoring, cost management, and observability. Callers
1336
+ # can associate custom application context (such as component, microservice,
1337
+ # feature name, or operation type) with database requests. These tags are
1338
+ # collected and aggregated in usage and monitoring reports, allowing billable
1339
+ # operations and usage metrics to be sliced and analyzed by tag. These tags *
1340
+ # only* show up in monitoring and are visible in administrative operations (such
1341
+ # as usage reports). They do not affect data storage, query semantics, or
1342
+ # request execution. Cardinality and Best Practices: - Request tags are most
1343
+ # effective when using a bounded set of distinct values (e.g., fewer than 100
1344
+ # distinct tags across an entire database). Using a large number of distinct
1345
+ # tags may result in tags being omitted from top usage dashboards. - Use
1346
+ # structured identifiers (for example: `app=cart`, `env=prod`, `service=checkout`
1347
+ # ) and avoid high-cardinality values such as UUIDs, request IDs, timestamps,
1348
+ # user IDs, or document keys. - Do not include sensitive data or personally
1349
+ # identifiable information (PII) in request tags, as they show up in
1350
+ # administrative monitoring. The tags are processed as follows: - Leading and
1351
+ # trailing whitespace is trimmed. - Empty tags (after trimming) are filtered out.
1352
+ # - Truncated to a maximum of 510 characters. - Deduplicated within the same
1353
+ # request. - Limited to a maximum of 50 tags per request (excess tags are
1354
+ # silently discarded).
1157
1355
  # @param [String] transaction
1158
1356
  # Reads the document in a transaction.
1159
1357
  # @param [String] fields
@@ -1226,7 +1424,27 @@ module Google
1226
1424
  # nested immediately under the parent. Requests with `recursive` may not specify
1227
1425
  # `show_missing`.
1228
1426
  # @param [Array<String>, String] request_options_request_tags
1229
- # Optional. The request tags for the request.
1427
+ # Optional. The request tags for the request. Request tags are user-provided
1428
+ # strings used for usage monitoring, cost management, and observability. Callers
1429
+ # can associate custom application context (such as component, microservice,
1430
+ # feature name, or operation type) with database requests. These tags are
1431
+ # collected and aggregated in usage and monitoring reports, allowing billable
1432
+ # operations and usage metrics to be sliced and analyzed by tag. These tags *
1433
+ # only* show up in monitoring and are visible in administrative operations (such
1434
+ # as usage reports). They do not affect data storage, query semantics, or
1435
+ # request execution. Cardinality and Best Practices: - Request tags are most
1436
+ # effective when using a bounded set of distinct values (e.g., fewer than 100
1437
+ # distinct tags across an entire database). Using a large number of distinct
1438
+ # tags may result in tags being omitted from top usage dashboards. - Use
1439
+ # structured identifiers (for example: `app=cart`, `env=prod`, `service=checkout`
1440
+ # ) and avoid high-cardinality values such as UUIDs, request IDs, timestamps,
1441
+ # user IDs, or document keys. - Do not include sensitive data or personally
1442
+ # identifiable information (PII) in request tags, as they show up in
1443
+ # administrative monitoring. The tags are processed as follows: - Leading and
1444
+ # trailing whitespace is trimmed. - Empty tags (after trimming) are filtered out.
1445
+ # - Truncated to a maximum of 510 characters. - Deduplicated within the same
1446
+ # request. - Limited to a maximum of 50 tags per request (excess tags are
1447
+ # silently discarded).
1230
1448
  # @param [Boolean] show_missing
1231
1449
  # If the list should show missing documents. A document is missing if it does
1232
1450
  # not exist, but there are sub-documents nested underneath it. When true, such
@@ -1347,7 +1565,27 @@ module Google
1347
1565
  # nested immediately under the parent. Requests with `recursive` may not specify
1348
1566
  # `show_missing`.
1349
1567
  # @param [Array<String>, String] request_options_request_tags
1350
- # Optional. The request tags for the request.
1568
+ # Optional. The request tags for the request. Request tags are user-provided
1569
+ # strings used for usage monitoring, cost management, and observability. Callers
1570
+ # can associate custom application context (such as component, microservice,
1571
+ # feature name, or operation type) with database requests. These tags are
1572
+ # collected and aggregated in usage and monitoring reports, allowing billable
1573
+ # operations and usage metrics to be sliced and analyzed by tag. These tags *
1574
+ # only* show up in monitoring and are visible in administrative operations (such
1575
+ # as usage reports). They do not affect data storage, query semantics, or
1576
+ # request execution. Cardinality and Best Practices: - Request tags are most
1577
+ # effective when using a bounded set of distinct values (e.g., fewer than 100
1578
+ # distinct tags across an entire database). Using a large number of distinct
1579
+ # tags may result in tags being omitted from top usage dashboards. - Use
1580
+ # structured identifiers (for example: `app=cart`, `env=prod`, `service=checkout`
1581
+ # ) and avoid high-cardinality values such as UUIDs, request IDs, timestamps,
1582
+ # user IDs, or document keys. - Do not include sensitive data or personally
1583
+ # identifiable information (PII) in request tags, as they show up in
1584
+ # administrative monitoring. The tags are processed as follows: - Leading and
1585
+ # trailing whitespace is trimmed. - Empty tags (after trimming) are filtered out.
1586
+ # - Truncated to a maximum of 510 characters. - Deduplicated within the same
1587
+ # request. - Limited to a maximum of 50 tags per request (excess tags are
1588
+ # silently discarded).
1351
1589
  # @param [Boolean] show_missing
1352
1590
  # If the list should show missing documents. A document is missing if it does
1353
1591
  # not exist, but there are sub-documents nested underneath it. When true, such
@@ -1480,7 +1718,27 @@ module Google
1480
1718
  # The list of field paths in the mask. See Document.fields for a field path
1481
1719
  # syntax reference.
1482
1720
  # @param [Array<String>, String] request_options_request_tags
1483
- # Optional. The request tags for the request.
1721
+ # Optional. The request tags for the request. Request tags are user-provided
1722
+ # strings used for usage monitoring, cost management, and observability. Callers
1723
+ # can associate custom application context (such as component, microservice,
1724
+ # feature name, or operation type) with database requests. These tags are
1725
+ # collected and aggregated in usage and monitoring reports, allowing billable
1726
+ # operations and usage metrics to be sliced and analyzed by tag. These tags *
1727
+ # only* show up in monitoring and are visible in administrative operations (such
1728
+ # as usage reports). They do not affect data storage, query semantics, or
1729
+ # request execution. Cardinality and Best Practices: - Request tags are most
1730
+ # effective when using a bounded set of distinct values (e.g., fewer than 100
1731
+ # distinct tags across an entire database). Using a large number of distinct
1732
+ # tags may result in tags being omitted from top usage dashboards. - Use
1733
+ # structured identifiers (for example: `app=cart`, `env=prod`, `service=checkout`
1734
+ # ) and avoid high-cardinality values such as UUIDs, request IDs, timestamps,
1735
+ # user IDs, or document keys. - Do not include sensitive data or personally
1736
+ # identifiable information (PII) in request tags, as they show up in
1737
+ # administrative monitoring. The tags are processed as follows: - Leading and
1738
+ # trailing whitespace is trimmed. - Empty tags (after trimming) are filtered out.
1739
+ # - Truncated to a maximum of 510 characters. - Deduplicated within the same
1740
+ # request. - Limited to a maximum of 50 tags per request (excess tags are
1741
+ # silently discarded).
1484
1742
  # @param [Array<String>, String] update_mask_field_paths
1485
1743
  # The list of field paths in the mask. See Document.fields for a field path
1486
1744
  # syntax reference.
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.97.0
4
+ version: 0.99.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.97.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-firestore_v1/v0.99.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: