google-apis-firestore_v1 0.92.0 → 0.93.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: 9d6eed7354e0dc1a037993c8093fbbdaa48202c6f20801a8211569e97751c1d8
4
+ data.tar.gz: 4de78435271f435533cf85f2dab57d40d3853e801d068eed0b13a3a2e4d2ac9a
5
5
  SHA512:
6
- metadata.gz: 1def5d0f60ce94ccba5b592b0b40dc70080a71e8d32ccb12659c21ade94457fd65fa48e1585fa199ad4eef80ceb4263f7971aa4638a1128ab6e47dd8bcde604f
7
- data.tar.gz: 725d9a1451a9b42a6e7cc02f26c19040e6e61cf0a456752fb228490b53ba13b5db93f73697232ec0d50317592ca0eb266543bc9ffc4e7ad0889499bd59e6e89b
6
+ metadata.gz: c08041491bf8c5ea6502e38eeab659a44eca6a62e7db9c1ffa306781cbc71dd64d1c58cf1ec3c9eae5f66018959dd61355fcf2f1ee6d5b3531aa633038d000c6
7
+ data.tar.gz: 359c032e4e70a7962d97576035c4016921c1fb5319951133c95f9178204d422c97a2d5fea57b5f216a13fa77e91fd6216b262c72b7a8d0fbbff4a493735f1c05
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-firestore_v1
2
2
 
3
+ ### v0.93.0 (2026-05-10)
4
+
5
+ * Regenerated from discovery document revision 20260427
6
+
3
7
  ### v0.92.0 (2026-04-19)
4
8
 
5
9
  * 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
@@ -4077,11 +4082,18 @@ module Google
4077
4082
  end
4078
4083
 
4079
4084
  # 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
4085
  class ReadWrite
4083
4086
  include Google::Apis::Core::Hashable
4084
4087
 
4088
+ # Optional. The concurrency control mode to use for this transaction. A database
4089
+ # is able to use different concurrency modes for different transactions
4090
+ # simultaneously. 3rd party auth requests are only allowed to create optimistic
4091
+ # read-write transactions and must specify that here even if the database-level
4092
+ # setting is already configured to optimistic.
4093
+ # Corresponds to the JSON property `concurrencyMode`
4094
+ # @return [String]
4095
+ attr_accessor :concurrency_mode
4096
+
4085
4097
  # An optional transaction to retry.
4086
4098
  # Corresponds to the JSON property `retryTransaction`
4087
4099
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
@@ -4094,6 +4106,7 @@ module Google
4094
4106
 
4095
4107
  # Update properties of this object
4096
4108
  def update!(**args)
4109
+ @concurrency_mode = args[:concurrency_mode] if args.key?(:concurrency_mode)
4097
4110
  @retry_transaction = args[:retry_transaction] if args.key?(:retry_transaction)
4098
4111
  end
4099
4112
  end
@@ -4716,8 +4729,6 @@ module Google
4716
4729
  attr_accessor :read_only
4717
4730
 
4718
4731
  # 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
4732
  # Corresponds to the JSON property `readWrite`
4722
4733
  # @return [Google::Apis::FirestoreV1::ReadWrite]
4723
4734
  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.93.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 = "20260427"
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.93.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.93.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: