Google Cloud AlloyDB for PostgreSQL V1alpha Client - Class BackupSource (0.3.0)

Reference documentation and code samples for the Google Cloud AlloyDB for PostgreSQL V1alpha Client class BackupSource.

Message describing a BackupSource.

Generated from protobuf message google.cloud.alloydb.v1alpha.BackupSource

Namespace

Google \ Cloud \ AlloyDb \ V1alpha

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getBackupName

Required. The name of the backup resource with the format:

  • projects/{project}/locations/{region}/backups/{backup_id}
Returns
TypeDescription
string

setBackupName

Required. The name of the backup resource with the format:

  • projects/{project}/locations/{region}/backups/{backup_id}
Parameter
NameDescription
var string
Returns
TypeDescription
$this