[][src]Struct google_compute1::Network

pub struct Network {
    pub kind: Option<String>,
    pub description: Option<String>,
    pub name: Option<String>,
    pub subnetworks: Option<Vec<String>>,
    pub id: Option<String>,
    pub i_pv4_range: Option<String>,
    pub gateway_i_pv4: Option<String>,
    pub routing_config: Option<NetworkRoutingConfig>,
    pub creation_timestamp: Option<String>,
    pub auto_create_subnetworks: Option<bool>,
    pub self_link: Option<String>,
    pub peerings: Option<Vec<NetworkPeering>>,
}

Represents a VPC Network resource.

Networks connect resources to each other and to the internet. For more information, read Virtual Private Cloud (VPC) Network. (== resource_for v1.networks ==) (== resource_for beta.networks ==)

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#network for networks.

description: Option<String>

An optional description of this resource. Provide this field when you create the resource.

name: Option<String>

Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `a-z?. The first character must be a lowercase letter, and all following characters (except for the last character) must be a dash, lowercase letter, or digit. The last character must be a lowercase letter or digit.

subnetworks: Option<Vec<String>>

[Output Only] Server-defined fully-qualified URLs for all subnetworks in this VPC network.

id: Option<String>

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

i_pv4_range: Option<String>

Deprecated in favor of subnet mode networks. The range of internal addresses that are legal on this network. This range is a CIDR specification, for example: 192.168.0.0/16. Provided by the client when the network is created.

gateway_i_pv4: Option<String>

[Output Only] The gateway address for default routing out of the network, selected by GCP.

routing_config: Option<NetworkRoutingConfig>

The network-level routing configuration for this network. Used by Cloud Router to determine what type of network-wide routing behavior to enforce.

creation_timestamp: Option<String>

[Output Only] Creation timestamp in RFC3339 text format.

auto_create_subnetworks: Option<bool>

When set to true, the VPC network is created in "auto" mode. When set to false, the VPC network is created in "custom" mode.

An auto mode VPC network starts with one subnet per region. Each subnet has a predetermined range as described in Auto mode VPC network IP ranges.

self_link: Option<String>

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

peerings: Option<Vec<NetworkPeering>>

[Output Only] A list of network peerings for the resource.

Trait Implementations

impl Resource for Network[src]

impl ResponseResult for Network[src]

impl RequestValue for Network[src]

impl Default for Network[src]

impl Clone for Network[src]

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

Performs copy-assignment from source. Read more

impl Debug for Network[src]

impl Serialize for Network[src]

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

Auto Trait Implementations

impl Send for Network

impl Unpin for Network

impl Sync for Network

impl UnwindSafe for Network

impl RefUnwindSafe for Network

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]