Class: Google::Cloud::LifeSciences::V2beta::Disk

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/lifesciences/v2beta/workflows.rb

Overview

Carries information about a disk that can be attached to a VM.

See https://cloud.google.com/compute/docs/disks/performance for more information about disk type, size, and performance considerations.

Specify either Volume or Disk, but not both.

Instance Attribute Summary collapse

Instance Attribute Details

#name::String

Returns A user-supplied name for the disk. Used when mounting the disk into actions. The name must contain only upper and lowercase alphanumeric characters and hyphens and cannot start with a hyphen.

Returns:

  • (::String)

    A user-supplied name for the disk. Used when mounting the disk into actions. The name must contain only upper and lowercase alphanumeric characters and hyphens and cannot start with a hyphen.



561
562
563
564
# File 'proto_docs/google/cloud/lifesciences/v2beta/workflows.rb', line 561

class Disk
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#size_gb::Integer

Returns 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.

Returns:

  • (::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.



561
562
563
564
# File 'proto_docs/google/cloud/lifesciences/v2beta/workflows.rb', line 561

class Disk
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#source_image::String

Returns An optional image to put on the disk before attaching it to the VM.

Returns:

  • (::String)

    An optional image to put on the disk before attaching it to the VM.



561
562
563
564
# File 'proto_docs/google/cloud/lifesciences/v2beta/workflows.rb', line 561

class Disk
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#type::String

Returns The Compute Engine disk type. If unspecified, pd-standard is used.

Returns:

  • (::String)

    The Compute Engine disk type. If unspecified, pd-standard is used.



561
562
563
564
# File 'proto_docs/google/cloud/lifesciences/v2beta/workflows.rb', line 561

class Disk
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end