Skip to content

Commit 4ae32c4

Browse files
feat: Automated regeneration of firestore v1beta1 client (googleapis#26434)
Auto-created at 2026-05-10 10:48:46 +0000 using the toys pull request generator.
1 parent 3b910d2 commit 4ae32c4

6 files changed

Lines changed: 20 additions & 7 deletions

File tree

api_names_out.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278187,6 +278187,7 @@
278187278187
"/firestore:v1beta1/ReadOnly": read_only
278188278188
"/firestore:v1beta1/ReadOnly/readTime": read_time
278189278189
"/firestore:v1beta1/ReadWrite": read_write
278190+
"/firestore:v1beta1/ReadWrite/concurrencyMode": concurrency_mode
278190278191
"/firestore:v1beta1/ReadWrite/retryTransaction": retry_transaction
278191278192
"/firestore:v1beta1/ResultSetStats": result_set_stats
278192278193
"/firestore:v1beta1/ResultSetStats/queryPlan": query_plan

generated/google-apis-firestore_v1beta1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-firestore_v1beta1
22

3+
### v0.51.0 (2026-05-10)
4+
5+
* Regenerated from discovery document revision 20260427
6+
37
### v0.50.0 (2026-03-15)
48

59
* Regenerated from discovery document revision 20260304

generated/google-apis-firestore_v1beta1/lib/google/apis/firestore_v1beta1/classes.rb

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2506,11 +2506,18 @@ def update!(**args)
25062506
end
25072507

25082508
# Options for a transaction that can be used to read and write documents.
2509-
# Firestore does not allow 3rd party auth requests to create read-write.
2510-
# transactions.
25112509
class ReadWrite
25122510
include Google::Apis::Core::Hashable
25132511

2512+
# Optional. The concurrency control mode to use for this transaction. A database
2513+
# is able to use different concurrency modes for different transactions
2514+
# simultaneously. 3rd party auth requests are only allowed to create optimistic
2515+
# read-write transactions and must specify that here even if the database-level
2516+
# setting is already configured to optimistic.
2517+
# Corresponds to the JSON property `concurrencyMode`
2518+
# @return [String]
2519+
attr_accessor :concurrency_mode
2520+
25142521
# An optional transaction to retry.
25152522
# Corresponds to the JSON property `retryTransaction`
25162523
# NOTE: Values are automatically base64 encoded/decoded in the client library.
@@ -2523,6 +2530,7 @@ def initialize(**args)
25232530

25242531
# Update properties of this object
25252532
def update!(**args)
2533+
@concurrency_mode = args[:concurrency_mode] if args.key?(:concurrency_mode)
25262534
@retry_transaction = args[:retry_transaction] if args.key?(:retry_transaction)
25272535
end
25282536
end
@@ -3145,8 +3153,6 @@ class TransactionOptions
31453153
attr_accessor :read_only
31463154

31473155
# Options for a transaction that can be used to read and write documents.
3148-
# Firestore does not allow 3rd party auth requests to create read-write.
3149-
# transactions.
31503156
# Corresponds to the JSON property `readWrite`
31513157
# @return [Google::Apis::FirestoreV1beta1::ReadWrite]
31523158
attr_accessor :read_write

generated/google-apis-firestore_v1beta1/lib/google/apis/firestore_v1beta1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module FirestoreV1beta1
1818
# Version of the google-apis-firestore_v1beta1 gem
19-
GEM_VERSION = "0.50.0"
19+
GEM_VERSION = "0.51.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20260304"
25+
REVISION = "20260427"
2626
end
2727
end
2828
end

generated/google-apis-firestore_v1beta1/lib/google/apis/firestore_v1beta1/representations.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1316,6 +1316,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
13161316
class ReadWrite
13171317
# @private
13181318
class Representation < Google::Apis::Core::JsonRepresentation
1319+
property :concurrency_mode, as: 'concurrencyMode'
13191320
property :retry_transaction, :base64 => true, as: 'retryTransaction'
13201321
end
13211322
end

generated/google-apis-firestore_v1beta1/lib/google/apis/firestore_v1beta1/service.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,8 @@ def list_project_database_documents(parent, collection_id, mask_field_paths: nil
513513
# @param [String] parent
514514
# Required. The parent document. In the format: `projects/`project_id`/databases/
515515
# `database_id`/documents/`document_path``. For example: `projects/my-project/
516-
# databases/my-database/documents/chatrooms/my-chatroom`
516+
# databases/my-database/documents/chatrooms/my-chatroom` Use `projects/`
517+
# project_id`/databases/`database_id`/documents` to list top-level collections.
517518
# @param [Google::Apis::FirestoreV1beta1::ListCollectionIdsRequest] list_collection_ids_request_object
518519
# @param [String] fields
519520
# Selector specifying which fields to include in a partial response.

0 commit comments

Comments
 (0)