Reference documentation and code samples for the Google Cloud Backup Dr V1 Client class RestoreBackupRequest.
Request message for restoring from a Backup.
Generated from protobuf message google.cloud.backupdr.v1.RestoreBackupRequest
Namespace
Google \ Cloud \ BackupDR \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. The resource name of the Backup instance, in the format 'projects/ /locations/ /backupVaults/ /dataSources/ /backups/'.
↳ request_id
string
Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
↳ compute_instance_target_environment
↳ disk_target_environment
↳ region_disk_target_environment
↳ compute_instance_restore_properties
ComputeInstanceRestoreProperties
Compute Engine instance properties to be overridden during restore.
↳ disk_restore_properties
getName
Required. The resource name of the Backup instance, in the format 'projects/ /locations/ /backupVaults/ /dataSources/ /backups/'.
string
setName
Required. The resource name of the Backup instance, in the format 'projects/ /locations/ /backupVaults/ /dataSources/ /backups/'.
var
string
$this
getRequestId
Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
string
setRequestId
Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
var
string
$this
getComputeInstanceTargetEnvironment
Compute Engine target environment to be used during restore.
hasComputeInstanceTargetEnvironment
setComputeInstanceTargetEnvironment
Compute Engine target environment to be used during restore.
$this
getDiskTargetEnvironment
Disk target environment to be used during restore.
hasDiskTargetEnvironment
setDiskTargetEnvironment
Disk target environment to be used during restore.
$this
getRegionDiskTargetEnvironment
Region disk target environment to be used during restore.
hasRegionDiskTargetEnvironment
setRegionDiskTargetEnvironment
Region disk target environment to be used during restore.
$this
getComputeInstanceRestoreProperties
Compute Engine instance properties to be overridden during restore.
hasComputeInstanceRestoreProperties
setComputeInstanceRestoreProperties
Compute Engine instance properties to be overridden during restore.
$this
getDiskRestoreProperties
Disk properties to be overridden during restore.
hasDiskRestoreProperties
setDiskRestoreProperties
Disk properties to be overridden during restore.
$this
getTargetEnvironment
string
getInstanceProperties
string
static::build
name
string
Required. The resource name of the Backup instance, in the format 'projects/ /locations/ /backupVaults/ /dataSources/ /backups/'. Please see BackupDRClient::backupName() for help formatting this field.