Commit graph

239 commits

Author SHA1 Message Date
Google APIs
2fb0f1b585 feat: add secure context parameters to cloud executor proto
PiperOrigin-RevId: 937969661
2026-06-25 07:23:37 -07:00
Google APIs
68f8f68867 feat(spanner): add cache updates API
PiperOrigin-RevId: 910759970
2026-05-05 10:13:35 -07:00
Google APIs
a7f4ee2ba3 feat(spanner): isolation_level and read_lock_mode are added to message .google.spanner.v1.CommitResponse
PiperOrigin-RevId: 906456285
2026-04-27 11:21:26 -07:00
Google APIs
d90d23fa13 feat: upgrade protobuf from v25.7 to v31.0
PiperOrigin-RevId: 881595129
2026-03-10 13:26:56 -07:00
Google APIs
5c9602dbb5 feat(spanner): include cache updates and routing hint into BeginTransaction and Commit request/response respectively
docs: A comment in message `.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode` is changed
docs: A comment for field `routing_hint` in messages `.google.spanner.v1.ResultSet` and `.google.spanner.v1.PartialResultSet` are changed

PiperOrigin-RevId: 878019893
2026-03-03 10:36:39 -08:00
Google APIs
c032a5101b feat: add SI, adapt, split point related proto
docs: A comment for field `execution_options` in message `.google.spanner.executor.v1.StartTransactionAction` is changed
docs: A comment for message `TransactionExecutionOptions` is changed
docs: A comment for message `ListCloudInstancesAction` is changed

PiperOrigin-RevId: 871366927
2026-02-17 09:54:54 -08:00
Google APIs
8d30990fb3 feat(spanner): include cache updates into the ResultSet response
docs: A comment for field `transaction_tag` in message `.google.spanner.v1.RequestOptions` is changed
docs: A comment for field `params` in message `.google.spanner.v1.PartitionQueryRequest` is changed
docs: A comment for field `param_types` in message `.google.spanner.v1.PartitionQueryRequest` is changed
docs: A comment for field `commit_timestamp` in message `.google.spanner.v1.BatchWriteResponse` is changed

PiperOrigin-RevId: 865546011
2026-02-04 13:10:56 -08:00
Google APIs
136a2c43b3 chore: adjust initial_poll_delay for CreateDatabase and UpdateDatabaseDdl LRO operations
PiperOrigin-RevId: 853884590
2026-01-08 14:26:54 -08:00
Google APIs
211d22fa6d feat: add a ClientContext field to Spanner requests
feat: add Secure Parameters to the ClientContext

PiperOrigin-RevId: 853323071
2026-01-07 10:38:21 -08:00
Google APIs
6e20492aec feat: Exposing total CPU related fields in AutoscalingConfig
docs: Update high_priority_cpu_utilization_percent in AutoscalingConfig to be Optional and clarify its behavior when not specified

PiperOrigin-RevId: 845819318
2025-12-17 10:16:28 -08:00
Google APIs
ded7ed1e4c docs: minor update for Spanner Location API
PiperOrigin-RevId: 834841888
2025-11-20 11:27:52 -08:00
Google APIs
7418c8b06d feat: Add Spanner location API
PiperOrigin-RevId: 833474957
2025-11-17 13:35:25 -08:00
Google APIs
0eeb1be5b7 feat: Add Send and Ack mutations for Queues
feat: Add QueryAdvisorResult for query plan
docs: Update description for the BatchCreateSessionsRequest and Session
docs: Update description for the IsolationLevel

PiperOrigin-RevId: 832425466
2025-11-14 12:57:19 -08:00
Google APIs
72e7439c8e feat: Exposing AutoscalingConfig in InstancePartition
PiperOrigin-RevId: 825184314
2025-10-28 13:37:11 -07:00
Google APIs
9da837b530 fix: upgrade gRPC service registration func
An update to Go gRPC Protobuf generation will change service registration function signatures to use an interface instead of a concrete type in generated .pb.go service files. This change should affect very few client library users. See release notes advisories in https://github.com/googleapis/google-cloud-go/pull/11025.

PiperOrigin-RevId: 817343382
2025-10-09 14:40:31 -07:00
Google APIs
873119040f chore(php)!: migrate Spanner to new client surface
PiperOrigin-RevId: 813877400
2025-10-01 13:02:59 -07:00
Google APIs
39c8072aee docs: A comment for field ranges in message .google.spanner.v1.KeySet is changed
docs: A comment for message `Mutation` is changed
docs: A comment for field `columns` in message `.google.spanner.v1.Mutation` is changed
docs: A comment for field `values` in message `.google.spanner.v1.Mutation` is changed
docs: A comment for field `key_set` in message `.google.spanner.v1.Mutation` is changed
docs: A comment for field `insert_or_update` in message `.google.spanner.v1.Mutation` is changed
docs: A comment for field `replace` in message `.google.spanner.v1.Mutation` is changed
docs: A comment for message `PlanNode` is changed
docs: A comment for enum `Kind` is changed
docs: A comment for field `variable` in message `.google.spanner.v1.PlanNode` is changed
docs: A comment for field `index` in message `.google.spanner.v1.PlanNode` is changed
docs: A comment for field `kind` in message `.google.spanner.v1.PlanNode` is changed
docs: A comment for field `short_representation` in message `.google.spanner.v1.PlanNode` is changed
docs: A comment for field `plan_nodes` in message `.google.spanner.v1.QueryPlan` is changed
docs: A comment for method `CreateSession` in service `Spanner` is changed
docs: A comment for method `GetSession` in service `Spanner` is changed
docs: A comment for method `DeleteSession` in service `Spanner` is changed
docs: A comment for method `ExecuteSql` in service `Spanner` is changed
docs: A comment for method `ExecuteStreamingSql` in service `Spanner` is changed
docs: A comment for method `Read` in service `Spanner` is changed
docs: A comment for method `Commit` in service `Spanner` is changed
docs: A comment for method `Rollback` in service `Spanner` is changed
docs: A comment for method `PartitionQuery` in service `Spanner` is changed
docs: A comment for method `PartitionRead` in service `Spanner` is changed
docs: A comment for method `BatchWrite` in service `Spanner` is changed
docs: A comment for field `session_template` in message `.google.spanner.v1.BatchCreateSessionsRequest` is changed
docs: A comment for field `session_count` in message `.google.spanner.v1.BatchCreateSessionsRequest` is changed
docs: A comment for field `approximate_last_use_time` in message `.google.spanner.v1.Session` is changed
docs: A comment for field `multiplexed` in message `.google.spanner.v1.Session` is changed
docs: A comment for enum `Priority` is changed
docs: A comment for field `request_tag` in message `.google.spanner.v1.RequestOptions` is changed
docs: A comment for field `transaction_tag` in message `.google.spanner.v1.RequestOptions` is changed
docs: A comment for message `DirectedReadOptions` is changed
docs: A comment for message `DirectedReadOptions` is changed
docs: A comment for message `DirectedReadOptions` is changed
docs: A comment for field `location` in message `.google.spanner.v1.DirectedReadOptions` is changed
docs: A comment for field `auto_failover_disabled` in message `.google.spanner.v1.DirectedReadOptions` is changed
docs: A comment for field `include_replicas` in message `.google.spanner.v1.DirectedReadOptions` is changed
docs: A comment for field `exclude_replicas` in message `.google.spanner.v1.DirectedReadOptions` is changed
docs: A comment for enum value `PROFILE` in enum `QueryMode` is changed
docs: A comment for field `optimizer_version` in message `.google.spanner.v1.ExecuteSqlRequest` is changed
docs: A comment for field `optimizer_statistics_package` in message `.google.spanner.v1.ExecuteSqlRequest` is changed
docs: A comment for field `transaction` in message `.google.spanner.v1.ExecuteSqlRequest` is changed
docs: A comment for field `params` in message `.google.spanner.v1.ExecuteSqlRequest` is changed
docs: A comment for field `param_types` in message `.google.spanner.v1.ExecuteSqlRequest` is changed
docs: A comment for field `partition_token` in message `.google.spanner.v1.ExecuteSqlRequest` is changed
docs: A comment for field `seqno` in message `.google.spanner.v1.ExecuteSqlRequest` is changed
docs: A comment for field `data_boost_enabled` in message `.google.spanner.v1.ExecuteSqlRequest` is changed
docs: A comment for field `last_statement` in message `.google.spanner.v1.ExecuteSqlRequest` is changed
docs: A comment for field `params` in message `.google.spanner.v1.ExecuteBatchDmlRequest` is changed
docs: A comment for field `param_types` in message `.google.spanner.v1.ExecuteBatchDmlRequest` is changed
docs: A comment for field `seqno` in message `.google.spanner.v1.ExecuteBatchDmlRequest` is changed
docs: A comment for field `last_statements` in message `.google.spanner.v1.ExecuteBatchDmlRequest` is changed
docs: A comment for field `precommit_token` in message `.google.spanner.v1.ExecuteBatchDmlResponse` is changed
docs: A comment for message `PartitionOptions` is changed
docs: A comment for field `partition_size_bytes` in message `.google.spanner.v1.PartitionOptions` is changed
docs: A comment for field `max_partitions` in message `.google.spanner.v1.PartitionOptions` is changed
docs: A comment for field `transaction` in message `.google.spanner.v1.PartitionQueryRequest` is changed
docs: A comment for field `sql` in message `.google.spanner.v1.PartitionQueryRequest` is changed
docs: A comment for field `params` in message `.google.spanner.v1.PartitionQueryRequest` is changed
docs: A comment for field `param_types` in message `.google.spanner.v1.PartitionQueryRequest` is changed
docs: A comment for field `key_set` in message `.google.spanner.v1.PartitionReadRequest` is changed
docs: A comment for field `partition_token` in message `.google.spanner.v1.Partition` is changed
docs: A comment for enum value `ORDER_BY_UNSPECIFIED` in enum `OrderBy` is changed
docs: A comment for enum value `ORDER_BY_PRIMARY_KEY` in enum `OrderBy` is changed
docs: A comment for enum value `LOCK_HINT_UNSPECIFIED` in enum `LockHint` is changed
docs: A comment for enum value `LOCK_HINT_EXCLUSIVE` in enum `LockHint` is changed
docs: A comment for field `key_set` in message `.google.spanner.v1.ReadRequest` is changed
docs: A comment for field `limit` in message `.google.spanner.v1.ReadRequest` is changed
docs: A comment for field `partition_token` in message `.google.spanner.v1.ReadRequest` is changed
docs: A comment for field `data_boost_enabled` in message `.google.spanner.v1.ReadRequest` is changed
docs: A comment for field `order_by` in message `.google.spanner.v1.ReadRequest` is changed
docs: A comment for field `request_options` in message `.google.spanner.v1.BeginTransactionRequest` is changed
docs: A comment for field `mutation_key` in message `.google.spanner.v1.BeginTransactionRequest` is changed
docs: A comment for field `single_use_transaction` in message `.google.spanner.v1.CommitRequest` is changed
docs: A comment for field `return_commit_stats` in message `.google.spanner.v1.CommitRequest` is changed
docs: A comment for field `max_commit_delay` in message `.google.spanner.v1.CommitRequest` is changed
docs: A comment for field `precommit_token` in message `.google.spanner.v1.CommitRequest` is changed
docs: A comment for field `exclude_txn_from_change_streams` in message `.google.spanner.v1.BatchWriteRequest` is changed
docs: A comment for enum value `SERIALIZABLE` in enum `IsolationLevel` is changed

PiperOrigin-RevId: 800749899
2025-08-28 22:33:17 -07:00
Google APIs
01949a2cd1 feat: Add last field in AdaptMessageResponse for internal optimization usage
PiperOrigin-RevId: 788590015
2025-07-29 13:46:16 -07:00
Google APIs
2a2ea87fca feat: proto changes for an internal api
PiperOrigin-RevId: 786045230
2025-07-22 16:45:05 -07:00
Google APIs
62babf26d1 feat(spanner): A new field snapshot_timestamp is added to message .google.spanner.v1.CommitResponse
docs(spanner): A comment for field `commit_stats` in message `.google.spanner.v1.CommitResponse` is changed
docs(spanner): A comment for field `precommit_token` in message `.google.spanner.v1.CommitResponse` is changed
docs(spanner): A comment for message `.google.spanner.v1.TransactionOptions` is changed
docs(spanner): A comment for enum value `READ_LOCK_MODE_UNSPECIFIED` in enum `ReadLockMode` is changed
docs(spanner): A comment for enum value `PESSIMISTIC` in enum `ReadLockMode` is changed
docs(spanner): A comment for enum value `OPTIMISTIC` in enum `ReadLockMode` is changed
docs(spanner): A comment for field `multiplexed_session_previous_transaction_id` in message `.google.spanner.v1.TransactionOptions` is changed
docs(spanner): A comment for field `exclude_txn_from_change_streams` in message `.google.spanner.v1.TransactionOptions` is changed
docs(spanner): A comment for message `.google.spanner.v1.MultiplexedSessionPrecommitToken` is changed

PiperOrigin-RevId: 784456709
2025-07-17 23:20:39 -07:00
Google APIs
bb98da0792 chore: regenerate gapic yaml and service yaml for spanner cloud executor by augmentation configs
PiperOrigin-RevId: 781677836
2025-07-10 14:15:19 -07:00
Google APIs
01ab356283 chore: regenerate gapic yaml and service yaml for spanner database admin v1 by augmentation configs
PiperOrigin-RevId: 781161679
2025-07-09 12:23:54 -07:00
Google APIs
83f5a1a234 chore: regenerate gapic yaml and service yaml for spanner instance admin v1 by augmentation configs
PiperOrigin-RevId: 781144345
2025-07-09 11:42:53 -07:00
Google APIs
5a92cea066 chore: regenerate gapic yaml and service yaml for spanner v1 by augmentation configs
PiperOrigin-RevId: 780661436
2025-07-08 12:05:59 -07:00
Google APIs
2bea1fccad feat(spanner): add new change_stream.proto
PiperOrigin-RevId: 766241102
2025-06-02 10:11:59 -07:00
Google APIs
0a4ce50a66 build: ensure there's only a single service config file for the Spanner Admin Instances API
PiperOrigin-RevId: 763646865
2025-05-26 23:40:12 -07:00
Google APIs
cbc536a4cd feat: add throughput_mode to UpdateDatabaseDdlRequest to be used by Spanner Migration Tool. See https://github.com/GoogleCloudPlatform/spanner-migration-tool
PiperOrigin-RevId: 759735605
2025-05-16 13:32:39 -07:00
Google APIs
07daa3dc9b chore: rename gapic.yaml and service.yaml files for better consistency
PiperOrigin-RevId: 756767540
2025-05-09 08:01:02 -07:00
Google APIs
4631c76028 feat: Add spanner.adapter rpc service
PiperOrigin-RevId: 742815676
2025-04-01 13:19:06 -07:00
Google APIs
9415ba048a chore: update copyright year for auto-generated protos
PiperOrigin-RevId: 732130682
2025-02-28 07:26:00 -08:00
Google APIs
fd510f8e0f chore: update copyright year for auto-generated protos
PiperOrigin-RevId: 731693666
2025-02-27 05:53:36 -08:00
Google APIs
fe0fa26a64 feat: add a last field in the PartialResultSet
docs: A comment for field `rows` in message `.google.spanner.v1.ResultSet` is changed
docs: A comment for field `stats` in message `.google.spanner.v1.ResultSet` is changed
docs: A comment for field `precommit_token` in message `.google.spanner.v1.ResultSet` is changed
docs: A comment for field `values` in message `.google.spanner.v1.PartialResultSet` is changed
docs: A comment for field `chunked_value` in message `.google.spanner.v1.PartialResultSet` is changed
docs: A comment for field `stats` in message `.google.spanner.v1.PartialResultSet` is changed
docs: A comment for field `precommit_token` in message `.google.spanner.v1.PartialResultSet` is changed
docs: A comment for message `ResultSetMetadata` is changed
docs: A comment for field `row_type` in message `.google.spanner.v1.ResultSetMetadata` is changed
docs: A comment for message `ResultSetStats` is changed
docs: A comment for field `query_plan` in message `.google.spanner.v1.ResultSetStats` is changed
docs: A comment for field `row_count_lower_bound` in message `.google.spanner.v1.ResultSetStats` is changed

PiperOrigin-RevId: 730849734
2025-02-25 05:52:44 -08:00
Google APIs
516ab0ae2f feat(spanner): A new enum IsolationLevel is added
feat(spanner): A new field `isolation_level` is added to message `.google.spanner.v1.TransactionOptions`
docs(spanner): A comment for enum value `READ_LOCK_MODE_UNSPECIFIED` in enum `ReadLockMode` is changed
docs(spanner): A comment for enum value `PESSIMISTIC` in enum `ReadLockMode` is changed
docs(spanner): A comment for enum value `OPTIMISTIC` in enum `ReadLockMode` is changed

PiperOrigin-RevId: 729265828
2025-02-20 15:04:26 -08:00
Google APIs
1185fe543e feat(spanner): Add instance partitions field in backup proto
PiperOrigin-RevId: 726160420
2025-02-12 12:47:52 -08:00
Google APIs
d57f2c114b feat: add AddSplitPoints API
PiperOrigin-RevId: 721248606
2025-01-29 22:34:17 -08:00
Google APIs
318818b22e docs: fix typo timzeone -> timezone
PiperOrigin-RevId: 717555125
2025-01-20 09:27:18 -08:00
Google APIs
3db0452ba6 feat: Exposing InstanceType in Instance configuration (to define PROVISIONED or FREE spanner instance)
feat: Exposing FreeInstanceMetadata in Instance configuration (to define the metadata related to FREE instance type)
feat: Exposing storage_limit_per_processing_unit in InstanceConfig
feat: Exposing QuorumType in InstanceConfig
feat: Exposing FreeInstanceAvailability in InstanceConfig
docs: A comment for method `ListInstanceConfigs` in service `InstanceAdmin` is changed
docs: A comment for method `CreateInstanceConfig` in service `InstanceAdmin` is changed
docs: A comment for method `UpdateInstanceConfig` in service `InstanceAdmin` is changed
docs: A comment for method `ListInstanceConfigOperations` in service `InstanceAdmin` is changed
docs: A comment for method `CreateInstance` in service `InstanceAdmin` is changed
docs: A comment for method `UpdateInstance` in service `InstanceAdmin` is changed
docs: A comment for method `CreateInstancePartition` in service `InstanceAdmin` is changed
docs: A comment for method `UpdateInstancePartition` in service `InstanceAdmin` is changed
docs: A comment for method `ListInstancePartitionOperations` in service `InstanceAdmin` is changed
docs: A comment for method `MoveInstance` in service `InstanceAdmin` is changed
docs: A comment for field `location` in message `.google.spanner.admin.instance.v1.ReplicaInfo` is changed
docs: A comment for enum value `GOOGLE_MANAGED` in enum `Type` is changed
docs: A comment for enum value `USER_MANAGED` in enum `Type` is changed
docs: A comment for field `replicas` in message `.google.spanner.admin.instance.v1.InstanceConfig` is changed
docs: A comment for field `optional_replicas` in message `.google.spanner.admin.instance.v1.InstanceConfig` is changed
docs: A comment for field `base_config` in message `.google.spanner.admin.instance.v1.InstanceConfig` is changed
docs: A comment for field `storage_utilization_percent` in message `.google.spanner.admin.instance.v1.AutoscalingConfig` is changed
docs: A comment for enum `DefaultBackupScheduleType` is changed
docs: A comment for enum value `NONE` in enum `DefaultBackupScheduleType` is changed
docs: A comment for enum value `AUTOMATIC` in enum `DefaultBackupScheduleType` is changed
docs: A comment for field `node_count` in message `.google.spanner.admin.instance.v1.Instance` is changed
docs: A comment for field `processing_units` in message `.google.spanner.admin.instance.v1.Instance` is changed
docs: A comment for field `default_backup_schedule_type` in message `.google.spanner.admin.instance.v1.Instance` is changed
docs: A comment for message `CreateInstanceConfigRequest` is changed
docs: A comment for field `instance_config` in message `.google.spanner.admin.instance.v1.CreateInstanceConfigRequest` is changed
docs: A comment for message `UpdateInstanceConfigRequest` is changed
docs: A comment for message `DeleteInstanceConfigRequest` is changed
docs: A comment for field `filter` in message `.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest` is changed
docs: A comment for field `operations` in message `.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse` is changed
docs: A comment for field `node_count` in message `.google.spanner.admin.instance.v1.InstancePartition` is changed
docs: A comment for field `processing_units` in message `.google.spanner.admin.instance.v1.InstancePartition` is changed
docs: A comment for field `referencing_backups` in message `.google.spanner.admin.instance.v1.InstancePartition` is changed
docs: A comment for field `parent` in message `.google.spanner.admin.instance.v1.ListInstancePartitionsRequest` is changed
docs: A comment for field `unreachable` in message `.google.spanner.admin.instance.v1.ListInstancePartitionsResponse` is changed
docs: A comment for field `filter` in message `.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest` is changed
docs: A comment for field `instance_partition_deadline` in message `.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest` is changed
docs: A comment for field `operations` in message `.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse` is changed

PiperOrigin-RevId: 706945550
2024-12-16 21:43:07 -08:00
Google APIs
d46c6c9a8b feat: add UUID in Spanner TypeCode enum
PiperOrigin-RevId: 704948401
2024-12-10 20:39:49 -08:00
Google APIs
97da65f789 feat: Add the last statement option to ExecuteSqlRequest and ExecuteBatchDmlRequest
PiperOrigin-RevId: 699218836
2024-11-22 10:39:30 -08:00
Google APIs
b11e6b0741 feat(spanner): Add support for Cloud Spanner Default Backup Schedules
PiperOrigin-RevId: 688946300
2024-10-23 06:51:31 -07:00
Google APIs
2b6b93bc89 chore: protos for R/W transaction support on multiplexed sessions
PiperOrigin-RevId: 683879049
2024-10-08 21:28:44 -07:00
Google APIs
dd47718199 feat: Define ReplicaComputeCapacity and AsymmetricAutoscalingOption
docs: A comment for field `node_count` in message `spanner.admin.instance.v1.Instance` is changed

docs: A comment for field `processing_units` in message `spanner.admin.instance.v1.Instance` is changed
PiperOrigin-RevId: 681615472
2024-10-02 15:35:26 -07:00
Google APIs
72a51519ae docs: update comment for PROFILE QueryMode
feat: add new QueryMode enum values (WITH_STATS, WITH_PLAN_AND_STATS)

PiperOrigin-RevId: 680628448
2024-09-30 10:24:54 -07:00
Google APIs
2c9fb37781 feat: add INTERVAL API
PiperOrigin-RevId: 680405503
2024-09-29 21:26:24 -07:00
Google APIs
96facece98 feat(spanner): Add resource reference annotation to backup schedules
docs(spanner): Add an example to filter backups based on schedule name

PiperOrigin-RevId: 662402292
2024-08-13 00:31:07 -07:00
Google APIs
eb87f475f5 feat(spanner): add edition field to the instance proto
PiperOrigin-RevId: 662226829
2024-08-12 14:24:59 -07:00
Google APIs
e77b669b90 feat(spanner): Add support for Cloud Spanner Incremental Backups
PiperOrigin-RevId: 657612329
2024-07-30 09:03:15 -07:00
Google APIs
fd7efa2da3 feat(spanner): Add support for Cloud Spanner Scheduled Backups
PiperOrigin-RevId: 649277844
2024-07-03 20:42:20 -07:00
Google APIs
eeed69d446 feat: add field order_by in spanner.proto
feat: add field lock_hint in spanner.proto

PiperOrigin-RevId: 636759139
2024-05-23 19:58:48 -07:00
Google APIs
e3a34df5b3 feat: Add QueryCancellationAction message in executor protos
PiperOrigin-RevId: 633451546
2024-05-13 23:19:22 -07:00