Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -366418,6 +366418,7 @@
"/spanner:v1/ChildLink/childIndex": child_index
"/spanner:v1/ChildLink/type": type
"/spanner:v1/ChildLink/variable": variable
"/spanner:v1/ClientContext": client_context
"/spanner:v1/CloudAuditOptions": cloud_audit_options
"/spanner:v1/CloudAuditOptions/authorizationLoggingOptions": authorization_logging_options
"/spanner:v1/CloudAuditOptions/logName": log_name
Expand Down Expand Up @@ -367030,6 +367031,7 @@
"/spanner:v1/ReplicaSelection/location": location
"/spanner:v1/ReplicaSelection/type": type
"/spanner:v1/RequestOptions": request_options
"/spanner:v1/RequestOptions/clientContext": client_context
"/spanner:v1/RequestOptions/priority": priority
"/spanner:v1/RequestOptions/requestTag": request_tag
"/spanner:v1/RequestOptions/transactionTag": transaction_tag
Expand Down
4 changes: 4 additions & 0 deletions generated/google-apis-spanner_v1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history for google-apis-spanner_v1

### v0.47.0 (2025-12-14)

* Regenerated from discovery document revision 20251121

### v0.46.0 (2025-11-16)

* Regenerated from discovery document revision 20251031
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1103,6 +1103,19 @@ def update!(**args)
end
end

# Container for various pieces of client-owned context attached to a request.
class ClientContext
include Google::Apis::Core::Hashable

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
end
end

# Metadata for a column.
class ColumnMetadata
include Google::Apis::Core::Hashable
Expand Down Expand Up @@ -5949,6 +5962,11 @@ def update!(**args)
class RequestOptions
include Google::Apis::Core::Hashable

# Container for various pieces of client-owned context attached to a request.
# Corresponds to the JSON property `clientContext`
# @return [Google::Apis::SpannerV1::ClientContext]
attr_accessor :client_context

# Priority for the request.
# Corresponds to the JSON property `priority`
# @return [String]
Expand Down Expand Up @@ -5985,6 +6003,7 @@ def initialize(**args)

# Update properties of this object
def update!(**args)
@client_context = args[:client_context] if args.key?(:client_context)
@priority = args[:priority] if args.key?(:priority)
@request_tag = args[:request_tag] if args.key?(:request_tag)
@transaction_tag = args[:transaction_tag] if args.key?(:transaction_tag)
Expand Down Expand Up @@ -6409,10 +6428,10 @@ class Session
attr_accessor :labels

# Optional. If `true`, specifies a multiplexed session. Use a multiplexed
# session for multiple, concurrent read-only operations. Don't use them for read-
# write transactions, partitioned reads, or partitioned queries. Use `sessions.
# create` to create multiplexed sessions. Don't use BatchCreateSessions to
# create a multiplexed session. You can't delete or list multiplexed sessions.
# session for multiple, concurrent operations including any combination of read-
# only and read-write transactions. Use `sessions.create` to create multiplexed
# sessions. Don't use BatchCreateSessions to create a multiplexed session. You
# can't delete or list multiplexed sessions.
# Corresponds to the JSON property `multiplexed`
# @return [Boolean]
attr_accessor :multiplexed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module SpannerV1
# Version of the google-apis-spanner_v1 gem
GEM_VERSION = "0.46.0"
GEM_VERSION = "0.47.0"

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

# Revision of the discovery document this client was generated from
REVISION = "20251031"
REVISION = "20251121"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end

class ClientContext
class Representation < Google::Apis::Core::JsonRepresentation; end

include Google::Apis::Core::JsonObjectSupport
end

class ColumnMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end

Expand Down Expand Up @@ -1342,6 +1348,12 @@ class Representation < Google::Apis::Core::JsonRepresentation
end
end

class ClientContext
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end

class ColumnMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
Expand Down Expand Up @@ -2548,6 +2560,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
class RequestOptions
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :client_context, as: 'clientContext', class: Google::Apis::SpannerV1::ClientContext, decorator: Google::Apis::SpannerV1::ClientContext::Representation

property :priority, as: 'priority'
property :request_tag, as: 'requestTag'
property :transaction_tag, as: 'transactionTag'
Expand Down