# Backup and DR Service V1 API - Class Google::Cloud::BackupDR::V1::DiskDataSourceProperties (v1.10.0)

1.10.0 (latest) 1.9.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.1 1.3.0 1.2.0 1.1.0 1.0.1 0.5.0 0.4.0 0.3.0 0.2.1 0.1.0 Reference documentation and code samples for the Backup and DR Service V1 API class Google::Cloud::BackupDR::V1::DiskDataSourceProperties.

DiskDataSourceProperties represents the properties of a
Disk resource that are stored in the DataSource.
.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #description

    def description() -> ::String

**Returns**

- (::String) --- The description of the disk.

### #description=

    def description=(value) -> ::String

**Parameter**

- **value** (::String) --- The description of the disk.
**Returns**

- (::String) --- The description of the disk.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Name of the disk backed up by the datasource.

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Name of the disk backed up by the datasource.
**Returns**

- (::String) --- Name of the disk backed up by the datasource.

### #size_gb

    def size_gb() -> ::Integer

**Returns**

- (::Integer) --- The size of the disk in GB.

### #size_gb=

    def size_gb=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- The size of the disk in GB.
**Returns**

- (::Integer) --- The size of the disk in GB.

### #type

    def type() -> ::String

**Returns**

- (::String) --- The type of the disk.

### #type=

    def type=(value) -> ::String

**Parameter**

- **value** (::String) --- The type of the disk.
**Returns**

- (::String) --- The type of the disk.