Class: Google::Cloud::Batch::V1::AllocationPolicy::AttachedDisk

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/batch/v1/job.rb

Overview

A new or an existing persistent disk (PD) or a local ssd attached to a VM instance.

Instance Attribute Summary collapse

Instance Attribute Details

#device_name::String

Returns Device name that the guest operating system will see. It is used by Runnable.volumes field to mount disks. So please specify the device_name if you want Batch to help mount the disk, and it should match the device_name field in volumes.

Returns:

  • (::String)

    Device name that the guest operating system will see. It is used by Runnable.volumes field to mount disks. So please specify the device_name if you want Batch to help mount the disk, and it should match the device_name field in volumes.



431
432
433
434
# File 'proto_docs/google/cloud/batch/v1/job.rb', line 431

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

#existing_disk::String

Returns Name of an existing PD.

Returns:

  • (::String)

    Name of an existing PD.



431
432
433
434
# File 'proto_docs/google/cloud/batch/v1/job.rb', line 431

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

#new_disk::Google::Cloud::Batch::V1::AllocationPolicy::Disk



431
432
433
434
# File 'proto_docs/google/cloud/batch/v1/job.rb', line 431

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