Skip to content

Commit a29af56

Browse files
feat: add throughput_mode to UpdateDatabaseDdlRequest to be used by Spanner Migration Tool. See https://github.com/GoogleCloudPlatform/spanner-migration-tool (#2304)
* feat: add throughput_mode to UpdateDatabaseDdlRequest to be used by Spanner Migration Tool. See https://github.com/GoogleCloudPlatform/spanner-migration-tool PiperOrigin-RevId: 759735605 Source-Link: googleapis/googleapis@cbc536a Source-Link: googleapis/googleapis-gen@a5d1878 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYTVkMTg3OGY0ZjBiZjAxZWI5ZTg4YzBjOGMxNjkyYTIzOGZlNmU0YyJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 2e413f5 commit a29af56

File tree

5 files changed

+45
-0
lines changed

5 files changed

+45
-0
lines changed

protos/google/spanner/admin/database/v1/spanner_database_admin.proto

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -813,6 +813,11 @@ message UpdateDatabaseDdlRequest {
813813
// For more details, see protobuffer [self
814814
// description](https://developers.google.com/protocol-buffers/docs/techniques#self-description).
815815
bytes proto_descriptors = 4 [(google.api.field_behavior) = OPTIONAL];
816+
817+
// Optional. This field is exposed to be used by the Spanner Migration Tool.
818+
// For more details, see
819+
// [SMT](https://github.com/GoogleCloudPlatform/spanner-migration-tool).
820+
bool throughput_mode = 5 [(google.api.field_behavior) = OPTIONAL];
816821
}
817822

818823
// Action information extracted from a DDL statement. This proto is used to

protos/protos.d.ts

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

protos/protos.js

Lines changed: 23 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

protos/protos.json

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/v1/database_admin_client.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2814,6 +2814,10 @@ export class DatabaseAdminClient {
28142814
* ```
28152815
* For more details, see protobuffer [self
28162816
* description](https://developers.google.com/protocol-buffers/docs/techniques#self-description).
2817+
* @param {boolean} [request.throughputMode]
2818+
* Optional. This field is exposed to be used by the Spanner Migration Tool.
2819+
* For more details, see
2820+
* [SMT](https://github.com/GoogleCloudPlatform/spanner-migration-tool).
28172821
* @param {object} [options]
28182822
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
28192823
* @returns {Promise} - The promise which resolves to an array.

0 commit comments

Comments
 (0)