Uses of Class
com.google.cloud.spanner.InstanceId
Packages that use InstanceId
Package
Description
A client for Cloud Spanner - A no-compromise relational database service.
-
Uses of InstanceId in com.google.cloud.spanner
Methods in com.google.cloud.spanner that return InstanceIdModifier and TypeMethodDescriptionInstanceInfo.getId()Returns the identifier of the instance.BackupId.getInstanceId()Returns the instance id for this backup.BackupInfo.getInstanceId()Returns the id of the instance that the backup belongs to.DatabaseId.getInstanceId()Returns the instance id for this database.static InstanceIdCreates anInstanceIdgiven project and instance IDs.Methods in com.google.cloud.spanner with parameters of type InstanceIdModifier and TypeMethodDescriptionstatic InstanceInfo.BuilderInstanceInfo.newBuilder(InstanceId id) InstanceAdminClient.newInstanceBuilder(InstanceId id) Returns a builder forInstanceobject with the given id.static BackupIdBackupId.of(InstanceId instanceId, String backup) Creates aBackupIdgiven the instance identity and backup id.static DatabaseIdDatabaseId.of(InstanceId instanceId, String database) Creates aDatabaseIdgiven the instance identity and database id. -
Uses of InstanceId in com.google.cloud.spanner.testing
Methods in com.google.cloud.spanner.testing that return InstanceIdMethods in com.google.cloud.spanner.testing with parameters of type InstanceIdModifier and TypeMethodDescriptionstatic RemoteSpannerHelperRemoteSpannerHelper.create(InstanceId instanceId) Creates aRemoteSpannerHelperbound to the given instance ID.static RemoteSpannerHelperRemoteSpannerHelper.create(SpannerOptions options, InstanceId instanceId) Creates aRemoteSpannerHelperfor the given option and bound to the given instance ID.Constructors in com.google.cloud.spanner.testing with parameters of type InstanceIdModifierConstructorDescriptionprotectedRemoteSpannerHelper(SpannerOptions options, InstanceId instanceId, Spanner client)