Class: Google::Cloud::BackupDR::V1::DiskRestoreProperties
- Inherits:
-
Object
- Object
- Google::Cloud::BackupDR::V1::DiskRestoreProperties
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/backupdr/v1/backupvault_disk.rb
Overview
DiskRestoreProperties represents the properties of a Disk restore.
Defined Under Namespace
Modules: AccessMode, Architecture Classes: LabelsEntry, ResourceManagerTagsEntry
Instance Attribute Summary collapse
-
#access_mode ⇒ ::Google::Cloud::BackupDR::V1::DiskRestoreProperties::AccessMode
Optional.
-
#architecture ⇒ ::Google::Cloud::BackupDR::V1::DiskRestoreProperties::Architecture
Optional.
-
#description ⇒ ::String
Optional.
-
#disk_encryption_key ⇒ ::Google::Cloud::BackupDR::V1::CustomerEncryptionKey
Optional.
-
#enable_confidential_compute ⇒ ::Boolean
Optional.
-
#guest_os_feature ⇒ ::Array<::Google::Cloud::BackupDR::V1::GuestOsFeature>
Optional.
-
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Optional.
-
#licenses ⇒ ::Array<::String>
Optional.
-
#name ⇒ ::String
Required.
-
#physical_block_size_bytes ⇒ ::Integer
Optional.
-
#provisioned_iops ⇒ ::Integer
Optional.
-
#provisioned_throughput ⇒ ::Integer
Optional.
-
#resource_manager_tags ⇒ ::Google::Protobuf::Map{::String => ::String}
Optional.
-
#resource_policy ⇒ ::Array<::String>
Optional.
-
#size_gb ⇒ ::Integer
Required.
-
#storage_pool ⇒ ::String
Optional.
-
#type ⇒ ::String
Required.
Instance Attribute Details
#access_mode ⇒ ::Google::Cloud::BackupDR::V1::DiskRestoreProperties::AccessMode
Returns Optional. The access mode of the disk.
117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault_disk.rb', line 117 class DiskRestoreProperties include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class ResourceManagerTagsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The supported access modes of the disk. module AccessMode # The default AccessMode, means the disk can be attached to single instance # in RW mode. READ_WRITE_SINGLE = 0 # The AccessMode means the disk can be attached to multiple instances in RW # mode. READ_WRITE_MANY = 1 # The AccessMode means the disk can be attached to multiple instances in RO # mode. READ_ONLY_MANY = 2 end # Architecture of the source disk. module Architecture # Default value. This value is unused. ARCHITECTURE_UNSPECIFIED = 0 # Disks with architecture X86_64 X86_64 = 1 # Disks with architecture ARM64 ARM64 = 2 end end |
#architecture ⇒ ::Google::Cloud::BackupDR::V1::DiskRestoreProperties::Architecture
Returns Optional. The architecture of the source disk. Valid values are ARM64 or X86_64.
117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault_disk.rb', line 117 class DiskRestoreProperties include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class ResourceManagerTagsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The supported access modes of the disk. module AccessMode # The default AccessMode, means the disk can be attached to single instance # in RW mode. READ_WRITE_SINGLE = 0 # The AccessMode means the disk can be attached to multiple instances in RW # mode. READ_WRITE_MANY = 1 # The AccessMode means the disk can be attached to multiple instances in RO # mode. READ_ONLY_MANY = 2 end # Architecture of the source disk. module Architecture # Default value. This value is unused. ARCHITECTURE_UNSPECIFIED = 0 # Disks with architecture X86_64 X86_64 = 1 # Disks with architecture ARM64 ARM64 = 2 end end |
#description ⇒ ::String
Returns Optional. An optional description of this resource. Provide this property when you create the resource.
117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault_disk.rb', line 117 class DiskRestoreProperties include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class ResourceManagerTagsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The supported access modes of the disk. module AccessMode # The default AccessMode, means the disk can be attached to single instance # in RW mode. READ_WRITE_SINGLE = 0 # The AccessMode means the disk can be attached to multiple instances in RW # mode. READ_WRITE_MANY = 1 # The AccessMode means the disk can be attached to multiple instances in RO # mode. READ_ONLY_MANY = 2 end # Architecture of the source disk. module Architecture # Default value. This value is unused. ARCHITECTURE_UNSPECIFIED = 0 # Disks with architecture X86_64 X86_64 = 1 # Disks with architecture ARM64 ARM64 = 2 end end |
#disk_encryption_key ⇒ ::Google::Cloud::BackupDR::V1::CustomerEncryptionKey
Returns Optional. Encrypts the disk using a customer-supplied encryption key or a customer-managed encryption key.
117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault_disk.rb', line 117 class DiskRestoreProperties include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class ResourceManagerTagsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The supported access modes of the disk. module AccessMode # The default AccessMode, means the disk can be attached to single instance # in RW mode. READ_WRITE_SINGLE = 0 # The AccessMode means the disk can be attached to multiple instances in RW # mode. READ_WRITE_MANY = 1 # The AccessMode means the disk can be attached to multiple instances in RO # mode. READ_ONLY_MANY = 2 end # Architecture of the source disk. module Architecture # Default value. This value is unused. ARCHITECTURE_UNSPECIFIED = 0 # Disks with architecture X86_64 X86_64 = 1 # Disks with architecture ARM64 ARM64 = 2 end end |
#enable_confidential_compute ⇒ ::Boolean
Returns Optional. Indicates whether this disk is using confidential compute mode. Encryption with a Cloud KMS key is required to enable this option.
117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault_disk.rb', line 117 class DiskRestoreProperties include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class ResourceManagerTagsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The supported access modes of the disk. module AccessMode # The default AccessMode, means the disk can be attached to single instance # in RW mode. READ_WRITE_SINGLE = 0 # The AccessMode means the disk can be attached to multiple instances in RW # mode. READ_WRITE_MANY = 1 # The AccessMode means the disk can be attached to multiple instances in RO # mode. READ_ONLY_MANY = 2 end # Architecture of the source disk. module Architecture # Default value. This value is unused. ARCHITECTURE_UNSPECIFIED = 0 # Disks with architecture X86_64 X86_64 = 1 # Disks with architecture ARM64 ARM64 = 2 end end |
#guest_os_feature ⇒ ::Array<::Google::Cloud::BackupDR::V1::GuestOsFeature>
Returns Optional. A list of features to enable in the guest operating system. This is applicable only for bootable images.
117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault_disk.rb', line 117 class DiskRestoreProperties include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class ResourceManagerTagsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The supported access modes of the disk. module AccessMode # The default AccessMode, means the disk can be attached to single instance # in RW mode. READ_WRITE_SINGLE = 0 # The AccessMode means the disk can be attached to multiple instances in RW # mode. READ_WRITE_MANY = 1 # The AccessMode means the disk can be attached to multiple instances in RO # mode. READ_ONLY_MANY = 2 end # Architecture of the source disk. module Architecture # Default value. This value is unused. ARCHITECTURE_UNSPECIFIED = 0 # Disks with architecture X86_64 X86_64 = 1 # Disks with architecture ARM64 ARM64 = 2 end end |
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns Optional. Labels to apply to this disk. These can be modified later using
setLabels method. Label values can be empty.
117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault_disk.rb', line 117 class DiskRestoreProperties include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class ResourceManagerTagsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The supported access modes of the disk. module AccessMode # The default AccessMode, means the disk can be attached to single instance # in RW mode. READ_WRITE_SINGLE = 0 # The AccessMode means the disk can be attached to multiple instances in RW # mode. READ_WRITE_MANY = 1 # The AccessMode means the disk can be attached to multiple instances in RO # mode. READ_ONLY_MANY = 2 end # Architecture of the source disk. module Architecture # Default value. This value is unused. ARCHITECTURE_UNSPECIFIED = 0 # Disks with architecture X86_64 X86_64 = 1 # Disks with architecture ARM64 ARM64 = 2 end end |
#licenses ⇒ ::Array<::String>
Returns 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.
117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault_disk.rb', line 117 class DiskRestoreProperties include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class ResourceManagerTagsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The supported access modes of the disk. module AccessMode # The default AccessMode, means the disk can be attached to single instance # in RW mode. READ_WRITE_SINGLE = 0 # The AccessMode means the disk can be attached to multiple instances in RW # mode. READ_WRITE_MANY = 1 # The AccessMode means the disk can be attached to multiple instances in RO # mode. READ_ONLY_MANY = 2 end # Architecture of the source disk. module Architecture # Default value. This value is unused. ARCHITECTURE_UNSPECIFIED = 0 # Disks with architecture X86_64 X86_64 = 1 # Disks with architecture ARM64 ARM64 = 2 end end |
#name ⇒ ::String
Returns Required. Name of the disk.
117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault_disk.rb', line 117 class DiskRestoreProperties include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class ResourceManagerTagsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The supported access modes of the disk. module AccessMode # The default AccessMode, means the disk can be attached to single instance # in RW mode. READ_WRITE_SINGLE = 0 # The AccessMode means the disk can be attached to multiple instances in RW # mode. READ_WRITE_MANY = 1 # The AccessMode means the disk can be attached to multiple instances in RO # mode. READ_ONLY_MANY = 2 end # Architecture of the source disk. module Architecture # Default value. This value is unused. ARCHITECTURE_UNSPECIFIED = 0 # Disks with architecture X86_64 X86_64 = 1 # Disks with architecture ARM64 ARM64 = 2 end end |
#physical_block_size_bytes ⇒ ::Integer
Returns 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.
117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault_disk.rb', line 117 class DiskRestoreProperties include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class ResourceManagerTagsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The supported access modes of the disk. module AccessMode # The default AccessMode, means the disk can be attached to single instance # in RW mode. READ_WRITE_SINGLE = 0 # The AccessMode means the disk can be attached to multiple instances in RW # mode. READ_WRITE_MANY = 1 # The AccessMode means the disk can be attached to multiple instances in RO # mode. READ_ONLY_MANY = 2 end # Architecture of the source disk. module Architecture # Default value. This value is unused. ARCHITECTURE_UNSPECIFIED = 0 # Disks with architecture X86_64 X86_64 = 1 # Disks with architecture ARM64 ARM64 = 2 end end |
#provisioned_iops ⇒ ::Integer
Returns 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.
117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault_disk.rb', line 117 class DiskRestoreProperties include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class ResourceManagerTagsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The supported access modes of the disk. module AccessMode # The default AccessMode, means the disk can be attached to single instance # in RW mode. READ_WRITE_SINGLE = 0 # The AccessMode means the disk can be attached to multiple instances in RW # mode. READ_WRITE_MANY = 1 # The AccessMode means the disk can be attached to multiple instances in RO # mode. READ_ONLY_MANY = 2 end # Architecture of the source disk. module Architecture # Default value. This value is unused. ARCHITECTURE_UNSPECIFIED = 0 # Disks with architecture X86_64 X86_64 = 1 # Disks with architecture ARM64 ARM64 = 2 end end |
#provisioned_throughput ⇒ ::Integer
Returns Optional. Indicates how much throughput to provision for the disk. This sets the number of throughput MB per second that the disk can handle.
117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault_disk.rb', line 117 class DiskRestoreProperties include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class ResourceManagerTagsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The supported access modes of the disk. module AccessMode # The default AccessMode, means the disk can be attached to single instance # in RW mode. READ_WRITE_SINGLE = 0 # The AccessMode means the disk can be attached to multiple instances in RW # mode. READ_WRITE_MANY = 1 # The AccessMode means the disk can be attached to multiple instances in RO # mode. READ_ONLY_MANY = 2 end # Architecture of the source disk. module Architecture # Default value. This value is unused. ARCHITECTURE_UNSPECIFIED = 0 # Disks with architecture X86_64 X86_64 = 1 # Disks with architecture ARM64 ARM64 = 2 end end |
#resource_manager_tags ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns Optional. Resource manager tags to be bound to the disk.
117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault_disk.rb', line 117 class DiskRestoreProperties include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class ResourceManagerTagsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The supported access modes of the disk. module AccessMode # The default AccessMode, means the disk can be attached to single instance # in RW mode. READ_WRITE_SINGLE = 0 # The AccessMode means the disk can be attached to multiple instances in RW # mode. READ_WRITE_MANY = 1 # The AccessMode means the disk can be attached to multiple instances in RO # mode. READ_ONLY_MANY = 2 end # Architecture of the source disk. module Architecture # Default value. This value is unused. ARCHITECTURE_UNSPECIFIED = 0 # Disks with architecture X86_64 X86_64 = 1 # Disks with architecture ARM64 ARM64 = 2 end end |
#resource_policy ⇒ ::Array<::String>
Returns Optional. Resource policies applied to this disk.
117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault_disk.rb', line 117 class DiskRestoreProperties include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class ResourceManagerTagsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The supported access modes of the disk. module AccessMode # The default AccessMode, means the disk can be attached to single instance # in RW mode. READ_WRITE_SINGLE = 0 # The AccessMode means the disk can be attached to multiple instances in RW # mode. READ_WRITE_MANY = 1 # The AccessMode means the disk can be attached to multiple instances in RO # mode. READ_ONLY_MANY = 2 end # Architecture of the source disk. module Architecture # Default value. This value is unused. ARCHITECTURE_UNSPECIFIED = 0 # Disks with architecture X86_64 X86_64 = 1 # Disks with architecture ARM64 ARM64 = 2 end end |
#size_gb ⇒ ::Integer
Returns Required. The size of the disk in GB.
117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault_disk.rb', line 117 class DiskRestoreProperties include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class ResourceManagerTagsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The supported access modes of the disk. module AccessMode # The default AccessMode, means the disk can be attached to single instance # in RW mode. READ_WRITE_SINGLE = 0 # The AccessMode means the disk can be attached to multiple instances in RW # mode. READ_WRITE_MANY = 1 # The AccessMode means the disk can be attached to multiple instances in RO # mode. READ_ONLY_MANY = 2 end # Architecture of the source disk. module Architecture # Default value. This value is unused. ARCHITECTURE_UNSPECIFIED = 0 # Disks with architecture X86_64 X86_64 = 1 # Disks with architecture ARM64 ARM64 = 2 end end |
#storage_pool ⇒ ::String
Returns Optional. The storage pool in which the new disk is created. You can provide this as a partial or full URL to the resource.
117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault_disk.rb', line 117 class DiskRestoreProperties include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class ResourceManagerTagsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The supported access modes of the disk. module AccessMode # The default AccessMode, means the disk can be attached to single instance # in RW mode. READ_WRITE_SINGLE = 0 # The AccessMode means the disk can be attached to multiple instances in RW # mode. READ_WRITE_MANY = 1 # The AccessMode means the disk can be attached to multiple instances in RO # mode. READ_ONLY_MANY = 2 end # Architecture of the source disk. module Architecture # Default value. This value is unused. ARCHITECTURE_UNSPECIFIED = 0 # Disks with architecture X86_64 X86_64 = 1 # Disks with architecture ARM64 ARM64 = 2 end end |
#type ⇒ ::String
Returns Required. URL of the disk type resource describing which disk type to use to create the disk.
117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault_disk.rb', line 117 class DiskRestoreProperties include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class ResourceManagerTagsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The supported access modes of the disk. module AccessMode # The default AccessMode, means the disk can be attached to single instance # in RW mode. READ_WRITE_SINGLE = 0 # The AccessMode means the disk can be attached to multiple instances in RW # mode. READ_WRITE_MANY = 1 # The AccessMode means the disk can be attached to multiple instances in RO # mode. READ_ONLY_MANY = 2 end # Architecture of the source disk. module Architecture # Default value. This value is unused. ARCHITECTURE_UNSPECIFIED = 0 # Disks with architecture X86_64 X86_64 = 1 # Disks with architecture ARM64 ARM64 = 2 end end |