google-apis-firestore_v1 0.92.0 → 0.94.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: e36f990c486cd2a63bfbd67eb0ed1b0f6e42b8d3ae12ba7f2930b13c49039652
4
- data.tar.gz: 93ccdf495f46a96a196829c29f810067e3b12bad276b64b866fa88026d010f6f
3
+ metadata.gz: e6d13d0aa1bc10cfd709da246fe8499cd94052f4a0f6e283062f1df4a0cffeaa
4
+ data.tar.gz: 5deeb4e4d21e3a1154fd5c670af13fd99056f9bf772c96128f20f46d55bfa945
5
5
  SHA512:
6
- metadata.gz: 1def5d0f60ce94ccba5b592b0b40dc70080a71e8d32ccb12659c21ade94457fd65fa48e1585fa199ad4eef80ceb4263f7971aa4638a1128ab6e47dd8bcde604f
7
- data.tar.gz: 725d9a1451a9b42a6e7cc02f26c19040e6e61cf0a456752fb228490b53ba13b5db93f73697232ec0d50317592ca0eb266543bc9ffc4e7ad0889499bd59e6e89b
6
+ metadata.gz: 618a73fcf1cea72a72a38e09628747dfd638afc9da0248bd2351b05b79ed4f7528efcc38a754eb1ad672b27ca9eb05716b2c3d91ad2c9c9c6ae4334da798f1d5
7
+ data.tar.gz: d71e17906011e14b4795b87b70d21e43d8c267bdf9d98cc8e49da08280fdd98721c9024e23fdbc9f097d4a0498c364b6b16bfef2459c50d533b9a4b6ff60450f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-firestore_v1
2
2
 
3
+ ### v0.94.0 (2026-05-17)
4
+
5
+ * Regenerated from discovery document revision 20260507
6
+
7
+ ### v0.93.0 (2026-05-10)
8
+
9
+ * Regenerated from discovery document revision 20260427
10
+
3
11
  ### v0.92.0 (2026-04-19)
4
12
 
5
13
  * Regenerated from discovery document revision 20260405
@@ -1759,9 +1759,14 @@ module Google
1759
1759
  # @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1CmekConfig]
1760
1760
  attr_accessor :cmek_config
1761
1761
 
1762
- # The concurrency control mode to use for this database. If unspecified in a
1763
- # CreateDatabase request, this will default based on the database edition:
1764
- # Optimistic for Enterprise and Pessimistic for all other databases.
1762
+ # The default concurrency control mode to use for this database. If unspecified
1763
+ # in a CreateDatabase request, this will default based on the database edition:
1764
+ # Optimistic for Enterprise and Pessimistic for all other databases. While
1765
+ # transactions can explicitly specify their own concurrency mode, this setting
1766
+ # defines the default behavior when left unspecified. Important: This database-
1767
+ # level setting is not respected for Firestore with MongoDB compatibility. All
1768
+ # transactions through the MongoDB compatibility layer will use optimistic
1769
+ # concurrency control, regardless of this setting.
1765
1770
  # Corresponds to the JSON property `concurrencyMode`
1766
1771
  # @return [String]
1767
1772
  attr_accessor :concurrency_mode
@@ -3071,7 +3076,7 @@ module Google
3071
3076
  include Google::Apis::Core::Hashable
3072
3077
 
3073
3078
  # Optional. Disables geoJSON indexing for the field. By default, geoJSON points
3074
- # are indexed.
3079
+ # are indexed. Firestore GeoPoints are indexed regardless of this value.
3075
3080
  # Corresponds to the JSON property `geoJsonIndexingDisabled`
3076
3081
  # @return [Boolean]
3077
3082
  attr_accessor :geo_json_indexing_disabled
@@ -3102,9 +3107,8 @@ module Google
3102
3107
  attr_accessor :text_language
3103
3108
 
3104
3109
  # Optional. The field in the document that specifies which language to use for
3105
- # that specific document. For indexes with MONGODB_COMPATIBLE_API ApiScope: if
3106
- # unspecified, the language is taken from the "language" field if it exists or
3107
- # from `text_language` if it does not.
3110
+ # that specific document. If unspecified, the language is taken from the "
3111
+ # language" field if it exists or from `text_language` if it does not.
3108
3112
  # Corresponds to the JSON property `textLanguageOverrideFieldPath`
3109
3113
  # @return [String]
3110
3114
  attr_accessor :text_language_override_field_path
@@ -4077,11 +4081,18 @@ module Google
4077
4081
  end
4078
4082
 
4079
4083
  # Options for a transaction that can be used to read and write documents.
4080
- # Firestore does not allow 3rd party auth requests to create read-write.
4081
- # transactions.
4082
4084
  class ReadWrite
4083
4085
  include Google::Apis::Core::Hashable
4084
4086
 
4087
+ # Optional. The concurrency control mode to use for this transaction. A database
4088
+ # is able to use different concurrency modes for different transactions
4089
+ # simultaneously. 3rd party auth requests are only allowed to create optimistic
4090
+ # read-write transactions and must specify that here even if the database-level
4091
+ # setting is already configured to optimistic.
4092
+ # Corresponds to the JSON property `concurrencyMode`
4093
+ # @return [String]
4094
+ attr_accessor :concurrency_mode
4095
+
4085
4096
  # An optional transaction to retry.
4086
4097
  # Corresponds to the JSON property `retryTransaction`
4087
4098
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
@@ -4094,6 +4105,7 @@ module Google
4094
4105
 
4095
4106
  # Update properties of this object
4096
4107
  def update!(**args)
4108
+ @concurrency_mode = args[:concurrency_mode] if args.key?(:concurrency_mode)
4097
4109
  @retry_transaction = args[:retry_transaction] if args.key?(:retry_transaction)
4098
4110
  end
4099
4111
  end
@@ -4716,8 +4728,6 @@ module Google
4716
4728
  attr_accessor :read_only
4717
4729
 
4718
4730
  # Options for a transaction that can be used to read and write documents.
4719
- # Firestore does not allow 3rd party auth requests to create read-write.
4720
- # transactions.
4721
4731
  # Corresponds to the JSON property `readWrite`
4722
4732
  # @return [Google::Apis::FirestoreV1::ReadWrite]
4723
4733
  attr_accessor :read_write
@@ -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.92.0"
19
+ GEM_VERSION = "0.94.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260405"
25
+ REVISION = "20260507"
26
26
  end
27
27
  end
28
28
  end
@@ -1985,6 +1985,7 @@ module Google
1985
1985
  class ReadWrite
1986
1986
  # @private
1987
1987
  class Representation < Google::Apis::Core::JsonRepresentation
1988
+ property :concurrency_mode, as: 'concurrencyMode'
1988
1989
  property :retry_transaction, :base64 => true, as: 'retryTransaction'
1989
1990
  end
1990
1991
  end
@@ -1256,7 +1256,8 @@ module Google
1256
1256
  # @param [String] parent
1257
1257
  # Required. The parent document. In the format: `projects/`project_id`/databases/
1258
1258
  # `database_id`/documents/`document_path``. For example: `projects/my-project/
1259
- # databases/my-database/documents/chatrooms/my-chatroom`
1259
+ # databases/my-database/documents/chatrooms/my-chatroom` Use `projects/`
1260
+ # project_id`/databases/`database_id`/documents` to list top-level collections.
1260
1261
  # @param [Google::Apis::FirestoreV1::ListCollectionIdsRequest] list_collection_ids_request_object
1261
1262
  # @param [String] fields
1262
1263
  # Selector specifying which fields to include in a partial response.
@@ -2052,8 +2053,8 @@ module Google
2052
2053
  end
2053
2054
 
2054
2055
  # Lists information about the supported locations for this service. This method
2055
- # lists locations based on the resource scope provided in the [
2056
- # ListLocationsRequest.name] field: * **Global locations**: If `name` is empty,
2056
+ # lists locations based on the resource scope provided in the
2057
+ # ListLocationsRequest.name field: * **Global locations**: If `name` is empty,
2057
2058
  # the method lists the public locations available to all projects. * **Project-
2058
2059
  # specific locations**: If `name` follows the format `projects/`project``, the
2059
2060
  # method lists locations visible to that specific project. This includes public,
@@ -2064,8 +2065,8 @@ module Google
2064
2065
  # @param [String] name
2065
2066
  # The resource that owns the locations collection, if applicable.
2066
2067
  # @param [Array<String>, String] extra_location_types
2067
- # Optional. Do not use this field. It is unsupported and is ignored unless
2068
- # explicitly documented otherwise. This is primarily for internal usage.
2068
+ # Optional. Do not use this field unless explicitly documented otherwise. This
2069
+ # is primarily for internal usage.
2069
2070
  # @param [String] filter
2070
2071
  # A filter to narrow down results to a preferred subset. The filtering language
2071
2072
  # accepts strings like `"displayName=tokyo"`, and is documented in more detail
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.92.0
4
+ version: 0.94.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.92.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-firestore_v1/v0.94.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: