[−][src]Struct google_compute1::Network
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).
- patch networks (request)
- list networks (none)
- delete networks (none)
- get networks (response)
- insert networks (request)
- switch to custom mode networks (none)
- add peering networks (none)
- remove peering networks (none)
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(&self) -> 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]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for Network
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
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]
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
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> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
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>,