#include <router_bgp.h>
◆ RouterBgp() [1/2]
google_compute_api::RouterBgp::RouterBgp |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ RouterBgp() [2/2]
google_compute_api::RouterBgp::RouterBgp |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~RouterBgp()
google_compute_api::RouterBgp::~RouterBgp |
( |
| ) |
|
|
virtual |
◆ clear_advertise_mode()
void google_compute_api::RouterBgp::clear_advertise_mode |
( |
| ) |
|
|
inline |
Clears the 'advertiseMode
' attribute.
◆ clear_advertised_groups()
void google_compute_api::RouterBgp::clear_advertised_groups |
( |
| ) |
|
|
inline |
Clears the 'advertisedGroups
' attribute.
◆ clear_advertised_ip_ranges()
void google_compute_api::RouterBgp::clear_advertised_ip_ranges |
( |
| ) |
|
|
inline |
Clears the 'advertisedIpRanges
' attribute.
◆ clear_asn()
void google_compute_api::RouterBgp::clear_asn |
( |
| ) |
|
|
inline |
Clears the 'asn
' attribute.
◆ get_advertise_mode()
const StringPiece google_compute_api::RouterBgp::get_advertise_mode |
( |
| ) |
const |
|
inline |
Get the value of the 'advertiseMode
' attribute.
◆ get_advertised_groups()
const client::JsonCppArray<string > google_compute_api::RouterBgp::get_advertised_groups |
( |
| ) |
const |
|
inline |
Get a reference to the value of the 'advertisedGroups
' attribute.
◆ get_advertised_ip_ranges()
const client::JsonCppArray<RouterAdvertisedIpRange > google_compute_api::RouterBgp::get_advertised_ip_ranges |
( |
| ) |
const |
Get a reference to the value of the 'advertisedIpRanges
' attribute.
◆ get_asn()
uint32 google_compute_api::RouterBgp::get_asn |
( |
| ) |
const |
|
inline |
Get the value of the 'asn
' attribute.
◆ GetTypeName()
const StringPiece google_compute_api::RouterBgp::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_advertise_mode()
bool google_compute_api::RouterBgp::has_advertise_mode |
( |
| ) |
const |
|
inline |
Determine if the 'advertiseMode
' attribute was set.
- Returns
- true if the '
advertiseMode
' attribute was set.
◆ has_advertised_groups()
bool google_compute_api::RouterBgp::has_advertised_groups |
( |
| ) |
const |
|
inline |
Determine if the 'advertisedGroups
' attribute was set.
- Returns
- true if the '
advertisedGroups
' attribute was set.
◆ has_advertised_ip_ranges()
bool google_compute_api::RouterBgp::has_advertised_ip_ranges |
( |
| ) |
const |
|
inline |
Determine if the 'advertisedIpRanges
' attribute was set.
- Returns
- true if the '
advertisedIpRanges
' attribute was set.
◆ has_asn()
bool google_compute_api::RouterBgp::has_asn |
( |
| ) |
const |
|
inline |
Determine if the 'asn
' attribute was set.
- Returns
- true if the '
asn
' attribute was set.
◆ mutable_advertisedGroups()
client::JsonCppArray<string > google_compute_api::RouterBgp::mutable_advertisedGroups |
( |
| ) |
|
|
inline |
Gets a reference to a mutable value of the 'advertisedGroups
' property.
User-specified list of prefix groups to advertise in custom mode. This field can only be populated if advertise_mode is CUSTOM and is advertised to all peers of the router. These groups will be advertised in addition to any specified prefixes. Leave this field blank to advertise no custom groups.
- Returns
- The result can be modified to change the attribute value.
◆ mutable_advertisedIpRanges()
Gets a reference to a mutable value of the 'advertisedIpRanges
' property.
User-specified list of individual IP ranges to advertise in custom mode. This field can only be populated if advertise_mode is CUSTOM and is advertised to all peers of the router. These IP ranges will be advertised in addition to any specified groups. Leave this field blank to advertise no custom IP ranges.
- Returns
- The result can be modified to change the attribute value.
◆ New()
RouterBgp * google_compute_api::RouterBgp::New |
( |
| ) |
|
|
static |
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_advertise_mode()
void google_compute_api::RouterBgp::set_advertise_mode |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'advertiseMode
' attribute.
User-specified flag to indicate which mode to use for advertisement.
- Parameters
-
◆ set_asn()
void google_compute_api::RouterBgp::set_asn |
( |
uint32 |
value | ) |
|
|
inline |
Change the 'asn
' attribute.
Local BGP Autonomous System Number (ASN). Must be an RFC6996 private ASN, either 16-bit or 32-bit. The value will be fixed for this router resource. All VPN tunnels that link to this router will have the same local ASN.
- Parameters
-
The documentation for this class was generated from the following files:
- google/compute_api/router_bgp.h
- google/compute_api/router_bgp.cc