Skip to content

Commit d77e9d5

Browse files
yoshi-automationsofisl
authored andcommitted
fix(spanner): update the API
#### spanner:v1 The following keys were changed: - schemas.BatchWriteRequest.properties.excludeTxnFromChangeStreams.description - schemas.DatabaseMoveConfig.properties.databaseId.description - schemas.DatabaseMoveConfig.properties.encryptionConfig.description
1 parent e6e9c62 commit d77e9d5

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

discovery/spanner-v1.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3406,7 +3406,7 @@
34063406
}
34073407
}
34083408
},
3409-
"revision": "20250625",
3409+
"revision": "20250708",
34103410
"rootUrl": "https://spanner.googleapis.com/",
34113411
"schemas": {
34123412
"AdaptMessageRequest": {
@@ -3844,7 +3844,7 @@
38443844
"id": "BatchWriteRequest",
38453845
"properties": {
38463846
"excludeTxnFromChangeStreams": {
3847-
"description": "Optional. When `exclude_txn_from_change_streams` is set to `true`: * Modifications from all transactions in this batch write operation are not be recorded in change streams with DDL option `allow_txn_exclusion=true` that are tracking columns modified by these transactions. * Modifications from all transactions in this batch write operation are recorded in change streams with DDL option `allow_txn_exclusion=false or not set` that are tracking columns modified by these transactions. When `exclude_txn_from_change_streams` is set to `false` or not set, Modifications from all transactions in this batch write operation are recorded in all change streams that are tracking columns modified by these transactions.",
3847+
"description": "Optional. If you don't set the `exclude_txn_from_change_streams` option or if it's set to `false`, then any change streams monitoring columns modified by transactions will capture the updates made within that transaction.",
38483848
"type": "boolean"
38493849
},
38503850
"mutationGroups": {
@@ -4703,12 +4703,12 @@
47034703
"id": "DatabaseMoveConfig",
47044704
"properties": {
47054705
"databaseId": {
4706-
"description": "Required. The unique identifier of the database resource in the Instance. For example if the database uri is projects/foo/instances/bar/databases/baz, the id to supply here is baz.",
4706+
"description": "Required. The unique identifier of the database resource in the Instance. For example, if the database uri is `projects/foo/instances/bar/databases/baz`, then the id to supply here is baz.",
47074707
"type": "string"
47084708
},
47094709
"encryptionConfig": {
47104710
"$ref": "InstanceEncryptionConfig",
4711-
"description": "Optional. Encryption configuration to be used for the database in target configuration. Should be specified for every database which currently uses CMEK encryption. If a database currently uses GOOGLE_MANAGED encryption and a target encryption config is not specified, it defaults to GOOGLE_MANAGED. If a database currently uses Google-managed encryption and a target encryption config is specified, the request is rejected. If a database currently uses CMEK encryption, a target encryption config must be specified. You cannot move a CMEK database to a Google-managed encryption database by MoveInstance."
4711+
"description": "Optional. Encryption configuration to be used for the database in the target configuration. The encryption configuration must be specified for every database which currently uses CMEK encryption. If a database currently uses Google-managed encryption and a target encryption configuration is not specified, then the database defaults to Google-managed encryption. If a database currently uses Google-managed encryption and a target CMEK encryption is specified, the request is rejected. If a database currently uses CMEK encryption, then a target encryption configuration must be specified. You can't move a CMEK database to a Google-managed encryption database using the MoveInstance API."
47124712
}
47134713
},
47144714
"type": "object"

src/apis/spanner/v1.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ export namespace spanner_v1 {
439439
*/
440440
export interface Schema$BatchWriteRequest {
441441
/**
442-
* Optional. When `exclude_txn_from_change_streams` is set to `true`: * Modifications from all transactions in this batch write operation are not be recorded in change streams with DDL option `allow_txn_exclusion=true` that are tracking columns modified by these transactions. * Modifications from all transactions in this batch write operation are recorded in change streams with DDL option `allow_txn_exclusion=false or not set` that are tracking columns modified by these transactions. When `exclude_txn_from_change_streams` is set to `false` or not set, Modifications from all transactions in this batch write operation are recorded in all change streams that are tracking columns modified by these transactions.
442+
* Optional. If you don't set the `exclude_txn_from_change_streams` option or if it's set to `false`, then any change streams monitoring columns modified by transactions will capture the updates made within that transaction.
443443
*/
444444
excludeTxnFromChangeStreams?: boolean | null;
445445
/**
@@ -1004,11 +1004,11 @@ export namespace spanner_v1 {
10041004
*/
10051005
export interface Schema$DatabaseMoveConfig {
10061006
/**
1007-
* Required. The unique identifier of the database resource in the Instance. For example if the database uri is projects/foo/instances/bar/databases/baz, the id to supply here is baz.
1007+
* Required. The unique identifier of the database resource in the Instance. For example, if the database uri is `projects/foo/instances/bar/databases/baz`, then the id to supply here is baz.
10081008
*/
10091009
databaseId?: string | null;
10101010
/**
1011-
* Optional. Encryption configuration to be used for the database in target configuration. Should be specified for every database which currently uses CMEK encryption. If a database currently uses GOOGLE_MANAGED encryption and a target encryption config is not specified, it defaults to GOOGLE_MANAGED. If a database currently uses Google-managed encryption and a target encryption config is specified, the request is rejected. If a database currently uses CMEK encryption, a target encryption config must be specified. You cannot move a CMEK database to a Google-managed encryption database by MoveInstance.
1011+
* Optional. Encryption configuration to be used for the database in the target configuration. The encryption configuration must be specified for every database which currently uses CMEK encryption. If a database currently uses Google-managed encryption and a target encryption configuration is not specified, then the database defaults to Google-managed encryption. If a database currently uses Google-managed encryption and a target CMEK encryption is specified, the request is rejected. If a database currently uses CMEK encryption, then a target encryption configuration must be specified. You can't move a CMEK database to a Google-managed encryption database using the MoveInstance API.
10121012
*/
10131013
encryptionConfig?: Schema$InstanceEncryptionConfig;
10141014
}

0 commit comments

Comments
 (0)