compute
v1
|
#include <vpn_tunnel.h>
Public Member Functions | |
VpnTunnel (const Json::Value &storage) | |
VpnTunnel (Json::Value *storage) | |
virtual | ~VpnTunnel () |
const StringPiece | GetTypeName () const |
bool | has_creation_timestamp () const |
void | clear_creation_timestamp () |
const StringPiece | get_creation_timestamp () const |
void | set_creation_timestamp (const StringPiece &value) |
bool | has_description () const |
void | clear_description () |
const StringPiece | get_description () const |
void | set_description (const StringPiece &value) |
bool | has_detailed_status () const |
void | clear_detailed_status () |
const StringPiece | get_detailed_status () const |
void | set_detailed_status (const StringPiece &value) |
bool | has_id () const |
void | clear_id () |
uint64 | get_id () const |
void | set_id (uint64 value) |
bool | has_ike_version () const |
void | clear_ike_version () |
int32 | get_ike_version () const |
void | set_ike_version (int32 value) |
bool | has_kind () const |
void | clear_kind () |
const StringPiece | get_kind () const |
void | set_kind (const StringPiece &value) |
bool | has_local_traffic_selector () const |
void | clear_local_traffic_selector () |
const client::JsonCppArray< string > | get_local_traffic_selector () const |
client::JsonCppArray< string > | mutable_localTrafficSelector () |
bool | has_name () const |
void | clear_name () |
const StringPiece | get_name () const |
void | set_name (const StringPiece &value) |
bool | has_peer_ip () const |
void | clear_peer_ip () |
const StringPiece | get_peer_ip () const |
void | set_peer_ip (const StringPiece &value) |
bool | has_region () const |
void | clear_region () |
const StringPiece | get_region () const |
void | set_region (const StringPiece &value) |
bool | has_remote_traffic_selector () const |
void | clear_remote_traffic_selector () |
const client::JsonCppArray< string > | get_remote_traffic_selector () const |
client::JsonCppArray< string > | mutable_remoteTrafficSelector () |
bool | has_router () const |
void | clear_router () |
const StringPiece | get_router () const |
void | set_router (const StringPiece &value) |
bool | has_self_link () const |
void | clear_self_link () |
const StringPiece | get_self_link () const |
void | set_self_link (const StringPiece &value) |
bool | has_shared_secret () const |
void | clear_shared_secret () |
const StringPiece | get_shared_secret () const |
void | set_shared_secret (const StringPiece &value) |
bool | has_shared_secret_hash () const |
void | clear_shared_secret_hash () |
const StringPiece | get_shared_secret_hash () const |
void | set_shared_secret_hash (const StringPiece &value) |
bool | has_status () const |
void | clear_status () |
const StringPiece | get_status () const |
void | set_status (const StringPiece &value) |
bool | has_target_vpn_gateway () const |
void | clear_target_vpn_gateway () |
const StringPiece | get_target_vpn_gateway () const |
void | set_target_vpn_gateway (const StringPiece &value) |
Static Public Member Functions | |
static VpnTunnel * | New () |
VPN tunnel resource. (== resource_for beta.vpnTunnels ==) (== resource_for v1.vpnTunnels ==).
|
explicit |
Standard constructor for an immutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'creationTimestamp
' attribute.
|
inline |
Clears the 'description
' attribute.
|
inline |
Clears the 'detailedStatus
' attribute.
|
inline |
Clears the 'id
' attribute.
|
inline |
Clears the 'ikeVersion
' attribute.
|
inline |
Clears the 'kind
' attribute.
|
inline |
Clears the 'localTrafficSelector
' attribute.
|
inline |
Clears the 'name
' attribute.
|
inline |
Clears the 'peerIp
' attribute.
|
inline |
Clears the 'region
' attribute.
|
inline |
Clears the 'remoteTrafficSelector
' attribute.
|
inline |
Clears the 'router
' attribute.
|
inline |
Clears the 'selfLink
' attribute.
|
inline |
Clears the 'sharedSecret
' attribute.
|
inline |
Clears the 'sharedSecretHash
' attribute.
|
inline |
Clears the 'status
' attribute.
|
inline |
Clears the 'targetVpnGateway
' attribute.
|
inline |
Get the value of the 'creationTimestamp
' attribute.
|
inline |
Get the value of the 'description
' attribute.
|
inline |
Get the value of the 'detailedStatus
' attribute.
|
inline |
Get the value of the 'id
' attribute.
|
inline |
Get the value of the 'ikeVersion
' attribute.
|
inline |
Get the value of the 'kind
' attribute.
|
inline |
Get a reference to the value of the 'localTrafficSelector
' attribute.
|
inline |
Get the value of the 'name
' attribute.
|
inline |
Get the value of the 'peerIp
' attribute.
|
inline |
Get the value of the 'region
' attribute.
|
inline |
Get a reference to the value of the 'remoteTrafficSelector
' attribute.
|
inline |
Get the value of the 'router
' attribute.
|
inline |
Get the value of the 'selfLink
' attribute.
|
inline |
Get the value of the 'sharedSecret
' attribute.
|
inline |
Get the value of the 'sharedSecretHash
' attribute.
|
inline |
Get the value of the 'status
' attribute.
|
inline |
Get the value of the 'targetVpnGateway
' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'creationTimestamp
' attribute was set.
creationTimestamp
' attribute was set.
|
inline |
Determine if the 'description
' attribute was set.
description
' attribute was set.
|
inline |
Determine if the 'detailedStatus
' attribute was set.
detailedStatus
' attribute was set.
|
inline |
Determine if the 'id
' attribute was set.
id
' attribute was set.
|
inline |
Determine if the 'ikeVersion
' attribute was set.
ikeVersion
' attribute was set.
|
inline |
Determine if the 'kind
' attribute was set.
kind
' attribute was set.
|
inline |
Determine if the 'localTrafficSelector
' attribute was set.
localTrafficSelector
' attribute was set.
|
inline |
Determine if the 'name
' attribute was set.
name
' attribute was set.
|
inline |
Determine if the 'peerIp
' attribute was set.
peerIp
' attribute was set.
|
inline |
Determine if the 'region
' attribute was set.
region
' attribute was set.
|
inline |
Determine if the 'remoteTrafficSelector
' attribute was set.
remoteTrafficSelector
' attribute was set.
|
inline |
Determine if the 'router
' attribute was set.
router
' attribute was set.
|
inline |
Determine if the 'selfLink
' attribute was set.
selfLink
' attribute was set.
|
inline |
Determine if the 'sharedSecret
' attribute was set.
sharedSecret
' attribute was set.
|
inline |
Determine if the 'sharedSecretHash
' attribute was set.
sharedSecretHash
' attribute was set.
|
inline |
Determine if the 'status
' attribute was set.
status
' attribute was set.
|
inline |
Determine if the 'targetVpnGateway
' attribute was set.
targetVpnGateway
' attribute was set.
|
inline |
Gets a reference to a mutable value of the 'localTrafficSelector
' property.
Local traffic selector to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges must be disjoint. Only IPv4 is supported.
|
inline |
Gets a reference to a mutable value of the 'remoteTrafficSelector
' property.
Remote traffic selectors to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges should be disjoint. Only IPv4 is supported.
|
static |
Creates a new default instance.
|
inline |
Change the 'creationTimestamp
' attribute.
[Output Only] Creation timestamp in RFC3339 text format.
[in] | value | The new value. |
|
inline |
Change the 'description
' attribute.
An optional description of this resource. Provide this property when you create the resource.
[in] | value | The new value. |
|
inline |
Change the 'detailedStatus
' attribute.
[Output Only] Detailed status message for the VPN tunnel.
[in] | value | The new value. |
|
inline |
Change the 'id
' attribute.
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
[in] | value | The new value. |
|
inline |
Change the 'ikeVersion
' attribute.
IKE protocol version to use when establishing the VPN tunnel with the peer VPN gateway. Acceptable IKE versions are 1 or 2. The default version is 2.
[in] | value | The new value. |
|
inline |
Change the 'kind
' attribute.
[Output Only] Type of resource. Always compute::vpnTunnel for VPN tunnels.
[in] | value | The new value. |
|
inline |
Change the 'name
' attribute.
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.
[in] | value | The new value. |
|
inline |
Change the 'peerIp
' attribute.
IP address of the peer VPN gateway. Only IPv4 is supported.
[in] | value | The new value. |
|
inline |
Change the 'region
' attribute.
[Output Only] URL of the region where the VPN tunnel resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
[in] | value | The new value. |
|
inline |
Change the 'router
' attribute.
URL of the router resource to be used for dynamic routing.
[in] | value | The new value. |
|
inline |
Change the 'selfLink
' attribute.
[Output Only] Server-defined URL for the resource.
[in] | value | The new value. |
|
inline |
Change the 'sharedSecret
' attribute.
Shared secret used to set the secure session between the Cloud VPN gateway and the peer VPN gateway.
[in] | value | The new value. |
|
inline |
Change the 'sharedSecretHash
' attribute.
Hash of the shared secret.
[in] | value | The new value. |
|
inline |
Change the 'status
' attribute.
[Output Only] The status of the VPN tunnel, which can be one of the following:
tunnel.
[in] | value | The new value. |
|
inline |
Change the 'targetVpnGateway
' attribute.
URL of the Target VPN gateway with which this VPN tunnel is associated. Provided by the client when the VPN tunnel is created.
[in] | value | The new value. |