Reference documentation and code samples for the Cloud Life Sciences V2beta API class Google::Cloud::LifeSciences::V2beta::PersistentDisk.
Configuration for a persistent disk to be attached to the VM.
See https://cloud.google.com/compute/docs/disks/performance for more information about disk type, size, and performance considerations.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#size_gb
def size_gb() -> ::Integer
-
(::Integer) — The size, in GB, of the disk to attach. If the size is not
specified, a default is chosen to ensure reasonable I/O performance.
If the disk type is specified as
local-ssd
, multiple local drives are automatically combined to provide the requested size. Note, however, that each physical SSD is 375GB in size, and no more than 8 drives can be attached to a single instance.
#size_gb=
def size_gb=(value) -> ::Integer
-
value (::Integer) — The size, in GB, of the disk to attach. If the size is not
specified, a default is chosen to ensure reasonable I/O performance.
If the disk type is specified as
local-ssd
, multiple local drives are automatically combined to provide the requested size. Note, however, that each physical SSD is 375GB in size, and no more than 8 drives can be attached to a single instance.
-
(::Integer) — The size, in GB, of the disk to attach. If the size is not
specified, a default is chosen to ensure reasonable I/O performance.
If the disk type is specified as
local-ssd
, multiple local drives are automatically combined to provide the requested size. Note, however, that each physical SSD is 375GB in size, and no more than 8 drives can be attached to a single instance.
#source_image
def source_image() -> ::String
- (::String) — An image to put on the disk before attaching it to the VM.
#source_image=
def source_image=(value) -> ::String
- value (::String) — An image to put on the disk before attaching it to the VM.
- (::String) — An image to put on the disk before attaching it to the VM.
#type
def type() -> ::String
-
(::String) — The Compute Engine disk type. If unspecified,
pd-standard
is used.
#type=
def type=(value) -> ::String
-
value (::String) — The Compute Engine disk type. If unspecified,
pd-standard
is used.
-
(::String) — The Compute Engine disk type. If unspecified,
pd-standard
is used.