# AlloyDB V1ALPHA API - Class Google::Cloud::AlloyDB::V1alpha::BackupSource (v0.22.0)

0.22.0 (latest) 0.21.0 0.20.0 0.19.0 0.18.0 0.17.1 0.16.0 0.15.0 0.14.1 0.13.0 0.12.0 0.11.1 0.10.0 0.9.0 0.8.0 0.7.2 0.6.0 0.5.2 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the AlloyDB V1ALPHA API class Google::Cloud::AlloyDB::V1alpha::BackupSource.

Message describing a BackupSource.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #backup_name

    def backup_name() -> ::String

**Returns**

- (::String) --- Required. The name of the backup resource with the format:

  - projects/{project}/locations/{region}/backups/{backup_id}

### #backup_name=

    def backup_name=(value) -> ::String

**Parameter**

- **value** (::String) ---

  Required. The name of the backup resource with the format:
  - projects/{project}/locations/{region}/backups/{backup_id}
**Returns**

- (::String) --- Required. The name of the backup resource with the format:

  - projects/{project}/locations/{region}/backups/{backup_id}

### #backup_uid

    def backup_uid() -> ::String

**Returns**

- (::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.