Output only. The relative resource name of the metastore service backup to restore from, in the following form:projects/{project_id}/locations/{location_id}/services/{service_id}/backups/{backup_id}.
↳ type
int
Output only. The type of restore.
↳ details
string
Output only. The restore details containing the revision of the service to be restored to, in format of JSON.
Output only. The relative resource name of the metastore service backup to
restore from, in the following form:projects/{project_id}/locations/{location_id}/services/{service_id}/backups/{backup_id}.
Returns
Type
Description
string
setBackup
Output only. The relative resource name of the metastore service backup to
restore from, in the following form:projects/{project_id}/locations/{location_id}/services/{service_id}/backups/{backup_id}.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getType
Output only. The type of restore.
Returns
Type
Description
int
setType
Output only. The type of restore.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getDetails
Output only. The restore details containing the revision of the service to
be restored to, in format of JSON.
Returns
Type
Description
string
setDetails
Output only. The restore details containing the revision of the service to
be restored to, in format of JSON.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Dataproc Metastore V1beta Client - Class Restore (1.1.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.1 (latest)](/php/docs/reference/cloud-dataproc-metastore/latest/V1beta.Restore)\n- [1.1.0](/php/docs/reference/cloud-dataproc-metastore/1.1.0/V1beta.Restore)\n- [1.0.4](/php/docs/reference/cloud-dataproc-metastore/1.0.4/V1beta.Restore)\n- [0.11.5](/php/docs/reference/cloud-dataproc-metastore/0.11.5/V1beta.Restore)\n- [0.10.2](/php/docs/reference/cloud-dataproc-metastore/0.10.2/V1beta.Restore)\n- [0.9.0](/php/docs/reference/cloud-dataproc-metastore/0.9.0/V1beta.Restore)\n- [0.8.1](/php/docs/reference/cloud-dataproc-metastore/0.8.1/V1beta.Restore)\n- [0.7.0](/php/docs/reference/cloud-dataproc-metastore/0.7.0/V1beta.Restore)\n- [0.6.1](/php/docs/reference/cloud-dataproc-metastore/0.6.1/V1beta.Restore)\n- [0.5.1](/php/docs/reference/cloud-dataproc-metastore/0.5.1/V1beta.Restore)\n- [0.4.1](/php/docs/reference/cloud-dataproc-metastore/0.4.1/V1beta.Restore) \n| **Beta**\n|\n|\n| This library is covered by the [Pre-GA Offerings Terms](/terms/service-terms#1)\n| of the Terms of Service. Pre-GA libraries might have limited support,\n| and changes to pre-GA libraries might not be compatible with other pre-GA versions.\n| For more information, see the\n[launch stage descriptions](/products#product-launch-stages). \nReference documentation and code samples for the Google Cloud Dataproc Metastore V1beta Client class Restore.\n\nThe details of a metadata restore operation.\n\nGenerated from protobuf message `google.cloud.metastore.v1beta.Restore`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Metastore \\\\ V1beta\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getStartTime\n\nOutput only. The time when the restore started.\n\n### hasStartTime\n\n### clearStartTime\n\n### setStartTime\n\nOutput only. The time when the restore started.\n\n### getEndTime\n\nOutput only. The time when the restore ended.\n\n### hasEndTime\n\n### clearEndTime\n\n### setEndTime\n\nOutput only. The time when the restore ended.\n\n### getState\n\nOutput only. The current state of the restore.\n\n### setState\n\nOutput only. The current state of the restore.\n\n### getBackup\n\nOutput only. The relative resource name of the metastore service backup to\nrestore from, in the following form:\n`projects/{project_id}/locations/{location_id}/services/{service_id}/backups/{backup_id}`.\n\n### setBackup\n\nOutput only. The relative resource name of the metastore service backup to\nrestore from, in the following form:\n`projects/{project_id}/locations/{location_id}/services/{service_id}/backups/{backup_id}`.\n\n### getType\n\nOutput only. The type of restore.\n\n### setType\n\nOutput only. The type of restore.\n\n### getDetails\n\nOutput only. The restore details containing the revision of the service to\nbe restored to, in format of JSON.\n\n### setDetails\n\nOutput only. The restore details containing the revision of the service to\nbe restored to, in format of JSON."]]