Sha256: 6135db8a83469540fe4ea87094806ebfdf5e7f40f306df2db10ac51c03b36077
Contents?: true
Size: 643 Bytes
Versions: 22
Compression:
Stored size: 643 Bytes
Contents
# Copyright 2021 Google LLC # # Use of this source code is governed by an MIT-style # license that can be found in the LICENSE file or at # https://opensource.org/licenses/MIT. require "google/cloud/spanner" spanner = Google::Cloud::Spanner.new project: "test-project", emulator_host: "localhost:9010" job = spanner.create_instance "test-instance", name: "Test Instance", config: "emulator-config", nodes: 1 job.wait_until_done! instance = spanner.instance "test-instance" job = instance.create_database "testdb", statements: [] job.wait_until_done!
Version data entries
22 entries across 22 versions & 1 rubygems