Struct google_compute1::api::TargetVpnGateway
source · pub struct TargetVpnGateway {Show 13 fields
pub creation_timestamp: Option<String>,
pub description: Option<String>,
pub forwarding_rules: Option<Vec<String>>,
pub id: Option<u64>,
pub kind: Option<String>,
pub label_fingerprint: Option<Vec<u8>>,
pub labels: Option<HashMap<String, String>>,
pub name: Option<String>,
pub network: Option<String>,
pub region: Option<String>,
pub self_link: Option<String>,
pub status: Option<String>,
pub tunnels: Option<Vec<String>>,
}
Expand description
Represents a Target VPN Gateway resource. The target VPN gateway resource represents a Classic Cloud VPN gateway. For more information, read the the Cloud VPN Overview.
§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).
- aggregated list target vpn gateways (none)
- delete target vpn gateways (none)
- get target vpn gateways (response)
- insert target vpn gateways (request)
- list target vpn gateways (none)
- set labels target vpn gateways (none)
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.
forwarding_rules: Option<Vec<String>>
[Output Only] A list of URLs to the ForwardingRule resources. ForwardingRules are created using compute.forwardingRules.insert and associated with a VPN gateway.
id: Option<u64>
[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#targetVpnGateway for target VPN gateways.
label_fingerprint: Option<Vec<u8>>
A fingerprint for the labels being applied to this TargetVpnGateway, 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 a TargetVpnGateway.
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 target VPN gateway resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
self_link: Option<String>
[Output Only] Server-defined URL for the resource.
status: Option<String>
[Output Only] The status of the VPN gateway, which can be one of the following: CREATING, READY, FAILED, or DELETING.
tunnels: Option<Vec<String>>
[Output Only] A list of URLs to VpnTunnel resources. VpnTunnels are created using the compute.vpntunnels.insert method and associated with a VPN gateway.
Trait Implementations§
source§impl Clone for TargetVpnGateway
impl Clone for TargetVpnGateway
source§fn clone(&self) -> TargetVpnGateway
fn clone(&self) -> TargetVpnGateway
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more