Backup and DR Service V1 API - Class Google::Cloud::BackupDR::V1::DiskDataSourceProperties (v1.2.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.