Class: Google::Spanner::Admin::Database::V1::CreateBackupRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/spanner/admin/database/v1/doc/google/spanner/admin/database/v1/backup.rb

Overview

The request for CreateBackup.

Instance Attribute Summary collapse

Instance Attribute Details

#backupGoogle::Spanner::Admin::Database::V1::Backup

Returns Required. The backup to create.

Returns:



105
# File 'lib/google/cloud/spanner/admin/database/v1/doc/google/spanner/admin/database/v1/backup.rb', line 105

class CreateBackupRequest; end

#backup_idString

Returns Required. The id of the backup to be created. The backup_id appended to parent forms the full backup name of the form projects/<project>/instances/<instance>/backups/<backup_id>.

Returns:

  • (String)

    Required. The id of the backup to be created. The backup_id appended to parent forms the full backup name of the form projects/<project>/instances/<instance>/backups/<backup_id>.



105
# File 'lib/google/cloud/spanner/admin/database/v1/doc/google/spanner/admin/database/v1/backup.rb', line 105

class CreateBackupRequest; end

#parentString

Returns Required. The name of the instance in which the backup will be created. This must be the same instance that contains the database the backup will be created from. The backup will be stored in the location(s) specified in the instance configuration of this instance. Values are of the form projects/<project>/instances/<instance>.

Returns:

  • (String)

    Required. The name of the instance in which the backup will be created. This must be the same instance that contains the database the backup will be created from. The backup will be stored in the location(s) specified in the instance configuration of this instance. Values are of the form projects/<project>/instances/<instance>.



105
# File 'lib/google/cloud/spanner/admin/database/v1/doc/google/spanner/admin/database/v1/backup.rb', line 105

class CreateBackupRequest; end