Cloud Spanner V1 Client - Class RestoreInfo (1.54.2)

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

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
Returns
Type
Description
$this

getSourceInfo

Returns
Type
Description
string
Design a Mobile Site
View Site in Mobile | Classic
Share by: