Skip to content

Commit 4e8e5c5

Browse files
feat: Automated regeneration of spanner v1 client (googleapis#25259)
Auto-created at 2025-12-14 11:16:53 +0000 using the toys pull request generator.
1 parent f5fb350 commit 4e8e5c5

5 files changed

Lines changed: 45 additions & 6 deletions

File tree

api_names_out.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367907,6 +367907,7 @@
367907367907
"/spanner:v1/ChildLink/childIndex": child_index
367908367908
"/spanner:v1/ChildLink/type": type
367909367909
"/spanner:v1/ChildLink/variable": variable
367910+
"/spanner:v1/ClientContext": client_context
367910367911
"/spanner:v1/CloudAuditOptions": cloud_audit_options
367911367912
"/spanner:v1/CloudAuditOptions/authorizationLoggingOptions": authorization_logging_options
367912367913
"/spanner:v1/CloudAuditOptions/logName": log_name
@@ -368519,6 +368520,7 @@
368519368520
"/spanner:v1/ReplicaSelection/location": location
368520368521
"/spanner:v1/ReplicaSelection/type": type
368521368522
"/spanner:v1/RequestOptions": request_options
368523+
"/spanner:v1/RequestOptions/clientContext": client_context
368522368524
"/spanner:v1/RequestOptions/priority": priority
368523368525
"/spanner:v1/RequestOptions/requestTag": request_tag
368524368526
"/spanner:v1/RequestOptions/transactionTag": transaction_tag

generated/google-apis-spanner_v1/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-spanner_v1
22

3+
### v0.47.0 (2025-12-14)
4+
5+
* Regenerated from discovery document revision 20251121
6+
37
### v0.46.0 (2025-11-16)
48

59
* Regenerated from discovery document revision 20251031

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

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1103,6 +1103,19 @@ def update!(**args)
11031103
end
11041104
end
11051105

1106+
# Container for various pieces of client-owned context attached to a request.
1107+
class ClientContext
1108+
include Google::Apis::Core::Hashable
1109+
1110+
def initialize(**args)
1111+
update!(**args)
1112+
end
1113+
1114+
# Update properties of this object
1115+
def update!(**args)
1116+
end
1117+
end
1118+
11061119
# Metadata for a column.
11071120
class ColumnMetadata
11081121
include Google::Apis::Core::Hashable
@@ -5949,6 +5962,11 @@ def update!(**args)
59495962
class RequestOptions
59505963
include Google::Apis::Core::Hashable
59515964

5965+
# Container for various pieces of client-owned context attached to a request.
5966+
# Corresponds to the JSON property `clientContext`
5967+
# @return [Google::Apis::SpannerV1::ClientContext]
5968+
attr_accessor :client_context
5969+
59525970
# Priority for the request.
59535971
# Corresponds to the JSON property `priority`
59545972
# @return [String]
@@ -5985,6 +6003,7 @@ def initialize(**args)
59856003

59866004
# Update properties of this object
59876005
def update!(**args)
6006+
@client_context = args[:client_context] if args.key?(:client_context)
59886007
@priority = args[:priority] if args.key?(:priority)
59896008
@request_tag = args[:request_tag] if args.key?(:request_tag)
59906009
@transaction_tag = args[:transaction_tag] if args.key?(:transaction_tag)
@@ -6409,10 +6428,10 @@ class Session
64096428
attr_accessor :labels
64106429

64116430
# Optional. If `true`, specifies a multiplexed session. Use a multiplexed
6412-
# session for multiple, concurrent read-only operations. Don't use them for read-
6413-
# write transactions, partitioned reads, or partitioned queries. Use `sessions.
6414-
# create` to create multiplexed sessions. Don't use BatchCreateSessions to
6415-
# create a multiplexed session. You can't delete or list multiplexed sessions.
6431+
# session for multiple, concurrent operations including any combination of read-
6432+
# only and read-write transactions. Use `sessions.create` to create multiplexed
6433+
# sessions. Don't use BatchCreateSessions to create a multiplexed session. You
6434+
# can't delete or list multiplexed sessions.
64166435
# Corresponds to the JSON property `multiplexed`
64176436
# @return [Boolean]
64186437
attr_accessor :multiplexed

generated/google-apis-spanner_v1/lib/google/apis/spanner_v1/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 SpannerV1
1818
# Version of the google-apis-spanner_v1 gem
19-
GEM_VERSION = "0.46.0"
19+
GEM_VERSION = "0.47.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 = "20251031"
25+
REVISION = "20251121"
2626
end
2727
end
2828
end

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

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
172172
include Google::Apis::Core::JsonObjectSupport
173173
end
174174

175+
class ClientContext
176+
class Representation < Google::Apis::Core::JsonRepresentation; end
177+
178+
include Google::Apis::Core::JsonObjectSupport
179+
end
180+
175181
class ColumnMetadata
176182
class Representation < Google::Apis::Core::JsonRepresentation; end
177183

@@ -1342,6 +1348,12 @@ class Representation < Google::Apis::Core::JsonRepresentation
13421348
end
13431349
end
13441350

1351+
class ClientContext
1352+
# @private
1353+
class Representation < Google::Apis::Core::JsonRepresentation
1354+
end
1355+
end
1356+
13451357
class ColumnMetadata
13461358
# @private
13471359
class Representation < Google::Apis::Core::JsonRepresentation
@@ -2548,6 +2560,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
25482560
class RequestOptions
25492561
# @private
25502562
class Representation < Google::Apis::Core::JsonRepresentation
2563+
property :client_context, as: 'clientContext', class: Google::Apis::SpannerV1::ClientContext, decorator: Google::Apis::SpannerV1::ClientContext::Representation
2564+
25512565
property :priority, as: 'priority'
25522566
property :request_tag, as: 'requestTag'
25532567
property :transaction_tag, as: 'transactionTag'

0 commit comments

Comments
 (0)