Struct google_compute1::api::NetworksAddPeeringRequest[][src]

pub struct NetworksAddPeeringRequest {
    pub auto_create_routes: Option<bool>,
    pub name: Option<String>,
    pub network_peering: Option<NetworkPeering>,
    pub peer_network: Option<String>,
}

There is no detailed description.

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

auto_create_routes: Option<bool>

This field will be deprecated soon. Use exchange_subnet_routes in network_peering instead. Indicates whether full mesh connectivity is created and managed automatically between peered networks. Currently this field should always be true since Google Compute Engine will automatically create and manage subnetwork routes between two networks when peering state is ACTIVE.

name: Option<String>

Name of the peering, which should conform to RFC1035.

network_peering: Option<NetworkPeering>

Network peering parameters. In order to specify route policies for peering using import and export custom routes, you must specify all peering related parameters (name, peer network, exchange_subnet_routes) in the network_peering field. The corresponding fields in NetworksAddPeeringRequest will be deprecated soon.

peer_network: Option<String>

URL of the peer network. It can be either full URL or partial URL. The peer network may belong to a different project. If the partial URL does not contain project, it is assumed that the peer network is in the same project as the current network.

Trait Implementations

impl Clone for NetworksAddPeeringRequest[src]

impl Debug for NetworksAddPeeringRequest[src]

impl Default for NetworksAddPeeringRequest[src]

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

impl RequestValue for NetworksAddPeeringRequest[src]

impl Serialize for NetworksAddPeeringRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for NetworksAddPeeringRequest[src]

impl Send for NetworksAddPeeringRequest[src]

impl Sync for NetworksAddPeeringRequest[src]

impl Unpin for NetworksAddPeeringRequest[src]

impl UnwindSafe for NetworksAddPeeringRequest[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.