[][src]Struct google_compute1::DiskType

pub struct DiskType {
    pub kind: Option<String>,
    pub description: Option<String>,
    pub zone: Option<String>,
    pub valid_disk_size: Option<String>,
    pub deprecated: Option<DeprecationStatus>,
    pub region: Option<String>,
    pub default_disk_size_gb: Option<String>,
    pub creation_timestamp: Option<String>,
    pub id: Option<String>,
    pub self_link: Option<String>,
    pub name: Option<String>,
}

Represents a Disk Type resource.

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. (== resource_for beta.diskTypes ==) (== resource_for v1.diskTypes ==) (== resource_for v1.regionDiskTypes ==) (== resource_for beta.regionDiskTypes ==)

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

kind: Option<String>

[Output Only] Type of the resource. Always compute#diskType for disk types.

description: Option<String>

[Output Only] An optional description of this resource.

zone: Option<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.

valid_disk_size: Option<String>

[Output Only] An optional textual description of the valid disk size, such as "10GB-10TB".

deprecated: Option<DeprecationStatus>

[Output Only] The deprecation status associated with this disk type.

region: Option<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.

default_disk_size_gb: Option<String>

[Output Only] Server-defined default disk size in GB.

creation_timestamp: Option<String>

[Output Only] Creation timestamp in RFC3339 text format.

id: Option<String>

[Output Only] The unique identifier for the resource. This identifier is defined by the server.

self_link: Option<String>

[Output Only] Server-defined URL for the resource.

name: Option<String>

[Output Only] Name of the resource.

Trait Implementations

impl Resource for DiskType[src]

impl ResponseResult for DiskType[src]

impl Clone for DiskType[src]

impl Default for DiskType[src]

impl Debug for DiskType[src]

impl Serialize for DiskType[src]

impl<'de> Deserialize<'de> for DiskType[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]