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
- (::String) — [Output Only] Creation timestamp in RFC3339 text format.
#creation_timestamp=
def creation_timestamp=(value) -> ::String
- value (::String) — [Output Only] Creation timestamp in RFC3339 text format.
- (::String) — [Output Only] Creation timestamp in RFC3339 text format.
#default_disk_size_gb
def default_disk_size_gb() -> ::Integer
- (::Integer) — [Output Only] Server-defined default disk size in GB.
#default_disk_size_gb=
def default_disk_size_gb=(value) -> ::Integer
- value (::Integer) — [Output Only] Server-defined default disk size in GB.
- (::Integer) — [Output Only] Server-defined default disk size in GB.
#deprecated
def deprecated() -> ::Google::Cloud::Compute::V1::DeprecationStatus
- (::Google::Cloud::Compute::V1::DeprecationStatus) — [Output Only] The deprecation status associated with this disk type.
#deprecated=
def deprecated=(value) -> ::Google::Cloud::Compute::V1::DeprecationStatus
- value (::Google::Cloud::Compute::V1::DeprecationStatus) — [Output Only] The deprecation status associated with this disk type.
- (::Google::Cloud::Compute::V1::DeprecationStatus) — [Output Only] The deprecation status associated with this disk type.
#description
def description() -> ::String
- (::String) — [Output Only] An optional description of this resource.
#description=
def description=(value) -> ::String
- value (::String) — [Output Only] An optional description of this resource.
- (::String) — [Output Only] An optional description of this resource.
#id
def id() -> ::Integer
- (::Integer) — [Output Only] The unique identifier for the resource. This identifier is defined by the server.
#id=
def id=(value) -> ::Integer
- value (::Integer) — [Output Only] The unique identifier for the resource. This identifier is defined by the server.
- (::Integer) — [Output Only] The unique identifier for the resource. This identifier is defined by the server.
#kind
def kind() -> ::String
- (::String) — [Output Only] Type of the resource. Always compute#diskType for disk types.
#kind=
def kind=(value) -> ::String
- value (::String) — [Output Only] Type of the resource. Always compute#diskType for disk types.
- (::String) — [Output Only] Type of the resource. Always compute#diskType for disk types.
#name
def name() -> ::String
- (::String) — [Output Only] Name of the resource.
#name=
def name=(value) -> ::String
- value (::String) — [Output Only] Name of the resource.
- (::String) — [Output Only] Name of the resource.
#region
def region() -> ::String
- (::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
- 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.
- (::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.
#self_link
def self_link() -> ::String
- (::String) — [Output Only] Server-defined URL for the resource.
#self_link=
def self_link=(value) -> ::String
- value (::String) — [Output Only] Server-defined URL for the resource.
- (::String) — [Output Only] Server-defined URL for the resource.
#valid_disk_size
def valid_disk_size() -> ::String
- (::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
- value (::String) — [Output Only] An optional textual description of the valid disk size, such as "10GB-10TB".
- (::String) — [Output Only] An optional textual description of the valid disk size, such as "10GB-10TB".
#zone
def zone() -> ::String
- (::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
- 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.
- (::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.