Skip to content
This repository was archived by the owner on Apr 7, 2026. It is now read-only.

Commit 7c5cd1e

Browse files
Merge 8395404 into 58cebd8
2 parents 58cebd8 + 8395404 commit 7c5cd1e

7 files changed

Lines changed: 2210 additions & 3 deletions

File tree

google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClient.java

Lines changed: 970 additions & 0 deletions
Large diffs are not rendered by default.

google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/package-info.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,13 @@
2626
* list backups for a database and to restore from an existing backup.
2727
*
2828
* <p>Sample for DatabaseAdminClient:
29+
*
30+
* <pre>{@code
31+
* try (DatabaseAdminClient databaseAdminClient = DatabaseAdminClient.create()) {
32+
* DatabaseName name = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]");
33+
* Database response = databaseAdminClient.getDatabase(name);
34+
* }
35+
* }</pre>
2936
*/
3037
@Generated("by gapic-generator-java")
3138
package com.google.cloud.spanner.admin.database.v1;

0 commit comments

Comments
 (0)