Backup and DR Service V1 API - Class Google::Cloud::BackupDR::V1::DiskRestoreProperties (v1.2.0)

Reference documentation and code samples for the Backup and DR Service V1 API class Google::Cloud::BackupDR::V1::DiskRestoreProperties.

DiskRestoreProperties represents the properties of a Disk restore.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#access_mode

def access_mode() -> ::Google::Cloud::BackupDR::V1::DiskRestoreProperties::AccessMode
Returns

#access_mode=

def access_mode=(value) -> ::Google::Cloud::BackupDR::V1::DiskRestoreProperties::AccessMode
Parameter
Returns

#architecture

def architecture() -> ::Google::Cloud::BackupDR::V1::DiskRestoreProperties::Architecture
Returns

#architecture=

def architecture=(value) -> ::Google::Cloud::BackupDR::V1::DiskRestoreProperties::Architecture
Parameter
Returns

#description

def description() -> ::String
Returns
  • (::String) — Optional. An optional description of this resource. Provide this property when you create the resource.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — Optional. An optional description of this resource. Provide this property when you create the resource.
Returns
  • (::String) — Optional. An optional description of this resource. Provide this property when you create the resource.

#disk_encryption_key

def disk_encryption_key() -> ::Google::Cloud::BackupDR::V1::CustomerEncryptionKey
Returns

#disk_encryption_key=

def disk_encryption_key=(value) -> ::Google::Cloud::BackupDR::V1::CustomerEncryptionKey
Parameter
Returns

#enable_confidential_compute

def enable_confidential_compute() -> ::Boolean
Returns
  • (::Boolean) — Optional. Indicates whether this disk is using confidential compute mode. Encryption with a Cloud KMS key is required to enable this option.

#enable_confidential_compute=

def enable_confidential_compute=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. Indicates whether this disk is using confidential compute mode. Encryption with a Cloud KMS key is required to enable this option.
Returns
  • (::Boolean) — Optional. Indicates whether this disk is using confidential compute mode. Encryption with a Cloud KMS key is required to enable this option.

#guest_os_feature

def guest_os_feature() -> ::Array<::Google::Cloud::BackupDR::V1::GuestOsFeature>
Returns

#guest_os_feature=

def guest_os_feature=(value) -> ::Array<::Google::Cloud::BackupDR::V1::GuestOsFeature>
Parameter
Returns

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels to apply to this disk. These can be modified later using setLabels method. Label values can be empty.

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels to apply to this disk. These can be modified later using setLabels method. Label values can be empty.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels to apply to this disk. These can be modified later using setLabels method. Label values can be empty.

#licenses

def licenses() -> ::Array<::String>
Returns
  • (::Array<::String>) — Optional. A list of publicly available licenses that are applicable to this backup. This is applicable if the original image had licenses attached, e.g. Windows image

#licenses=

def licenses=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Optional. A list of publicly available licenses that are applicable to this backup. This is applicable if the original image had licenses attached, e.g. Windows image
Returns
  • (::Array<::String>) — Optional. A list of publicly available licenses that are applicable to this backup. This is applicable if the original image had licenses attached, e.g. Windows image

#name

def name() -> ::String
Returns
  • (::String) — Required. Name of the disk.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. Name of the disk.
Returns
  • (::String) — Required. Name of the disk.

#physical_block_size_bytes

def physical_block_size_bytes() -> ::Integer
Returns
  • (::Integer) — Optional. Physical block size of the persistent disk, in bytes. If not present in a request, a default value is used. Currently, the supported size is 4096.

#physical_block_size_bytes=

def physical_block_size_bytes=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. Physical block size of the persistent disk, in bytes. If not present in a request, a default value is used. Currently, the supported size is 4096.
Returns
  • (::Integer) — Optional. Physical block size of the persistent disk, in bytes. If not present in a request, a default value is used. Currently, the supported size is 4096.

#provisioned_iops

def provisioned_iops() -> ::Integer
Returns
  • (::Integer) — Optional. Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle.

#provisioned_iops=

def provisioned_iops=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle.
Returns
  • (::Integer) — Optional. Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle.

#provisioned_throughput

def provisioned_throughput() -> ::Integer
Returns
  • (::Integer) — Optional. Indicates how much throughput to provision for the disk. This sets the number of throughput MB per second that the disk can handle.

#provisioned_throughput=

def provisioned_throughput=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. Indicates how much throughput to provision for the disk. This sets the number of throughput MB per second that the disk can handle.
Returns
  • (::Integer) — Optional. Indicates how much throughput to provision for the disk. This sets the number of throughput MB per second that the disk can handle.

#resource_manager_tags

def resource_manager_tags() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Resource manager tags to be bound to the disk.

#resource_manager_tags=

def resource_manager_tags=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Optional. Resource manager tags to be bound to the disk.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Resource manager tags to be bound to the disk.

#resource_policy

def resource_policy() -> ::Array<::String>
Returns
  • (::Array<::String>) — Optional. Resource policies applied to this disk.

#resource_policy=

def resource_policy=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Optional. Resource policies applied to this disk.
Returns
  • (::Array<::String>) — Optional. Resource policies applied to this disk.

#size_gb

def size_gb() -> ::Integer
Returns
  • (::Integer) — Required. The size of the disk in GB.

#size_gb=

def size_gb=(value) -> ::Integer
Parameter
  • value (::Integer) — Required. The size of the disk in GB.
Returns
  • (::Integer) — Required. The size of the disk in GB.

#storage_pool

def storage_pool() -> ::String
Returns
  • (::String) — Optional. The storage pool in which the new disk is created. You can provide this as a partial or full URL to the resource.

#storage_pool=

def storage_pool=(value) -> ::String
Parameter
  • value (::String) — Optional. The storage pool in which the new disk is created. You can provide this as a partial or full URL to the resource.
Returns
  • (::String) — Optional. The storage pool in which the new disk is created. You can provide this as a partial or full URL to the resource.

#type

def type() -> ::String
Returns
  • (::String) — Required. URL of the disk type resource describing which disk type to use to create the disk.

#type=

def type=(value) -> ::String
Parameter
  • value (::String) — Required. URL of the disk type resource describing which disk type to use to create the disk.
Returns
  • (::String) — Required. URL of the disk type resource describing which disk type to use to create the disk.