Class: Google::Spanner::Admin::Database::V1::RestoreDatabaseRequest
- Inherits:
-
Object
- Object
- Google::Spanner::Admin::Database::V1::RestoreDatabaseRequest
- Defined in:
- lib/google/cloud/spanner/admin/database/v1/doc/google/spanner/admin/database/v1/spanner_database_admin.rb
Overview
The request for RestoreDatabase.
Instance Attribute Summary collapse
-
#backup ⇒ String
Name of the backup from which to restore.
-
#database_id ⇒ String
Required.
-
#parent ⇒ String
Required.
Instance Attribute Details
#backup ⇒ String
Returns Name of the backup from which to restore. Values are of the form
projects/<project>/instances/<instance>/backups/<backup>.
310 |
# File 'lib/google/cloud/spanner/admin/database/v1/doc/google/spanner/admin/database/v1/spanner_database_admin.rb', line 310 class RestoreDatabaseRequest; end |
#database_id ⇒ String
Returns Required. The id of the database to create and restore to. This
database must not already exist. The database_id appended to
parent forms the full database name of the form
projects/<project>/instances/<instance>/databases/<database_id>.
310 |
# File 'lib/google/cloud/spanner/admin/database/v1/doc/google/spanner/admin/database/v1/spanner_database_admin.rb', line 310 class RestoreDatabaseRequest; end |
#parent ⇒ String
Returns Required. The name of the instance in which to create the
restored database. This instance must be in the same project and
have the same instance configuration as the instance containing
the source backup. Values are of the form
projects/<project>/instances/<instance>.
310 |
# File 'lib/google/cloud/spanner/admin/database/v1/doc/google/spanner/admin/database/v1/spanner_database_admin.rb', line 310 class RestoreDatabaseRequest; end |