Class Google::Cloud::Compute::V1::DiskType (v1.2.0)

Stay organized with collections Save and categorize content based on your preferences.

Represents a Disk Type resource. Google Compute Engine has two Disk Type resources: * Regional * Zonal You can choose from a variety of disk types based on your needs. For more information, read Storage options. The diskTypes resource represents disk types for a zonal persistent disk. For more information, read Zonal persistent disks. The regionDiskTypes resource represents disk types for a regional persistent disk. For more information, read Regional persistent disks.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#creation_timestamp

def creation_timestamp() -> ::String
Returns
  • (::String) — [Output Only] Creation timestamp in RFC3339 text format.

#creation_timestamp=

def creation_timestamp=(value) -> ::String
Parameter
  • value (::String) — [Output Only] Creation timestamp in RFC3339 text format.
Returns
  • (::String) — [Output Only] Creation timestamp in RFC3339 text format.

#default_disk_size_gb

def default_disk_size_gb() -> ::Integer
Returns
  • (::Integer) — [Output Only] Server-defined default disk size in GB.

#default_disk_size_gb=

def default_disk_size_gb=(value) -> ::Integer
Parameter
  • value (::Integer) — [Output Only] Server-defined default disk size in GB.
Returns
  • (::Integer) — [Output Only] Server-defined default disk size in GB.

#deprecated

def deprecated() -> ::Google::Cloud::Compute::V1::DeprecationStatus
Returns

#deprecated=

def deprecated=(value) -> ::Google::Cloud::Compute::V1::DeprecationStatus
Parameter
Returns

#description

def description() -> ::String
Returns
  • (::String) — [Output Only] An optional description of this resource.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — [Output Only] An optional description of this resource.
Returns
  • (::String) — [Output Only] An optional description of this resource.

#id

def id() -> ::Integer
Returns
  • (::Integer) — [Output Only] The unique identifier for the resource. This identifier is defined by the server.

#id=

def id=(value) -> ::Integer
Parameter
  • value (::Integer) — [Output Only] The unique identifier for the resource. This identifier is defined by the server.
Returns
  • (::Integer) — [Output Only] The unique identifier for the resource. This identifier is defined by the server.

#kind

def kind() -> ::String
Returns
  • (::String) — [Output Only] Type of the resource. Always compute#diskType for disk types.

#kind=

def kind=(value) -> ::String
Parameter
  • value (::String) — [Output Only] Type of the resource. Always compute#diskType for disk types.
Returns
  • (::String) — [Output Only] Type of the resource. Always compute#diskType for disk types.

#name

def name() -> ::String
Returns
  • (::String) — [Output Only] Name of the resource.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — [Output Only] Name of the resource.
Returns
  • (::String) — [Output Only] Name of the resource.

#region

def region() -> ::String
Returns
  • (::String) — [Output Only] URL of the region where the disk type resides. Only applicable for regional resources. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.

#region=

def region=(value) -> ::String
Parameter
  • value (::String) — [Output Only] URL of the region where the disk type resides. Only applicable for regional resources. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
Returns
  • (::String) — [Output Only] URL of the region where the disk type resides. Only applicable for regional resources. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
def self_link() -> ::String
Returns
  • (::String) — [Output Only] Server-defined URL for the resource.
def self_link=(value) -> ::String
Parameter
  • value (::String) — [Output Only] Server-defined URL for the resource.
Returns
  • (::String) — [Output Only] Server-defined URL for the resource.

#valid_disk_size

def valid_disk_size() -> ::String
Returns
  • (::String) — [Output Only] An optional textual description of the valid disk size, such as "10GB-10TB".

#valid_disk_size=

def valid_disk_size=(value) -> ::String
Parameter
  • value (::String) — [Output Only] An optional textual description of the valid disk size, such as "10GB-10TB".
Returns
  • (::String) — [Output Only] An optional textual description of the valid disk size, such as "10GB-10TB".

#zone

def zone() -> ::String
Returns
  • (::String) — [Output Only] URL of the zone where the disk type resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.

#zone=

def zone=(value) -> ::String
Parameter
  • value (::String) — [Output Only] URL of the zone where the disk type resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
Returns
  • (::String) — [Output Only] URL of the zone where the disk type resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.