Reference documentation and code samples for the Google Cloud Dataproc Metastore V1beta Client class Backup.
The details of a backup resource.
Generated from protobuf messagegoogle.cloud.metastore.v1beta.Backup
Namespace
Google \ Cloud \ Metastore \ V1beta
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name
string
Immutable. The relative resource name of the backup, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}
Output only. The revision of the service at the time of backup.
↳ description
string
The description of the backup.
↳ restoring_services
array
Output only. Services that are restoring from the backup.
getName
Immutable. The relative resource name of the backup, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}
Returns
Type
Description
string
setName
Immutable. The relative resource name of the backup, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getCreateTime
Output only. The time when the backup was started.
[[["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 Backup (1.1.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.1 (latest)](/php/docs/reference/cloud-dataproc-metastore/latest/V1beta.Backup)\n- [1.1.0](/php/docs/reference/cloud-dataproc-metastore/1.1.0/V1beta.Backup)\n- [1.0.4](/php/docs/reference/cloud-dataproc-metastore/1.0.4/V1beta.Backup)\n- [0.11.5](/php/docs/reference/cloud-dataproc-metastore/0.11.5/V1beta.Backup)\n- [0.10.2](/php/docs/reference/cloud-dataproc-metastore/0.10.2/V1beta.Backup)\n- [0.9.0](/php/docs/reference/cloud-dataproc-metastore/0.9.0/V1beta.Backup)\n- [0.8.1](/php/docs/reference/cloud-dataproc-metastore/0.8.1/V1beta.Backup)\n- [0.7.0](/php/docs/reference/cloud-dataproc-metastore/0.7.0/V1beta.Backup)\n- [0.6.1](/php/docs/reference/cloud-dataproc-metastore/0.6.1/V1beta.Backup)\n- [0.5.1](/php/docs/reference/cloud-dataproc-metastore/0.5.1/V1beta.Backup)\n- [0.4.1](/php/docs/reference/cloud-dataproc-metastore/0.4.1/V1beta.Backup) \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 Backup.\n\nThe details of a backup resource.\n\nGenerated from protobuf message `google.cloud.metastore.v1beta.Backup`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Metastore \\\\ V1beta\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nImmutable. The relative resource name of the backup, in the following form:\n`projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}`\n\n### setName\n\nImmutable. The relative resource name of the backup, in the following form:\n`projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}`\n\n### getCreateTime\n\nOutput only. The time when the backup was started.\n\n### hasCreateTime\n\n### clearCreateTime\n\n### setCreateTime\n\nOutput only. The time when the backup was started.\n\n### getEndTime\n\nOutput only. The time when the backup finished creating.\n\n### hasEndTime\n\n### clearEndTime\n\n### setEndTime\n\nOutput only. The time when the backup finished creating.\n\n### getState\n\nOutput only. The current state of the backup.\n\n### setState\n\nOutput only. The current state of the backup.\n\n### getServiceRevision\n\nOutput only. The revision of the service at the time of backup.\n\n### hasServiceRevision\n\n### clearServiceRevision\n\n### setServiceRevision\n\nOutput only. The revision of the service at the time of backup.\n\n### getDescription\n\nThe description of the backup.\n\n### setDescription\n\nThe description of the backup.\n\n### getRestoringServices\n\nOutput only. Services that are restoring from the backup.\n\n### setRestoringServices\n\nOutput only. Services that are restoring from the backup."]]