Reference documentation and code samples for the Cloud SQL Admin V1 API class Google::Cloud::Sql::V1::InstancesRestoreBackupRequest.
Database instance restore backup request.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#backup
def backup() -> ::String
Returns
- (::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.
#backup=
def backup=(value) -> ::String
Parameter
- value (::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.
Returns
- (::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
def backupdr_backup() -> ::String
Returns
- (::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.
#backupdr_backup=
def backupdr_backup=(value) -> ::String
Parameter
- value (::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.
Returns
- (::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_backup_context
def restore_backup_context() -> ::Google::Cloud::Sql::V1::RestoreBackupContext
Returns
- (::Google::Cloud::Sql::V1::RestoreBackupContext) — Parameters required to perform the restore backup operation.
#restore_backup_context=
def restore_backup_context=(value) -> ::Google::Cloud::Sql::V1::RestoreBackupContext
Parameter
- value (::Google::Cloud::Sql::V1::RestoreBackupContext) — Parameters required to perform the restore backup operation.
Returns
- (::Google::Cloud::Sql::V1::RestoreBackupContext) — Parameters required to perform the restore backup operation.
#restore_instance_clear_overrides_field_names
def restore_instance_clear_overrides_field_names() -> ::Array<::String>
Returns
- (::Array<::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.
#restore_instance_clear_overrides_field_names=
def restore_instance_clear_overrides_field_names=(value) -> ::Array<::String>
Parameter
- value (::Array<::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.
Returns
- (::Array<::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.
#restore_instance_settings
def restore_instance_settings() -> ::Google::Cloud::Sql::V1::DatabaseInstance
Returns
- (::Google::Cloud::Sql::V1::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_settings=
def restore_instance_settings=(value) -> ::Google::Cloud::Sql::V1::DatabaseInstance
Parameter
- value (::Google::Cloud::Sql::V1::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.
Returns
- (::Google::Cloud::Sql::V1::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.