Struct google_compute1::api::VpnGateway[][src]

pub struct VpnGateway {
    pub creation_timestamp: Option<String>,
    pub description: Option<String>,
    pub id: Option<String>,
    pub kind: Option<String>,
    pub label_fingerprint: Option<String>,
    pub labels: Option<HashMap<String, String>>,
    pub name: Option<String>,
    pub network: Option<String>,
    pub region: Option<String>,
    pub self_link: Option<String>,
    pub vpn_interfaces: Option<Vec<VpnGatewayVpnGatewayInterface>>,
}

Represents a HA VPN gateway.

HA VPN is a high-availability (HA) Cloud VPN solution that lets you securely connect your on-premises network to your Google Cloud Virtual Private Cloud network through an IPsec VPN connection in a single region. For more information about Cloud HA VPN solutions, see Cloud VPN topologies . (== resource_for {$api_version}.vpnGateways ==)

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.

description: Option<String>

An optional description of this resource. Provide this property when you create 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 resource. Always compute#vpnGateway for VPN gateways.

label_fingerprint: Option<String>

A fingerprint for the labels being applied to this VpnGateway, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet.

To see the latest fingerprint, make a get() request to retrieve an VpnGateway.

labels: Option<HashMap<String, String>>

Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.

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]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

network: Option<String>

URL of the network to which this VPN gateway is attached. Provided by the client when the VPN gateway is created.

region: Option<String>

[Output Only] URL of the region where the VPN gateway resides.

self_link: Option<String>

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

vpn_interfaces: Option<Vec<VpnGatewayVpnGatewayInterface>>

A list of interfaces on this VPN gateway.

Trait Implementations

impl Clone for VpnGateway[src]

impl Debug for VpnGateway[src]

impl Default for VpnGateway[src]

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

impl RequestValue for VpnGateway[src]

impl Resource for VpnGateway[src]

impl ResponseResult for VpnGateway[src]

impl Serialize for VpnGateway[src]

Auto Trait Implementations

impl RefUnwindSafe for VpnGateway[src]

impl Send for VpnGateway[src]

impl Sync for VpnGateway[src]

impl Unpin for VpnGateway[src]

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