Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class InstancesRestoreBackupRequest.
Database instance restore backup request.
Generated from protobuf message google.cloud.sql.v1.InstancesRestoreBackupRequest
Namespace
Google \ Cloud \ Sql \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ restore_backup_context
↳ backup
string
The name of the backup that's used to restore a Cloud SQL instance: Format: projects/{project-id}/backups/{backup-uid}. Only one of restore_backup_context, backup, backupdr_backup can be passed to the input.
↳ backupdr_backup
string
The name of the backup that's used to restore a Cloud SQL instance: Format: "projects/{project-id}/locations/{location}/backupVaults/{backupvault}/dataSources/{datasource}/backups/{backup-uid}". Only one of restore_backup_context, backup, backupdr_backup can be passed to the input.
↳ restore_instance_settings
DatabaseInstance
Optional. By using this parameter, Cloud SQL overrides any instance settings stored in the backup you are restoring from. You can't change the instance's major database version and you can only increase the disk size. You can use this field to restore new instances only. This field is not applicable for restore to existing instances.
↳ restore_instance_clear_overrides_field_names
string[]
Optional. This field has the same purpose as restore_instance_settings, changes any instance settings stored in the backup you are restoring from. With the difference that these fields are cleared in the settings.
getRestoreBackupContext
Parameters required to perform the restore backup operation.
hasRestoreBackupContext
clearRestoreBackupContext
setRestoreBackupContext
Parameters required to perform the restore backup operation.
$this
getBackup
The name of the backup that's used to restore a Cloud SQL instance: Format: projects/{project-id}/backups/{backup-uid}. Only one of restore_backup_context, backup, backupdr_backup can be passed to the input.
string
setBackup
The name of the backup that's used to restore a Cloud SQL instance: Format: projects/{project-id}/backups/{backup-uid}. Only one of restore_backup_context, backup, backupdr_backup can be passed to the input.
var
string
$this
getBackupdrBackup
The name of the backup that's used to restore a Cloud SQL instance: Format: "projects/{project-id}/locations/{location}/backupVaults/{backupvault}/dataSources/{datasource}/backups/{backup-uid}".
Only one of restore_backup_context, backup, backupdr_backup can be passed to the input.
string
setBackupdrBackup
The name of the backup that's used to restore a Cloud SQL instance: Format: "projects/{project-id}/locations/{location}/backupVaults/{backupvault}/dataSources/{datasource}/backups/{backup-uid}".
Only one of restore_backup_context, backup, backupdr_backup can be passed to the input.
var
string
$this
getRestoreInstanceSettings
Optional. By using this parameter, Cloud SQL overrides any instance settings stored in the backup you are restoring from. You can't change the instance's major database version and you can only increase the disk size.
You can use this field to restore new instances only. This field is not applicable for restore to existing instances.
hasRestoreInstanceSettings
clearRestoreInstanceSettings
setRestoreInstanceSettings
Optional. By using this parameter, Cloud SQL overrides any instance settings stored in the backup you are restoring from. You can't change the instance's major database version and you can only increase the disk size.
You can use this field to restore new instances only. This field is not applicable for restore to existing instances.
$this
getRestoreInstanceClearOverridesFieldNames
Optional. This field has the same purpose as restore_instance_settings, changes any instance settings stored in the backup you are restoring from.
With the difference that these fields are cleared in the settings.
setRestoreInstanceClearOverridesFieldNames
Optional. This field has the same purpose as restore_instance_settings, changes any instance settings stored in the backup you are restoring from.
With the difference that these fields are cleared in the settings.
var
string[]
$this

