Reference documentation and code samples for the Google Cloud Filestore V1 Client class RestoreInstanceRequest.
RestoreInstanceRequest restores an existing instance's file share from a backup.
Generated from protobuf message google.cloud.filestore.v1.RestoreInstanceRequest
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. The resource name of the instance, in the format projects/{project_number}/locations/{location_id}/instances/{instance_id}
.
↳ file_share
string
Required. Name of the file share in the Filestore instance that the backup is being restored to.
↳ source_backup
string
The resource name of the backup, in the format projects/{project_number}/locations/{location_id}/backups/{backup_id}
.
getName
Required. The resource name of the instance, in the format projects/{project_number}/locations/{location_id}/instances/{instance_id}
.
string
setName
Required. The resource name of the instance, in the format projects/{project_number}/locations/{location_id}/instances/{instance_id}
.
var
string
$this
getFileShare
Required. Name of the file share in the Filestore instance that the backup is being restored to.
string
setFileShare
Required. Name of the file share in the Filestore instance that the backup is being restored to.
var
string
$this
getSourceBackup
The resource name of the backup, in the format projects/{project_number}/locations/{location_id}/backups/{backup_id}
.
string
hasSourceBackup
setSourceBackup
The resource name of the backup, in the format projects/{project_number}/locations/{location_id}/backups/{backup_id}
.
var
string
$this
getSource
string