[−][src]Struct google_compute1::DiskType
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).
- aggregated list disk types (none)
- list disk types (none)
- get region disk types (response)
- get disk types (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]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for DiskType
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for DiskType
impl Sync for DiskType
impl Unpin for DiskType
impl UnwindSafe for DiskType
impl RefUnwindSafe for DiskType
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Typeable for T where
T: Any,
T: Any,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,