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
17 changes: 17 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -367808,6 +367808,11 @@
"/sourcerepo:v1/sourcerepo.projects.repos.testIamPermissions/resource": resource
"/sourcerepo:v1/sourcerepo.projects.updateConfig": update_project_config
"/sourcerepo:v1/sourcerepo.projects.updateConfig/name": name
"/spanner:v1/Ack": ack
"/spanner:v1/Ack/ignoreNotFound": ignore_not_found
"/spanner:v1/Ack/key": key
"/spanner:v1/Ack/key/key": key
"/spanner:v1/Ack/queue": queue
"/spanner:v1/AdaptMessageRequest": adapt_message_request
"/spanner:v1/AdaptMessageRequest/attachments": attachments
"/spanner:v1/AdaptMessageRequest/attachments/attachment": attachment
Expand Down Expand Up @@ -367967,6 +367972,10 @@
"/spanner:v1/CommitResponse/snapshotTimestamp": snapshot_timestamp
"/spanner:v1/CommitStats": commit_stats
"/spanner:v1/CommitStats/mutationCount": mutation_count
"/spanner:v1/CompactDatabaseMetadata": compact_database_metadata
"/spanner:v1/CompactDatabaseMetadata/cancelTime": cancel_time
"/spanner:v1/CompactDatabaseMetadata/database": database
"/spanner:v1/CompactDatabaseMetadata/progress": progress
"/spanner:v1/Condition": condition
"/spanner:v1/Condition/iam": iam
"/spanner:v1/Condition/op": op
Expand Down Expand Up @@ -368398,10 +368407,12 @@
"/spanner:v1/MultiplexedSessionPrecommitToken/precommitToken": precommit_token
"/spanner:v1/MultiplexedSessionPrecommitToken/seqNum": seq_num
"/spanner:v1/Mutation": mutation
"/spanner:v1/Mutation/ack": ack
"/spanner:v1/Mutation/delete": delete
"/spanner:v1/Mutation/insert": insert
"/spanner:v1/Mutation/insertOrUpdate": insert_or_update
"/spanner:v1/Mutation/replace": replace
"/spanner:v1/Mutation/send": send_prop
"/spanner:v1/Mutation/update": update
"/spanner:v1/MutationGroup": mutation_group
"/spanner:v1/MutationGroup/mutations": mutations
Expand Down Expand Up @@ -368621,6 +368632,12 @@
"/spanner:v1/ScanData/data": data
"/spanner:v1/ScanData/endTime": end_time
"/spanner:v1/ScanData/startTime": start_time
"/spanner:v1/Send": send_prop
"/spanner:v1/Send/deliverTime": deliver_time
"/spanner:v1/Send/key": key
"/spanner:v1/Send/key/key": key
"/spanner:v1/Send/payload": payload
"/spanner:v1/Send/queue": queue
"/spanner:v1/Session": session
"/spanner:v1/Session/approximateLastUseTime": approximate_last_use_time
"/spanner:v1/Session/createTime": create_time
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.48.0 (2025-12-21)

* Regenerated from discovery document revision 20251205

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

* Regenerated from discovery document revision 20251121
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ module SpannerV1
# Administer your Spanner databases
AUTH_SPANNER_ADMIN = 'https://www.googleapis.com/auth/spanner.admin'

# View and manage the contents of your Spanner databases
# See, edit, configure, and delete your Google Cloud Spanner data and see the email address for your Google Account
AUTH_SPANNER_DATA = 'https://www.googleapis.com/auth/spanner.data'
end
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,41 @@ module Google
module Apis
module SpannerV1

# Arguments to ack operations.
class Ack
include Google::Apis::Core::Hashable

# By default, an attempt to ack a message that does not exist will fail with a `
# NOT_FOUND` error. With `ignore_not_found` set to true, the ack will succeed
# even if the message does not exist. This is useful for unconditionally acking
# a message, even if it is missing or has already been acked.
# Corresponds to the JSON property `ignoreNotFound`
# @return [Boolean]
attr_accessor :ignore_not_found
alias_method :ignore_not_found?, :ignore_not_found

# Required. The primary key of the message to be acked.
# Corresponds to the JSON property `key`
# @return [Array<Object>]
attr_accessor :key

# Required. The queue where the message to be acked is stored.
# Corresponds to the JSON property `queue`
# @return [String]
attr_accessor :queue

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

# Update properties of this object
def update!(**args)
@ignore_not_found = args[:ignore_not_found] if args.key?(:ignore_not_found)
@key = args[:key] if args.key?(:key)
@queue = args[:queue] if args.key?(:queue)
end
end

# Message sent by the client to the adapter.
class AdaptMessageRequest
include Google::Apis::Core::Hashable
Expand Down Expand Up @@ -1103,19 +1138,6 @@ 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 @@ -1289,6 +1311,46 @@ def update!(**args)
end
end

# Metadata type for the long-running operation returned by `CALL compact_all()`,
# which can be executed using ExecuteSql or ExecuteStreamingSql APIs.
class CompactDatabaseMetadata
include Google::Apis::Core::Hashable

# Output only. The time at which cancellation of this operation was received.
# Operations.CancelOperation starts asynchronous cancellation on a long-running
# operation. The server makes a best effort to cancel the operation, but success
# is not guaranteed. Clients can use Operations.GetOperation or other methods to
# check whether the cancellation succeeded or whether the operation completed
# despite cancellation. On successful cancellation, the operation is not deleted;
# instead, it becomes an operation with an Operation.error value with a google.
# rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
# Corresponds to the JSON property `cancelTime`
# @return [String]
attr_accessor :cancel_time

# Output only. The database being compacted.
# Corresponds to the JSON property `database`
# @return [String]
attr_accessor :database

# Encapsulates progress related information for a Cloud Spanner long running
# operation.
# Corresponds to the JSON property `progress`
# @return [Google::Apis::SpannerV1::OperationProgress]
attr_accessor :progress

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

# Update properties of this object
def update!(**args)
@cancel_time = args[:cancel_time] if args.key?(:cancel_time)
@database = args[:database] if args.key?(:database)
@progress = args[:progress] if args.key?(:progress)
end
end

# A message representing context for a KeyRangeInfo, including a label, value,
# unit, and severity.
class ContextValue
Expand Down Expand Up @@ -4179,8 +4241,9 @@ class ListOperationsResponse
attr_accessor :operations

# Unordered list. Unreachable resources. Populated when the request sets `
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
# when attempting to list all resources across all supported locations.
# ListOperationsRequest.return_partial_success` and reads across collections.
# For example, when attempting to list all resources across all supported
# locations.
# Corresponds to the JSON property `unreachable`
# @return [Array<String>]
attr_accessor :unreachable
Expand Down Expand Up @@ -4597,6 +4660,11 @@ def update!(**args)
class Mutation
include Google::Apis::Core::Hashable

# Arguments to ack operations.
# Corresponds to the JSON property `ack`
# @return [Google::Apis::SpannerV1::Ack]
attr_accessor :ack

# Arguments to delete operations.
# Corresponds to the JSON property `delete`
# @return [Google::Apis::SpannerV1::Delete]
Expand All @@ -4617,6 +4685,11 @@ class Mutation
# @return [Google::Apis::SpannerV1::Write]
attr_accessor :replace

# Arguments to send operations.
# Corresponds to the JSON property `send`
# @return [Google::Apis::SpannerV1::SendProp]
attr_accessor :send_prop

# Arguments to insert, update, insert_or_update, and replace operations.
# Corresponds to the JSON property `update`
# @return [Google::Apis::SpannerV1::Write]
Expand All @@ -4628,10 +4701,12 @@ def initialize(**args)

# Update properties of this object
def update!(**args)
@ack = args[:ack] if args.key?(:ack)
@delete = args[:delete] if args.key?(:delete)
@insert = args[:insert] if args.key?(:insert)
@insert_or_update = args[:insert_or_update] if args.key?(:insert_or_update)
@replace = args[:replace] if args.key?(:replace)
@send_prop = args[:send_prop] if args.key?(:send_prop)
@update = args[:update] if args.key?(:update)
end
end
Expand Down Expand Up @@ -5962,11 +6037,6 @@ 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 @@ -6003,7 +6073,6 @@ 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 @@ -6397,6 +6466,46 @@ def update!(**args)
end
end

# Arguments to send operations.
class SendProp
include Google::Apis::Core::Hashable

# The time at which Spanner will begin attempting to deliver the message. If `
# deliver_time` is not set, Spanner will deliver the message immediately. If `
# deliver_time` is in the past, Spanner will replace it with a value closer to
# the current time.
# Corresponds to the JSON property `deliverTime`
# @return [String]
attr_accessor :deliver_time

# Required. The primary key of the message to be sent.
# Corresponds to the JSON property `key`
# @return [Array<Object>]
attr_accessor :key

# The payload of the message.
# Corresponds to the JSON property `payload`
# @return [Object]
attr_accessor :payload

# Required. The queue to which the message will be sent.
# Corresponds to the JSON property `queue`
# @return [String]
attr_accessor :queue

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

# Update properties of this object
def update!(**args)
@deliver_time = args[:deliver_time] if args.key?(:deliver_time)
@key = args[:key] if args.key?(:key)
@payload = args[:payload] if args.key?(:payload)
@queue = args[:queue] if args.key?(:queue)
end
end

# A session in the Cloud Spanner API.
class Session
include Google::Apis::Core::Hashable
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.47.0"
GEM_VERSION = "0.48.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 = "20251121"
REVISION = "20251205"
end
end
end
Loading