Reference documentation and code samples for the Google Cloud AlloyDB for PostgreSQL V1 Client class BackupSource.
Message describing a BackupSource.
Generated from protobuf message google.cloud.alloydb.v1.BackupSource
Namespace
Google \ Cloud \ AlloyDb \ V1Methods
__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:
- projects/{project}/locations/{region}/backups/{backup_id}
Returns | |
---|---|
Type | Description |
string |
setBackupName
Required. The name of the backup resource with the format:
- projects/{project}/locations/{region}/backups/{backup_id}
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |