[][src]Struct google_compute1::Region

pub struct Region {
    pub status: Option<String>,
    pub kind: Option<String>,
    pub description: Option<String>,
    pub deprecated: Option<DeprecationStatus>,
    pub quotas: Option<Vec<Quota>>,
    pub zones: Option<Vec<String>>,
    pub creation_timestamp: Option<String>,
    pub id: Option<String>,
    pub self_link: Option<String>,
    pub name: Option<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 beta.regions ==) (== resource_for v1.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

status: Option<String>

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

kind: Option<String>

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

description: Option<String>

[Output Only] Textual description of the resource.

deprecated: Option<DeprecationStatus>

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

quotas: Option<Vec<Quota>>

[Output Only] Quotas assigned to this region.

zones: Option<Vec<String>>

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

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 Region[src]

impl ResponseResult for Region[src]

impl Default for Region[src]

impl Clone for Region[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for Region[src]

impl Serialize for Region[src]

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

Auto Trait Implementations

impl Send for Region

impl Unpin for Region

impl Sync for Region

impl UnwindSafe for Region

impl RefUnwindSafe for Region

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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.

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

impl<T> Borrow<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

fn get_type(&self) -> TypeId

Get the TypeId of this object.

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