#include <target_vpn_gateway.h>
Represents a Target VPN gateway resource. (== resource_for beta.targetVpnGateways ==) (== resource_for v1.targetVpnGateways ==).
◆ TargetVpnGateway() [1/2]
google_compute_api::TargetVpnGateway::TargetVpnGateway |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ TargetVpnGateway() [2/2]
google_compute_api::TargetVpnGateway::TargetVpnGateway |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~TargetVpnGateway()
google_compute_api::TargetVpnGateway::~TargetVpnGateway |
( |
| ) |
|
|
virtual |
◆ clear_creation_timestamp()
void google_compute_api::TargetVpnGateway::clear_creation_timestamp |
( |
| ) |
|
|
inline |
Clears the 'creationTimestamp
' attribute.
◆ clear_description()
void google_compute_api::TargetVpnGateway::clear_description |
( |
| ) |
|
|
inline |
Clears the 'description
' attribute.
◆ clear_forwarding_rules()
void google_compute_api::TargetVpnGateway::clear_forwarding_rules |
( |
| ) |
|
|
inline |
Clears the 'forwardingRules
' attribute.
◆ clear_id()
void google_compute_api::TargetVpnGateway::clear_id |
( |
| ) |
|
|
inline |
Clears the 'id
' attribute.
◆ clear_kind()
void google_compute_api::TargetVpnGateway::clear_kind |
( |
| ) |
|
|
inline |
Clears the 'kind
' attribute.
◆ clear_name()
void google_compute_api::TargetVpnGateway::clear_name |
( |
| ) |
|
|
inline |
Clears the 'name
' attribute.
◆ clear_network()
void google_compute_api::TargetVpnGateway::clear_network |
( |
| ) |
|
|
inline |
Clears the 'network
' attribute.
◆ clear_region()
void google_compute_api::TargetVpnGateway::clear_region |
( |
| ) |
|
|
inline |
Clears the 'region
' attribute.
◆ clear_self_link()
void google_compute_api::TargetVpnGateway::clear_self_link |
( |
| ) |
|
|
inline |
Clears the 'selfLink
' attribute.
◆ clear_status()
void google_compute_api::TargetVpnGateway::clear_status |
( |
| ) |
|
|
inline |
Clears the 'status
' attribute.
◆ clear_tunnels()
void google_compute_api::TargetVpnGateway::clear_tunnels |
( |
| ) |
|
|
inline |
Clears the 'tunnels
' attribute.
◆ get_creation_timestamp()
const StringPiece google_compute_api::TargetVpnGateway::get_creation_timestamp |
( |
| ) |
const |
|
inline |
Get the value of the 'creationTimestamp
' attribute.
◆ get_description()
const StringPiece google_compute_api::TargetVpnGateway::get_description |
( |
| ) |
const |
|
inline |
Get the value of the 'description
' attribute.
◆ get_forwarding_rules()
const client::JsonCppArray<string > google_compute_api::TargetVpnGateway::get_forwarding_rules |
( |
| ) |
const |
|
inline |
Get a reference to the value of the 'forwardingRules
' attribute.
◆ get_id()
uint64 google_compute_api::TargetVpnGateway::get_id |
( |
| ) |
const |
|
inline |
Get the value of the 'id
' attribute.
◆ get_kind()
const StringPiece google_compute_api::TargetVpnGateway::get_kind |
( |
| ) |
const |
|
inline |
Get the value of the 'kind
' attribute.
◆ get_name()
const StringPiece google_compute_api::TargetVpnGateway::get_name |
( |
| ) |
const |
|
inline |
Get the value of the 'name
' attribute.
◆ get_network()
const StringPiece google_compute_api::TargetVpnGateway::get_network |
( |
| ) |
const |
|
inline |
Get the value of the 'network
' attribute.
◆ get_region()
const StringPiece google_compute_api::TargetVpnGateway::get_region |
( |
| ) |
const |
|
inline |
Get the value of the 'region
' attribute.
◆ get_self_link()
const StringPiece google_compute_api::TargetVpnGateway::get_self_link |
( |
| ) |
const |
|
inline |
Get the value of the 'selfLink
' attribute.
◆ get_status()
const StringPiece google_compute_api::TargetVpnGateway::get_status |
( |
| ) |
const |
|
inline |
Get the value of the 'status
' attribute.
◆ get_tunnels()
const client::JsonCppArray<string > google_compute_api::TargetVpnGateway::get_tunnels |
( |
| ) |
const |
|
inline |
Get a reference to the value of the 'tunnels
' attribute.
◆ GetTypeName()
const StringPiece google_compute_api::TargetVpnGateway::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_creation_timestamp()
bool google_compute_api::TargetVpnGateway::has_creation_timestamp |
( |
| ) |
const |
|
inline |
Determine if the 'creationTimestamp
' attribute was set.
- Returns
- true if the '
creationTimestamp
' attribute was set.
◆ has_description()
bool google_compute_api::TargetVpnGateway::has_description |
( |
| ) |
const |
|
inline |
Determine if the 'description
' attribute was set.
- Returns
- true if the '
description
' attribute was set.
◆ has_forwarding_rules()
bool google_compute_api::TargetVpnGateway::has_forwarding_rules |
( |
| ) |
const |
|
inline |
Determine if the 'forwardingRules
' attribute was set.
- Returns
- true if the '
forwardingRules
' attribute was set.
◆ has_id()
bool google_compute_api::TargetVpnGateway::has_id |
( |
| ) |
const |
|
inline |
Determine if the 'id
' attribute was set.
- Returns
- true if the '
id
' attribute was set.
◆ has_kind()
bool google_compute_api::TargetVpnGateway::has_kind |
( |
| ) |
const |
|
inline |
Determine if the 'kind
' attribute was set.
- Returns
- true if the '
kind
' attribute was set.
◆ has_name()
bool google_compute_api::TargetVpnGateway::has_name |
( |
| ) |
const |
|
inline |
Determine if the 'name
' attribute was set.
- Returns
- true if the '
name
' attribute was set.
◆ has_network()
bool google_compute_api::TargetVpnGateway::has_network |
( |
| ) |
const |
|
inline |
Determine if the 'network
' attribute was set.
- Returns
- true if the '
network
' attribute was set.
◆ has_region()
bool google_compute_api::TargetVpnGateway::has_region |
( |
| ) |
const |
|
inline |
Determine if the 'region
' attribute was set.
- Returns
- true if the '
region
' attribute was set.
◆ has_self_link()
bool google_compute_api::TargetVpnGateway::has_self_link |
( |
| ) |
const |
|
inline |
Determine if the 'selfLink
' attribute was set.
- Returns
- true if the '
selfLink
' attribute was set.
◆ has_status()
bool google_compute_api::TargetVpnGateway::has_status |
( |
| ) |
const |
|
inline |
Determine if the 'status
' attribute was set.
- Returns
- true if the '
status
' attribute was set.
◆ has_tunnels()
bool google_compute_api::TargetVpnGateway::has_tunnels |
( |
| ) |
const |
|
inline |
Determine if the 'tunnels
' attribute was set.
- Returns
- true if the '
tunnels
' attribute was set.
◆ mutable_forwardingRules()
client::JsonCppArray<string > google_compute_api::TargetVpnGateway::mutable_forwardingRules |
( |
| ) |
|
|
inline |
Gets a reference to a mutable value of the 'forwardingRules
' property.
[Output Only] A list of URLs to the ForwardingRule resources. ForwardingRules are created using compute.forwardingRules.insert and associated with a VPN gateway.
- Returns
- The result can be modified to change the attribute value.
◆ mutable_tunnels()
client::JsonCppArray<string > google_compute_api::TargetVpnGateway::mutable_tunnels |
( |
| ) |
|
|
inline |
Gets a reference to a mutable value of the 'tunnels
' property.
[Output Only] A list of URLs to VpnTunnel resources. VpnTunnels are created using the compute.vpntunnels.insert method and associated with a VPN gateway.
- Returns
- The result can be modified to change the attribute value.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_creation_timestamp()
void google_compute_api::TargetVpnGateway::set_creation_timestamp |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'creationTimestamp
' attribute.
[Output Only] Creation timestamp in RFC3339 text format.
- Parameters
-
◆ set_description()
void google_compute_api::TargetVpnGateway::set_description |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'description
' attribute.
An optional description of this resource. Provide this property when you create the resource.
- Parameters
-
◆ set_id()
void google_compute_api::TargetVpnGateway::set_id |
( |
uint64 |
value | ) |
|
|
inline |
Change the 'id
' attribute.
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
- Parameters
-
◆ set_kind()
void google_compute_api::TargetVpnGateway::set_kind |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'kind
' attribute.
[Output Only] Type of resource. Always compute::targetVpnGateway for target VPN gateways.
- Parameters
-
◆ set_name()
void google_compute_api::TargetVpnGateway::set_name |
( |
const StringPiece & |
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.
- Parameters
-
◆ set_network()
void google_compute_api::TargetVpnGateway::set_network |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'network
' attribute.
URL of the network to which this VPN gateway is attached. Provided by the client when the VPN gateway is created.
- Parameters
-
◆ set_region()
void google_compute_api::TargetVpnGateway::set_region |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'region
' attribute.
[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.
- Parameters
-
◆ set_self_link()
void google_compute_api::TargetVpnGateway::set_self_link |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'selfLink
' attribute.
[Output Only] Server-defined URL for the resource.
- Parameters
-
◆ set_status()
void google_compute_api::TargetVpnGateway::set_status |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'status
' attribute.
[Output Only] The status of the VPN gateway, which can be one of the following: CREATING, READY, FAILED, or DELETING.
- Parameters
-
The documentation for this class was generated from the following files: