View Source GoogleApi.Compute.V1.Model.DiskType (google_api_compute v0.56.2)

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.

Attributes

  • creationTimestamp (type: String.t, default: nil) - [Output Only] Creation timestamp in RFC3339 text format.
  • defaultDiskSizeGb (type: String.t, default: nil) - [Output Only] Server-defined default disk size in GB.
  • deprecated (type: GoogleApi.Compute.V1.Model.DeprecationStatus.t, default: nil) - [Output Only] The deprecation status associated with this disk type.
  • description (type: String.t, default: nil) - [Output Only] An optional description of this resource.
  • id (type: String.t, default: nil) - [Output Only] The unique identifier for the resource. This identifier is defined by the server.
  • kind (type: String.t, default: compute#diskType) - [Output Only] Type of the resource. Always compute#diskType for disk types.
  • name (type: String.t, default: nil) - [Output Only] Name of the resource.
  • region (type: String.t, default: nil) - [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.
  • selfLink (type: String.t, default: nil) - [Output Only] Server-defined URL for the resource.
  • validDiskSize (type: String.t, default: nil) - [Output Only] An optional textual description of the valid disk size, such as "10GB-10TB".
  • zone (type: String.t, default: nil) - [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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Compute.V1.Model.DiskType{
  creationTimestamp: String.t() | nil,
  defaultDiskSizeGb: String.t() | nil,
  deprecated: GoogleApi.Compute.V1.Model.DeprecationStatus.t() | nil,
  description: String.t() | nil,
  id: String.t() | nil,
  kind: String.t() | nil,
  name: String.t() | nil,
  region: String.t() | nil,
  selfLink: String.t() | nil,
  validDiskSize: String.t() | nil,
  zone: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.