Reference documentation and code samples for the Cloud Spanner V1 Client class RestoreInfo.
Information about the database restore.
Generated from protobuf message google.spanner.admin.database.v1.RestoreInfo
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ source_type |
int
The type of the restore source. |
↳ backup_info |
Google\Cloud\Spanner\Admin\Database\V1\BackupInfo
Information about the backup used to restore the database. The backup may no longer exist. |
getSourceType
The type of the restore source.
Generated from protobuf field .google.spanner.admin.database.v1.RestoreSourceType source_type = 1;
Returns | |
---|---|
Type | Description |
int |
setSourceType
The type of the restore source.
Generated from protobuf field .google.spanner.admin.database.v1.RestoreSourceType source_type = 1;
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getBackupInfo
Information about the backup used to restore the database. The backup may no longer exist.
Generated from protobuf field .google.spanner.admin.database.v1.BackupInfo backup_info = 2;
Returns | |
---|---|
Type | Description |
Google\Cloud\Spanner\Admin\Database\V1\BackupInfo|null |
hasBackupInfo
setBackupInfo
Information about the backup used to restore the database. The backup may no longer exist.
Generated from protobuf field .google.spanner.admin.database.v1.BackupInfo backup_info = 2;
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Spanner\Admin\Database\V1\BackupInfo
|
Returns | |
---|---|
Type | Description |
$this |
getSourceInfo
Returns | |
---|---|
Type | Description |
string |