DiskType class

Represents a Disk Type resource.

Google Compute Engine has two Disk Type resources: * [Regional](/compute/docs/reference/rest/v1/regionDiskTypes) * [Zonal](/compute/docs/reference/rest/v1/diskTypes) 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.

Constructors

DiskType({String? creationTimestamp, String? defaultDiskSizeGb, DeprecationStatus? deprecated, String? description, String? id, String? kind, String? name, String? region, String? selfLink, String? validDiskSize, String? zone})
DiskType.fromJson(Map json_)

Properties

creationTimestamp String?
Creation timestamp in RFC3339 text format.
getter/setter pair
defaultDiskSizeGb String?
Server-defined default disk size in GB.
getter/setter pair
deprecated DeprecationStatus?
The deprecation status associated with this disk type.
getter/setter pair
description String?
An optional description of this resource.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String?
The unique identifier for the resource.
getter/setter pair
kind String?
Type of the resource.
getter/setter pair
name String?
Name of the resource.
getter/setter pair
region String?
URL of the region where the disk type resides.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
Server-defined URL for the resource.
getter/setter pair
validDiskSize String?
An optional textual description of the valid disk size, such as "10GB-10TB".
getter/setter pair
zone String?
URL of the zone where the disk type resides.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited