Class: Google::Cloud::Compute::V1::SavedAttachedDisk

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

Overview

DEPRECATED: Please use compute#savedDisk instead. An instance-attached disk resource.

Defined Under Namespace

Modules: Interface, Mode, StorageBytesStatus, Type

Instance Attribute Summary collapse

Instance Attribute Details

#auto_delete::Boolean

Returns Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance).

Returns:

  • (::Boolean)

    Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance).



21973
21974
21975
21976
21977
21978
21979
21980
21981
21982
21983
21984
21985
21986
21987
21988
21989
21990
21991
21992
21993
21994
21995
21996
21997
21998
21999
22000
22001
22002
22003
22004
22005
22006
22007
22008
22009
22010
22011
22012
22013
22014
22015
22016
22017
22018
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21973

class SavedAttachedDisk
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME.
  module Interface
    # A value indicating that the enum field is not set.
    UNDEFINED_INTERFACE = 0

    NVME = 2408800

    SCSI = 2539686
  end

  # The mode in which this disk is attached to the source instance, either READ_WRITE or READ_ONLY.
  module Mode
    # A value indicating that the enum field is not set.
    UNDEFINED_MODE = 0

    # Attaches this disk in read-only mode. Multiple virtual machines can use a disk in read-only mode at a time.
    READ_ONLY = 91950261

    # *[Default]* Attaches this disk in read-write mode. Only one virtual machine at a time can be attached to a disk in read-write mode.
    READ_WRITE = 173607894
  end

  # [Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date.
  module StorageBytesStatus
    # A value indicating that the enum field is not set.
    UNDEFINED_STORAGE_BYTES_STATUS = 0

    UPDATING = 494614342

    UP_TO_DATE = 101306702
  end

  # Specifies the type of the attached disk, either SCRATCH or PERSISTENT.
  module Type
    # A value indicating that the enum field is not set.
    UNDEFINED_TYPE = 0

    PERSISTENT = 460683927

    SCRATCH = 496778970
  end
end

#boot::Boolean

Returns Indicates that this is a boot disk. The virtual machine will use the first partition of the disk for its root filesystem.

Returns:

  • (::Boolean)

    Indicates that this is a boot disk. The virtual machine will use the first partition of the disk for its root filesystem.



21973
21974
21975
21976
21977
21978
21979
21980
21981
21982
21983
21984
21985
21986
21987
21988
21989
21990
21991
21992
21993
21994
21995
21996
21997
21998
21999
22000
22001
22002
22003
22004
22005
22006
22007
22008
22009
22010
22011
22012
22013
22014
22015
22016
22017
22018
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21973

class SavedAttachedDisk
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME.
  module Interface
    # A value indicating that the enum field is not set.
    UNDEFINED_INTERFACE = 0

    NVME = 2408800

    SCSI = 2539686
  end

  # The mode in which this disk is attached to the source instance, either READ_WRITE or READ_ONLY.
  module Mode
    # A value indicating that the enum field is not set.
    UNDEFINED_MODE = 0

    # Attaches this disk in read-only mode. Multiple virtual machines can use a disk in read-only mode at a time.
    READ_ONLY = 91950261

    # *[Default]* Attaches this disk in read-write mode. Only one virtual machine at a time can be attached to a disk in read-write mode.
    READ_WRITE = 173607894
  end

  # [Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date.
  module StorageBytesStatus
    # A value indicating that the enum field is not set.
    UNDEFINED_STORAGE_BYTES_STATUS = 0

    UPDATING = 494614342

    UP_TO_DATE = 101306702
  end

  # Specifies the type of the attached disk, either SCRATCH or PERSISTENT.
  module Type
    # A value indicating that the enum field is not set.
    UNDEFINED_TYPE = 0

    PERSISTENT = 460683927

    SCRATCH = 496778970
  end
end

#device_name::String

Returns Specifies the name of the disk attached to the source instance.

Returns:

  • (::String)

    Specifies the name of the disk attached to the source instance.



21973
21974
21975
21976
21977
21978
21979
21980
21981
21982
21983
21984
21985
21986
21987
21988
21989
21990
21991
21992
21993
21994
21995
21996
21997
21998
21999
22000
22001
22002
22003
22004
22005
22006
22007
22008
22009
22010
22011
22012
22013
22014
22015
22016
22017
22018
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21973

class SavedAttachedDisk
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME.
  module Interface
    # A value indicating that the enum field is not set.
    UNDEFINED_INTERFACE = 0

    NVME = 2408800

    SCSI = 2539686
  end

  # The mode in which this disk is attached to the source instance, either READ_WRITE or READ_ONLY.
  module Mode
    # A value indicating that the enum field is not set.
    UNDEFINED_MODE = 0

    # Attaches this disk in read-only mode. Multiple virtual machines can use a disk in read-only mode at a time.
    READ_ONLY = 91950261

    # *[Default]* Attaches this disk in read-write mode. Only one virtual machine at a time can be attached to a disk in read-write mode.
    READ_WRITE = 173607894
  end

  # [Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date.
  module StorageBytesStatus
    # A value indicating that the enum field is not set.
    UNDEFINED_STORAGE_BYTES_STATUS = 0

    UPDATING = 494614342

    UP_TO_DATE = 101306702
  end

  # Specifies the type of the attached disk, either SCRATCH or PERSISTENT.
  module Type
    # A value indicating that the enum field is not set.
    UNDEFINED_TYPE = 0

    PERSISTENT = 460683927

    SCRATCH = 496778970
  end
end

#disk_encryption_key::Google::Cloud::Compute::V1::CustomerEncryptionKey

Returns The encryption key for the disk.

Returns:



21973
21974
21975
21976
21977
21978
21979
21980
21981
21982
21983
21984
21985
21986
21987
21988
21989
21990
21991
21992
21993
21994
21995
21996
21997
21998
21999
22000
22001
22002
22003
22004
22005
22006
22007
22008
22009
22010
22011
22012
22013
22014
22015
22016
22017
22018
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21973

class SavedAttachedDisk
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME.
  module Interface
    # A value indicating that the enum field is not set.
    UNDEFINED_INTERFACE = 0

    NVME = 2408800

    SCSI = 2539686
  end

  # The mode in which this disk is attached to the source instance, either READ_WRITE or READ_ONLY.
  module Mode
    # A value indicating that the enum field is not set.
    UNDEFINED_MODE = 0

    # Attaches this disk in read-only mode. Multiple virtual machines can use a disk in read-only mode at a time.
    READ_ONLY = 91950261

    # *[Default]* Attaches this disk in read-write mode. Only one virtual machine at a time can be attached to a disk in read-write mode.
    READ_WRITE = 173607894
  end

  # [Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date.
  module StorageBytesStatus
    # A value indicating that the enum field is not set.
    UNDEFINED_STORAGE_BYTES_STATUS = 0

    UPDATING = 494614342

    UP_TO_DATE = 101306702
  end

  # Specifies the type of the attached disk, either SCRATCH or PERSISTENT.
  module Type
    # A value indicating that the enum field is not set.
    UNDEFINED_TYPE = 0

    PERSISTENT = 460683927

    SCRATCH = 496778970
  end
end

#disk_size_gb::Integer

Returns The size of the disk in base-2 GB.

Returns:

  • (::Integer)

    The size of the disk in base-2 GB.



21973
21974
21975
21976
21977
21978
21979
21980
21981
21982
21983
21984
21985
21986
21987
21988
21989
21990
21991
21992
21993
21994
21995
21996
21997
21998
21999
22000
22001
22002
22003
22004
22005
22006
22007
22008
22009
22010
22011
22012
22013
22014
22015
22016
22017
22018
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21973

class SavedAttachedDisk
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME.
  module Interface
    # A value indicating that the enum field is not set.
    UNDEFINED_INTERFACE = 0

    NVME = 2408800

    SCSI = 2539686
  end

  # The mode in which this disk is attached to the source instance, either READ_WRITE or READ_ONLY.
  module Mode
    # A value indicating that the enum field is not set.
    UNDEFINED_MODE = 0

    # Attaches this disk in read-only mode. Multiple virtual machines can use a disk in read-only mode at a time.
    READ_ONLY = 91950261

    # *[Default]* Attaches this disk in read-write mode. Only one virtual machine at a time can be attached to a disk in read-write mode.
    READ_WRITE = 173607894
  end

  # [Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date.
  module StorageBytesStatus
    # A value indicating that the enum field is not set.
    UNDEFINED_STORAGE_BYTES_STATUS = 0

    UPDATING = 494614342

    UP_TO_DATE = 101306702
  end

  # Specifies the type of the attached disk, either SCRATCH or PERSISTENT.
  module Type
    # A value indicating that the enum field is not set.
    UNDEFINED_TYPE = 0

    PERSISTENT = 460683927

    SCRATCH = 496778970
  end
end

#disk_type::String

Returns [Output Only] URL of the disk type resource. For example: projects/project /zones/zone/diskTypes/pd-standard or pd-ssd.

Returns:

  • (::String)

    [Output Only] URL of the disk type resource. For example: projects/project /zones/zone/diskTypes/pd-standard or pd-ssd



21973
21974
21975
21976
21977
21978
21979
21980
21981
21982
21983
21984
21985
21986
21987
21988
21989
21990
21991
21992
21993
21994
21995
21996
21997
21998
21999
22000
22001
22002
22003
22004
22005
22006
22007
22008
22009
22010
22011
22012
22013
22014
22015
22016
22017
22018
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21973

class SavedAttachedDisk
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME.
  module Interface
    # A value indicating that the enum field is not set.
    UNDEFINED_INTERFACE = 0

    NVME = 2408800

    SCSI = 2539686
  end

  # The mode in which this disk is attached to the source instance, either READ_WRITE or READ_ONLY.
  module Mode
    # A value indicating that the enum field is not set.
    UNDEFINED_MODE = 0

    # Attaches this disk in read-only mode. Multiple virtual machines can use a disk in read-only mode at a time.
    READ_ONLY = 91950261

    # *[Default]* Attaches this disk in read-write mode. Only one virtual machine at a time can be attached to a disk in read-write mode.
    READ_WRITE = 173607894
  end

  # [Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date.
  module StorageBytesStatus
    # A value indicating that the enum field is not set.
    UNDEFINED_STORAGE_BYTES_STATUS = 0

    UPDATING = 494614342

    UP_TO_DATE = 101306702
  end

  # Specifies the type of the attached disk, either SCRATCH or PERSISTENT.
  module Type
    # A value indicating that the enum field is not set.
    UNDEFINED_TYPE = 0

    PERSISTENT = 460683927

    SCRATCH = 496778970
  end
end

#guest_os_features::Array<::Google::Cloud::Compute::V1::GuestOsFeature>

Returns A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options.

Returns:

  • (::Array<::Google::Cloud::Compute::V1::GuestOsFeature>)

    A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options.



21973
21974
21975
21976
21977
21978
21979
21980
21981
21982
21983
21984
21985
21986
21987
21988
21989
21990
21991
21992
21993
21994
21995
21996
21997
21998
21999
22000
22001
22002
22003
22004
22005
22006
22007
22008
22009
22010
22011
22012
22013
22014
22015
22016
22017
22018
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21973

class SavedAttachedDisk
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME.
  module Interface
    # A value indicating that the enum field is not set.
    UNDEFINED_INTERFACE = 0

    NVME = 2408800

    SCSI = 2539686
  end

  # The mode in which this disk is attached to the source instance, either READ_WRITE or READ_ONLY.
  module Mode
    # A value indicating that the enum field is not set.
    UNDEFINED_MODE = 0

    # Attaches this disk in read-only mode. Multiple virtual machines can use a disk in read-only mode at a time.
    READ_ONLY = 91950261

    # *[Default]* Attaches this disk in read-write mode. Only one virtual machine at a time can be attached to a disk in read-write mode.
    READ_WRITE = 173607894
  end

  # [Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date.
  module StorageBytesStatus
    # A value indicating that the enum field is not set.
    UNDEFINED_STORAGE_BYTES_STATUS = 0

    UPDATING = 494614342

    UP_TO_DATE = 101306702
  end

  # Specifies the type of the attached disk, either SCRATCH or PERSISTENT.
  module Type
    # A value indicating that the enum field is not set.
    UNDEFINED_TYPE = 0

    PERSISTENT = 460683927

    SCRATCH = 496778970
  end
end

#index::Integer

Returns Specifies zero-based index of the disk that is attached to the source instance.

Returns:

  • (::Integer)

    Specifies zero-based index of the disk that is attached to the source instance.



21973
21974
21975
21976
21977
21978
21979
21980
21981
21982
21983
21984
21985
21986
21987
21988
21989
21990
21991
21992
21993
21994
21995
21996
21997
21998
21999
22000
22001
22002
22003
22004
22005
22006
22007
22008
22009
22010
22011
22012
22013
22014
22015
22016
22017
22018
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21973

class SavedAttachedDisk
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME.
  module Interface
    # A value indicating that the enum field is not set.
    UNDEFINED_INTERFACE = 0

    NVME = 2408800

    SCSI = 2539686
  end

  # The mode in which this disk is attached to the source instance, either READ_WRITE or READ_ONLY.
  module Mode
    # A value indicating that the enum field is not set.
    UNDEFINED_MODE = 0

    # Attaches this disk in read-only mode. Multiple virtual machines can use a disk in read-only mode at a time.
    READ_ONLY = 91950261

    # *[Default]* Attaches this disk in read-write mode. Only one virtual machine at a time can be attached to a disk in read-write mode.
    READ_WRITE = 173607894
  end

  # [Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date.
  module StorageBytesStatus
    # A value indicating that the enum field is not set.
    UNDEFINED_STORAGE_BYTES_STATUS = 0

    UPDATING = 494614342

    UP_TO_DATE = 101306702
  end

  # Specifies the type of the attached disk, either SCRATCH or PERSISTENT.
  module Type
    # A value indicating that the enum field is not set.
    UNDEFINED_TYPE = 0

    PERSISTENT = 460683927

    SCRATCH = 496778970
  end
end

#interface::String

Returns Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. Check the Interface enum for the list of possible values.

Returns:

  • (::String)

    Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. Check the Interface enum for the list of possible values.



21973
21974
21975
21976
21977
21978
21979
21980
21981
21982
21983
21984
21985
21986
21987
21988
21989
21990
21991
21992
21993
21994
21995
21996
21997
21998
21999
22000
22001
22002
22003
22004
22005
22006
22007
22008
22009
22010
22011
22012
22013
22014
22015
22016
22017
22018
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21973

class SavedAttachedDisk
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME.
  module Interface
    # A value indicating that the enum field is not set.
    UNDEFINED_INTERFACE = 0

    NVME = 2408800

    SCSI = 2539686
  end

  # The mode in which this disk is attached to the source instance, either READ_WRITE or READ_ONLY.
  module Mode
    # A value indicating that the enum field is not set.
    UNDEFINED_MODE = 0

    # Attaches this disk in read-only mode. Multiple virtual machines can use a disk in read-only mode at a time.
    READ_ONLY = 91950261

    # *[Default]* Attaches this disk in read-write mode. Only one virtual machine at a time can be attached to a disk in read-write mode.
    READ_WRITE = 173607894
  end

  # [Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date.
  module StorageBytesStatus
    # A value indicating that the enum field is not set.
    UNDEFINED_STORAGE_BYTES_STATUS = 0

    UPDATING = 494614342

    UP_TO_DATE = 101306702
  end

  # Specifies the type of the attached disk, either SCRATCH or PERSISTENT.
  module Type
    # A value indicating that the enum field is not set.
    UNDEFINED_TYPE = 0

    PERSISTENT = 460683927

    SCRATCH = 496778970
  end
end

#kind::String

Returns [Output Only] Type of the resource. Always compute#attachedDisk for attached disks.

Returns:

  • (::String)

    [Output Only] Type of the resource. Always compute#attachedDisk for attached disks.



21973
21974
21975
21976
21977
21978
21979
21980
21981
21982
21983
21984
21985
21986
21987
21988
21989
21990
21991
21992
21993
21994
21995
21996
21997
21998
21999
22000
22001
22002
22003
22004
22005
22006
22007
22008
22009
22010
22011
22012
22013
22014
22015
22016
22017
22018
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21973

class SavedAttachedDisk
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME.
  module Interface
    # A value indicating that the enum field is not set.
    UNDEFINED_INTERFACE = 0

    NVME = 2408800

    SCSI = 2539686
  end

  # The mode in which this disk is attached to the source instance, either READ_WRITE or READ_ONLY.
  module Mode
    # A value indicating that the enum field is not set.
    UNDEFINED_MODE = 0

    # Attaches this disk in read-only mode. Multiple virtual machines can use a disk in read-only mode at a time.
    READ_ONLY = 91950261

    # *[Default]* Attaches this disk in read-write mode. Only one virtual machine at a time can be attached to a disk in read-write mode.
    READ_WRITE = 173607894
  end

  # [Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date.
  module StorageBytesStatus
    # A value indicating that the enum field is not set.
    UNDEFINED_STORAGE_BYTES_STATUS = 0

    UPDATING = 494614342

    UP_TO_DATE = 101306702
  end

  # Specifies the type of the attached disk, either SCRATCH or PERSISTENT.
  module Type
    # A value indicating that the enum field is not set.
    UNDEFINED_TYPE = 0

    PERSISTENT = 460683927

    SCRATCH = 496778970
  end
end

#licenses::Array<::String>

Returns [Output Only] Any valid publicly visible licenses.

Returns:

  • (::Array<::String>)

    [Output Only] Any valid publicly visible licenses.



21973
21974
21975
21976
21977
21978
21979
21980
21981
21982
21983
21984
21985
21986
21987
21988
21989
21990
21991
21992
21993
21994
21995
21996
21997
21998
21999
22000
22001
22002
22003
22004
22005
22006
22007
22008
22009
22010
22011
22012
22013
22014
22015
22016
22017
22018
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21973

class SavedAttachedDisk
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME.
  module Interface
    # A value indicating that the enum field is not set.
    UNDEFINED_INTERFACE = 0

    NVME = 2408800

    SCSI = 2539686
  end

  # The mode in which this disk is attached to the source instance, either READ_WRITE or READ_ONLY.
  module Mode
    # A value indicating that the enum field is not set.
    UNDEFINED_MODE = 0

    # Attaches this disk in read-only mode. Multiple virtual machines can use a disk in read-only mode at a time.
    READ_ONLY = 91950261

    # *[Default]* Attaches this disk in read-write mode. Only one virtual machine at a time can be attached to a disk in read-write mode.
    READ_WRITE = 173607894
  end

  # [Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date.
  module StorageBytesStatus
    # A value indicating that the enum field is not set.
    UNDEFINED_STORAGE_BYTES_STATUS = 0

    UPDATING = 494614342

    UP_TO_DATE = 101306702
  end

  # Specifies the type of the attached disk, either SCRATCH or PERSISTENT.
  module Type
    # A value indicating that the enum field is not set.
    UNDEFINED_TYPE = 0

    PERSISTENT = 460683927

    SCRATCH = 496778970
  end
end

#mode::String

Returns The mode in which this disk is attached to the source instance, either READ_WRITE or READ_ONLY. Check the Mode enum for the list of possible values.

Returns:

  • (::String)

    The mode in which this disk is attached to the source instance, either READ_WRITE or READ_ONLY. Check the Mode enum for the list of possible values.



21973
21974
21975
21976
21977
21978
21979
21980
21981
21982
21983
21984
21985
21986
21987
21988
21989
21990
21991
21992
21993
21994
21995
21996
21997
21998
21999
22000
22001
22002
22003
22004
22005
22006
22007
22008
22009
22010
22011
22012
22013
22014
22015
22016
22017
22018
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21973

class SavedAttachedDisk
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME.
  module Interface
    # A value indicating that the enum field is not set.
    UNDEFINED_INTERFACE = 0

    NVME = 2408800

    SCSI = 2539686
  end

  # The mode in which this disk is attached to the source instance, either READ_WRITE or READ_ONLY.
  module Mode
    # A value indicating that the enum field is not set.
    UNDEFINED_MODE = 0

    # Attaches this disk in read-only mode. Multiple virtual machines can use a disk in read-only mode at a time.
    READ_ONLY = 91950261

    # *[Default]* Attaches this disk in read-write mode. Only one virtual machine at a time can be attached to a disk in read-write mode.
    READ_WRITE = 173607894
  end

  # [Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date.
  module StorageBytesStatus
    # A value indicating that the enum field is not set.
    UNDEFINED_STORAGE_BYTES_STATUS = 0

    UPDATING = 494614342

    UP_TO_DATE = 101306702
  end

  # Specifies the type of the attached disk, either SCRATCH or PERSISTENT.
  module Type
    # A value indicating that the enum field is not set.
    UNDEFINED_TYPE = 0

    PERSISTENT = 460683927

    SCRATCH = 496778970
  end
end

#source::String

Returns Specifies a URL of the disk attached to the source instance.

Returns:

  • (::String)

    Specifies a URL of the disk attached to the source instance.



21973
21974
21975
21976
21977
21978
21979
21980
21981
21982
21983
21984
21985
21986
21987
21988
21989
21990
21991
21992
21993
21994
21995
21996
21997
21998
21999
22000
22001
22002
22003
22004
22005
22006
22007
22008
22009
22010
22011
22012
22013
22014
22015
22016
22017
22018
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21973

class SavedAttachedDisk
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME.
  module Interface
    # A value indicating that the enum field is not set.
    UNDEFINED_INTERFACE = 0

    NVME = 2408800

    SCSI = 2539686
  end

  # The mode in which this disk is attached to the source instance, either READ_WRITE or READ_ONLY.
  module Mode
    # A value indicating that the enum field is not set.
    UNDEFINED_MODE = 0

    # Attaches this disk in read-only mode. Multiple virtual machines can use a disk in read-only mode at a time.
    READ_ONLY = 91950261

    # *[Default]* Attaches this disk in read-write mode. Only one virtual machine at a time can be attached to a disk in read-write mode.
    READ_WRITE = 173607894
  end

  # [Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date.
  module StorageBytesStatus
    # A value indicating that the enum field is not set.
    UNDEFINED_STORAGE_BYTES_STATUS = 0

    UPDATING = 494614342

    UP_TO_DATE = 101306702
  end

  # Specifies the type of the attached disk, either SCRATCH or PERSISTENT.
  module Type
    # A value indicating that the enum field is not set.
    UNDEFINED_TYPE = 0

    PERSISTENT = 460683927

    SCRATCH = 496778970
  end
end

#storage_bytes::Integer

Returns [Output Only] A size of the storage used by the disk's snapshot by this machine image.

Returns:

  • (::Integer)

    [Output Only] A size of the storage used by the disk's snapshot by this machine image.



21973
21974
21975
21976
21977
21978
21979
21980
21981
21982
21983
21984
21985
21986
21987
21988
21989
21990
21991
21992
21993
21994
21995
21996
21997
21998
21999
22000
22001
22002
22003
22004
22005
22006
22007
22008
22009
22010
22011
22012
22013
22014
22015
22016
22017
22018
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21973

class SavedAttachedDisk
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME.
  module Interface
    # A value indicating that the enum field is not set.
    UNDEFINED_INTERFACE = 0

    NVME = 2408800

    SCSI = 2539686
  end

  # The mode in which this disk is attached to the source instance, either READ_WRITE or READ_ONLY.
  module Mode
    # A value indicating that the enum field is not set.
    UNDEFINED_MODE = 0

    # Attaches this disk in read-only mode. Multiple virtual machines can use a disk in read-only mode at a time.
    READ_ONLY = 91950261

    # *[Default]* Attaches this disk in read-write mode. Only one virtual machine at a time can be attached to a disk in read-write mode.
    READ_WRITE = 173607894
  end

  # [Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date.
  module StorageBytesStatus
    # A value indicating that the enum field is not set.
    UNDEFINED_STORAGE_BYTES_STATUS = 0

    UPDATING = 494614342

    UP_TO_DATE = 101306702
  end

  # Specifies the type of the attached disk, either SCRATCH or PERSISTENT.
  module Type
    # A value indicating that the enum field is not set.
    UNDEFINED_TYPE = 0

    PERSISTENT = 460683927

    SCRATCH = 496778970
  end
end

#storage_bytes_status::String

Returns [Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date. Check the StorageBytesStatus enum for the list of possible values.

Returns:

  • (::String)

    [Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date. Check the StorageBytesStatus enum for the list of possible values.



21973
21974
21975
21976
21977
21978
21979
21980
21981
21982
21983
21984
21985
21986
21987
21988
21989
21990
21991
21992
21993
21994
21995
21996
21997
21998
21999
22000
22001
22002
22003
22004
22005
22006
22007
22008
22009
22010
22011
22012
22013
22014
22015
22016
22017
22018
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21973

class SavedAttachedDisk
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME.
  module Interface
    # A value indicating that the enum field is not set.
    UNDEFINED_INTERFACE = 0

    NVME = 2408800

    SCSI = 2539686
  end

  # The mode in which this disk is attached to the source instance, either READ_WRITE or READ_ONLY.
  module Mode
    # A value indicating that the enum field is not set.
    UNDEFINED_MODE = 0

    # Attaches this disk in read-only mode. Multiple virtual machines can use a disk in read-only mode at a time.
    READ_ONLY = 91950261

    # *[Default]* Attaches this disk in read-write mode. Only one virtual machine at a time can be attached to a disk in read-write mode.
    READ_WRITE = 173607894
  end

  # [Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date.
  module StorageBytesStatus
    # A value indicating that the enum field is not set.
    UNDEFINED_STORAGE_BYTES_STATUS = 0

    UPDATING = 494614342

    UP_TO_DATE = 101306702
  end

  # Specifies the type of the attached disk, either SCRATCH or PERSISTENT.
  module Type
    # A value indicating that the enum field is not set.
    UNDEFINED_TYPE = 0

    PERSISTENT = 460683927

    SCRATCH = 496778970
  end
end

#type::String

Returns Specifies the type of the attached disk, either SCRATCH or PERSISTENT. Check the Type enum for the list of possible values.

Returns:

  • (::String)

    Specifies the type of the attached disk, either SCRATCH or PERSISTENT. Check the Type enum for the list of possible values.



21973
21974
21975
21976
21977
21978
21979
21980
21981
21982
21983
21984
21985
21986
21987
21988
21989
21990
21991
21992
21993
21994
21995
21996
21997
21998
21999
22000
22001
22002
22003
22004
22005
22006
22007
22008
22009
22010
22011
22012
22013
22014
22015
22016
22017
22018
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21973

class SavedAttachedDisk
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME.
  module Interface
    # A value indicating that the enum field is not set.
    UNDEFINED_INTERFACE = 0

    NVME = 2408800

    SCSI = 2539686
  end

  # The mode in which this disk is attached to the source instance, either READ_WRITE or READ_ONLY.
  module Mode
    # A value indicating that the enum field is not set.
    UNDEFINED_MODE = 0

    # Attaches this disk in read-only mode. Multiple virtual machines can use a disk in read-only mode at a time.
    READ_ONLY = 91950261

    # *[Default]* Attaches this disk in read-write mode. Only one virtual machine at a time can be attached to a disk in read-write mode.
    READ_WRITE = 173607894
  end

  # [Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date.
  module StorageBytesStatus
    # A value indicating that the enum field is not set.
    UNDEFINED_STORAGE_BYTES_STATUS = 0

    UPDATING = 494614342

    UP_TO_DATE = 101306702
  end

  # Specifies the type of the attached disk, either SCRATCH or PERSISTENT.
  module Type
    # A value indicating that the enum field is not set.
    UNDEFINED_TYPE = 0

    PERSISTENT = 460683927

    SCRATCH = 496778970
  end
end