Skip to content
Permalink
Browse files
feat: generate sample code in the Java microgenerator (#859)
Committer: @miraleung
PiperOrigin-RevId: 356341083

Source-Author: Google APIs <noreply@google.com>
Source-Date: Mon Feb 8 13:33:28 2021 -0800
Source-Repo: googleapis/googleapis
Source-Sha: 8d8c008e56f1af31d57f75561e0f1848ffb29eeb
Source-Link: googleapis/googleapis@8d8c008
  • Loading branch information
yoshi-automation committed Feb 9, 2021
1 parent c86fb5e commit 7cdfb82b40487600547d0bad92119508161ca689

Large diffs are not rendered by default.

@@ -26,6 +26,13 @@
* list backups for a database and to restore from an existing backup.
*
* <p>Sample for DatabaseAdminClient:
*
* <pre>{@code
* try (DatabaseAdminClient databaseAdminClient = DatabaseAdminClient.create()) {
* DatabaseName name = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]");
* Database response = databaseAdminClient.getDatabase(name);
* }
* }</pre>
*/
@Generated("by gapic-generator-java")
package com.google.cloud.spanner.admin.database.v1;

0 comments on commit 7cdfb82

Please sign in to comment.