Reference documentation and code samples for the Google Cloud AlloyDB for PostgreSQL V1 Client class BackupSource.
Message describing a BackupSource.
Generated from protobuf messagegoogle.cloud.alloydb.v1.BackupSource
Namespace
Google \ Cloud \ AlloyDb \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ backup_uid
string
Output only. The system-generated UID of the backup which was used to create this resource. The UID is generated when the backup is created, and it is retained until the backup is deleted.
↳ backup_name
string
Required. The name of the backup resource with the format: * * projects/{project}/locations/{region}/backups/{backup_id}
getBackupUid
Output only. The system-generated UID of the backup which was used to
create this resource. The UID is generated when the backup is created, and
it is retained until the backup is deleted.
Returns
Type
Description
string
setBackupUid
Output only. The system-generated UID of the backup which was used to
create this resource. The UID is generated when the backup is created, and
it is retained until the backup is deleted.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getBackupName
Required. The name of the backup resource with the format:
[[["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 AlloyDB for PostgreSQL V1 Client - Class BackupSource (1.4.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.1 (latest)](/php/docs/reference/cloud-alloydb/latest/V1.BackupSource)\n- [1.4.0](/php/docs/reference/cloud-alloydb/1.4.0/V1.BackupSource)\n- [1.3.0](/php/docs/reference/cloud-alloydb/1.3.0/V1.BackupSource)\n- [1.2.0](/php/docs/reference/cloud-alloydb/1.2.0/V1.BackupSource)\n- [1.1.3](/php/docs/reference/cloud-alloydb/1.1.3/V1.BackupSource)\n- [1.0.0](/php/docs/reference/cloud-alloydb/1.0.0/V1.BackupSource)\n- [0.10.3](/php/docs/reference/cloud-alloydb/0.10.3/V1.BackupSource)\n- [0.9.0](/php/docs/reference/cloud-alloydb/0.9.0/V1.BackupSource)\n- [0.8.0](/php/docs/reference/cloud-alloydb/0.8.0/V1.BackupSource)\n- [0.7.1](/php/docs/reference/cloud-alloydb/0.7.1/V1.BackupSource)\n- [0.6.0](/php/docs/reference/cloud-alloydb/0.6.0/V1.BackupSource)\n- [0.5.0](/php/docs/reference/cloud-alloydb/0.5.0/V1.BackupSource)\n- [0.4.0](/php/docs/reference/cloud-alloydb/0.4.0/V1.BackupSource)\n- [0.3.0](/php/docs/reference/cloud-alloydb/0.3.0/V1.BackupSource)\n- [0.2.1](/php/docs/reference/cloud-alloydb/0.2.1/V1.BackupSource)\n- [0.1.3](/php/docs/reference/cloud-alloydb/0.1.3/V1.BackupSource) \nReference documentation and code samples for the Google Cloud AlloyDB for PostgreSQL V1 Client class BackupSource.\n\nMessage describing a BackupSource.\n\nGenerated from protobuf message `google.cloud.alloydb.v1.BackupSource`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ AlloyDb \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getBackupUid\n\nOutput only. The system-generated UID of the backup which was used to\ncreate this resource. The UID is generated when the backup is created, and\nit is retained until the backup is deleted.\n\n### setBackupUid\n\nOutput only. The system-generated UID of the backup which was used to\ncreate this resource. The UID is generated when the backup is created, and\nit is retained until the backup is deleted.\n\n### getBackupName\n\nRequired. The name of the backup resource with the format:\n\n- projects/{project}/locations/{region}/backups/{backup_id}\n\n### setBackupName\n\nRequired. The name of the backup resource with the format:\n\n- projects/{project}/locations/{region}/backups/{backup_id}"]]