Struct google_compute1::api::Region[][src]

pub struct Region {
    pub creation_timestamp: Option<String>,
    pub deprecated: Option<DeprecationStatus>,
    pub description: Option<String>,
    pub id: Option<String>,
    pub kind: Option<String>,
    pub name: Option<String>,
    pub quotas: Option<Vec<Quota>>,
    pub self_link: Option<String>,
    pub status: Option<String>,
    pub supports_pzs: Option<bool>,
    pub zones: Option<Vec<String>>,
}

Represents a Region resource.

A region is a geographical area where a resource is located. For more information, read Regions and Zones. (== resource_for {$api_version}.regions ==)

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

creation_timestamp: Option<String>

[Output Only] Creation timestamp in RFC3339 text format.

deprecated: Option<DeprecationStatus>

[Output Only] The deprecation status associated with this region.

description: Option<String>

[Output Only] Textual description of the resource.

id: Option<String>

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

kind: Option<String>

[Output Only] Type of the resource. Always compute#region for regions.

name: Option<String>

[Output Only] Name of the resource.

quotas: Option<Vec<Quota>>

[Output Only] Quotas assigned to this region.

self_link: Option<String>

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

status: Option<String>

[Output Only] Status of the region, either UP or DOWN.

supports_pzs: Option<bool>

[Output Only] Reserved for future use.

zones: Option<Vec<String>>

[Output Only] A list of zones available in this region, in the form of resource URLs.

Trait Implementations

impl Clone for Region[src]

impl Debug for Region[src]

impl Default for Region[src]

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

impl Resource for Region[src]

impl ResponseResult for Region[src]

impl Serialize for Region[src]

Auto Trait Implementations

impl RefUnwindSafe for Region[src]

impl Send for Region[src]

impl Sync for Region[src]

impl Unpin for Region[src]

impl UnwindSafe for Region[src]

Blanket Implementations

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

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

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

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

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

impl<T> Instrument 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 = Infallible

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.