#include <router_nat_subnetwork_to_nat.h>
Defines the IP ranges that want to use NAT for a subnetwork.
◆ RouterNatSubnetworkToNat() [1/2]
google_compute_api::RouterNatSubnetworkToNat::RouterNatSubnetworkToNat |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ RouterNatSubnetworkToNat() [2/2]
google_compute_api::RouterNatSubnetworkToNat::RouterNatSubnetworkToNat |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~RouterNatSubnetworkToNat()
google_compute_api::RouterNatSubnetworkToNat::~RouterNatSubnetworkToNat |
( |
| ) |
|
|
virtual |
◆ clear_name()
void google_compute_api::RouterNatSubnetworkToNat::clear_name |
( |
| ) |
|
|
inline |
Clears the 'name
' attribute.
◆ clear_secondary_ip_range_names()
void google_compute_api::RouterNatSubnetworkToNat::clear_secondary_ip_range_names |
( |
| ) |
|
|
inline |
Clears the 'secondaryIpRangeNames
' attribute.
◆ clear_source_ip_ranges_to_nat()
void google_compute_api::RouterNatSubnetworkToNat::clear_source_ip_ranges_to_nat |
( |
| ) |
|
|
inline |
Clears the 'sourceIpRangesToNat
' attribute.
◆ get_name()
const StringPiece google_compute_api::RouterNatSubnetworkToNat::get_name |
( |
| ) |
const |
|
inline |
Get the value of the 'name
' attribute.
◆ get_secondary_ip_range_names()
const client::JsonCppArray<string > google_compute_api::RouterNatSubnetworkToNat::get_secondary_ip_range_names |
( |
| ) |
const |
|
inline |
Get a reference to the value of the 'secondaryIpRangeNames
' attribute.
◆ get_source_ip_ranges_to_nat()
const client::JsonCppArray<string > google_compute_api::RouterNatSubnetworkToNat::get_source_ip_ranges_to_nat |
( |
| ) |
const |
|
inline |
Get a reference to the value of the 'sourceIpRangesToNat
' attribute.
◆ GetTypeName()
const StringPiece google_compute_api::RouterNatSubnetworkToNat::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_name()
bool google_compute_api::RouterNatSubnetworkToNat::has_name |
( |
| ) |
const |
|
inline |
Determine if the 'name
' attribute was set.
- Returns
- true if the '
name
' attribute was set.
◆ has_secondary_ip_range_names()
bool google_compute_api::RouterNatSubnetworkToNat::has_secondary_ip_range_names |
( |
| ) |
const |
|
inline |
Determine if the 'secondaryIpRangeNames
' attribute was set.
- Returns
- true if the '
secondaryIpRangeNames
' attribute was set.
◆ has_source_ip_ranges_to_nat()
bool google_compute_api::RouterNatSubnetworkToNat::has_source_ip_ranges_to_nat |
( |
| ) |
const |
|
inline |
Determine if the 'sourceIpRangesToNat
' attribute was set.
- Returns
- true if the '
sourceIpRangesToNat
' attribute was set.
◆ mutable_secondaryIpRangeNames()
client::JsonCppArray<string > google_compute_api::RouterNatSubnetworkToNat::mutable_secondaryIpRangeNames |
( |
| ) |
|
|
inline |
Gets a reference to a mutable value of the 'secondaryIpRangeNames
' property.
A list of the secondary ranges of the Subnetwork that are allowed to use NAT. This can be populated only if "LIST_OF_SECONDARY_IP_RANGES" is one of the values in source_ip_ranges_to_nat.
- Returns
- The result can be modified to change the attribute value.
◆ mutable_sourceIpRangesToNat()
client::JsonCppArray<string > google_compute_api::RouterNatSubnetworkToNat::mutable_sourceIpRangesToNat |
( |
| ) |
|
|
inline |
Gets a reference to a mutable value of the 'sourceIpRangesToNat
' property.
Specify the options for NAT ranges in the Subnetwork. All usages of single value are valid except NAT_IP_RANGE_OPTION_UNSPECIFIED. The only valid option with multiple values is: ["PRIMARY_IP_RANGE", "LIST_OF_SECONDARY_IP_RANGES"] Default: [ALL_IP_RANGES].
- 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_name()
void google_compute_api::RouterNatSubnetworkToNat::set_name |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'name
' attribute.
URL for the subnetwork resource to use NAT.
- Parameters
-
The documentation for this class was generated from the following files: