Reference documentation and code samples for the Google Cloud Sql Admin V1beta4 Client class RestoreBackupContext.
Database instance restore from backup context.
Backup context contains source instance id and project id.
Generated from protobuf message google.cloud.sql.v1beta4.RestoreBackupContext
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ kind
string
This is always sql#restoreBackupContext
.
↳ backup_run_id
int|string
The ID of the backup run to restore from.
↳ instance_id
string
The ID of the instance that the backup was taken from.
↳ project
string
The full project ID of the source instance.
getKind
This is always sql#restoreBackupContext
.
string
setKind
This is always sql#restoreBackupContext
.
var
string
$this
getBackupRunId
The ID of the backup run to restore from.
int|string
setBackupRunId
The ID of the backup run to restore from.
var
int|string
$this
getInstanceId
The ID of the instance that the backup was taken from.
string
setInstanceId
The ID of the instance that the backup was taken from.
var
string
$this
getProject
The full project ID of the source instance.
string
setProject
The full project ID of the source instance.
var
string
$this