Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(spanner): add emulator support for the admin client autogenerate…
…d API samples (#1994) This PR introduces emulator support for the API samples, which are using admin client autogenerated methods. **Sample usage** For Instance samples: ``` const {Spanner} = require('@google-cloud/spanner'); const spanner = new Spanner({ projectId: projectId, }); const instanceAdminClient = spanner.get_instance_admin_client(); ``` For Database samples: ``` const {Spanner} = require('@google-cloud/spanner'); const spanner = new Spanner({ projectId: projectID, }); const databaseAdminClient = spanner.get_database_admin_client(); ```
- Loading branch information
1 parent
53e529f
commit e2fe5b7
Showing
4 changed files
with
169 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,3 +13,4 @@ system-test/*key.json | |
package-lock.json | ||
__pycache__ | ||
.idea | ||
.vscode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters