#include <router_status_bgp_peer_status.h>
◆ RouterStatusBgpPeerStatus() [1/2]
google_compute_api::RouterStatusBgpPeerStatus::RouterStatusBgpPeerStatus |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ RouterStatusBgpPeerStatus() [2/2]
google_compute_api::RouterStatusBgpPeerStatus::RouterStatusBgpPeerStatus |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~RouterStatusBgpPeerStatus()
google_compute_api::RouterStatusBgpPeerStatus::~RouterStatusBgpPeerStatus |
( |
| ) |
|
|
virtual |
◆ clear_advertised_routes()
void google_compute_api::RouterStatusBgpPeerStatus::clear_advertised_routes |
( |
| ) |
|
|
inline |
Clears the 'advertisedRoutes
' attribute.
◆ clear_ip_address()
void google_compute_api::RouterStatusBgpPeerStatus::clear_ip_address |
( |
| ) |
|
|
inline |
Clears the 'ipAddress
' attribute.
◆ clear_linked_vpn_tunnel()
void google_compute_api::RouterStatusBgpPeerStatus::clear_linked_vpn_tunnel |
( |
| ) |
|
|
inline |
Clears the 'linkedVpnTunnel
' attribute.
◆ clear_name()
void google_compute_api::RouterStatusBgpPeerStatus::clear_name |
( |
| ) |
|
|
inline |
Clears the 'name
' attribute.
◆ clear_num_learned_routes()
void google_compute_api::RouterStatusBgpPeerStatus::clear_num_learned_routes |
( |
| ) |
|
|
inline |
Clears the 'numLearnedRoutes
' attribute.
◆ clear_peer_ip_address()
void google_compute_api::RouterStatusBgpPeerStatus::clear_peer_ip_address |
( |
| ) |
|
|
inline |
Clears the 'peerIpAddress
' attribute.
◆ clear_state()
void google_compute_api::RouterStatusBgpPeerStatus::clear_state |
( |
| ) |
|
|
inline |
Clears the 'state
' attribute.
◆ clear_status()
void google_compute_api::RouterStatusBgpPeerStatus::clear_status |
( |
| ) |
|
|
inline |
Clears the 'status
' attribute.
◆ clear_uptime()
void google_compute_api::RouterStatusBgpPeerStatus::clear_uptime |
( |
| ) |
|
|
inline |
Clears the 'uptime
' attribute.
◆ clear_uptime_seconds()
void google_compute_api::RouterStatusBgpPeerStatus::clear_uptime_seconds |
( |
| ) |
|
|
inline |
Clears the 'uptimeSeconds
' attribute.
◆ get_advertised_routes()
const client::JsonCppArray<Route > google_compute_api::RouterStatusBgpPeerStatus::get_advertised_routes |
( |
| ) |
const |
Get a reference to the value of the 'advertisedRoutes
' attribute.
◆ get_ip_address()
const StringPiece google_compute_api::RouterStatusBgpPeerStatus::get_ip_address |
( |
| ) |
const |
|
inline |
Get the value of the 'ipAddress
' attribute.
◆ get_linked_vpn_tunnel()
const StringPiece google_compute_api::RouterStatusBgpPeerStatus::get_linked_vpn_tunnel |
( |
| ) |
const |
|
inline |
Get the value of the 'linkedVpnTunnel
' attribute.
◆ get_name()
const StringPiece google_compute_api::RouterStatusBgpPeerStatus::get_name |
( |
| ) |
const |
|
inline |
Get the value of the 'name
' attribute.
◆ get_num_learned_routes()
uint32 google_compute_api::RouterStatusBgpPeerStatus::get_num_learned_routes |
( |
| ) |
const |
|
inline |
Get the value of the 'numLearnedRoutes
' attribute.
◆ get_peer_ip_address()
const StringPiece google_compute_api::RouterStatusBgpPeerStatus::get_peer_ip_address |
( |
| ) |
const |
|
inline |
Get the value of the 'peerIpAddress
' attribute.
◆ get_state()
const StringPiece google_compute_api::RouterStatusBgpPeerStatus::get_state |
( |
| ) |
const |
|
inline |
Get the value of the 'state
' attribute.
◆ get_status()
const StringPiece google_compute_api::RouterStatusBgpPeerStatus::get_status |
( |
| ) |
const |
|
inline |
Get the value of the 'status
' attribute.
◆ get_uptime()
const StringPiece google_compute_api::RouterStatusBgpPeerStatus::get_uptime |
( |
| ) |
const |
|
inline |
Get the value of the 'uptime
' attribute.
◆ get_uptime_seconds()
const StringPiece google_compute_api::RouterStatusBgpPeerStatus::get_uptime_seconds |
( |
| ) |
const |
|
inline |
Get the value of the 'uptimeSeconds
' attribute.
◆ GetTypeName()
const StringPiece google_compute_api::RouterStatusBgpPeerStatus::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_advertised_routes()
bool google_compute_api::RouterStatusBgpPeerStatus::has_advertised_routes |
( |
| ) |
const |
|
inline |
Determine if the 'advertisedRoutes
' attribute was set.
- Returns
- true if the '
advertisedRoutes
' attribute was set.
◆ has_ip_address()
bool google_compute_api::RouterStatusBgpPeerStatus::has_ip_address |
( |
| ) |
const |
|
inline |
Determine if the 'ipAddress
' attribute was set.
- Returns
- true if the '
ipAddress
' attribute was set.
◆ has_linked_vpn_tunnel()
bool google_compute_api::RouterStatusBgpPeerStatus::has_linked_vpn_tunnel |
( |
| ) |
const |
|
inline |
Determine if the 'linkedVpnTunnel
' attribute was set.
- Returns
- true if the '
linkedVpnTunnel
' attribute was set.
◆ has_name()
bool google_compute_api::RouterStatusBgpPeerStatus::has_name |
( |
| ) |
const |
|
inline |
Determine if the 'name
' attribute was set.
- Returns
- true if the '
name
' attribute was set.
◆ has_num_learned_routes()
bool google_compute_api::RouterStatusBgpPeerStatus::has_num_learned_routes |
( |
| ) |
const |
|
inline |
Determine if the 'numLearnedRoutes
' attribute was set.
- Returns
- true if the '
numLearnedRoutes
' attribute was set.
◆ has_peer_ip_address()
bool google_compute_api::RouterStatusBgpPeerStatus::has_peer_ip_address |
( |
| ) |
const |
|
inline |
Determine if the 'peerIpAddress
' attribute was set.
- Returns
- true if the '
peerIpAddress
' attribute was set.
◆ has_state()
bool google_compute_api::RouterStatusBgpPeerStatus::has_state |
( |
| ) |
const |
|
inline |
Determine if the 'state
' attribute was set.
- Returns
- true if the '
state
' attribute was set.
◆ has_status()
bool google_compute_api::RouterStatusBgpPeerStatus::has_status |
( |
| ) |
const |
|
inline |
Determine if the 'status
' attribute was set.
- Returns
- true if the '
status
' attribute was set.
◆ has_uptime()
bool google_compute_api::RouterStatusBgpPeerStatus::has_uptime |
( |
| ) |
const |
|
inline |
Determine if the 'uptime
' attribute was set.
- Returns
- true if the '
uptime
' attribute was set.
◆ has_uptime_seconds()
bool google_compute_api::RouterStatusBgpPeerStatus::has_uptime_seconds |
( |
| ) |
const |
|
inline |
Determine if the 'uptimeSeconds
' attribute was set.
- Returns
- true if the '
uptimeSeconds
' attribute was set.
◆ mutable_advertisedRoutes()
client::JsonCppArray<Route > google_compute_api::RouterStatusBgpPeerStatus::mutable_advertisedRoutes |
( |
| ) |
|
Gets a reference to a mutable value of the 'advertisedRoutes
' property.
Routes that were advertised to the remote BGP peer.
- 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_ip_address()
void google_compute_api::RouterStatusBgpPeerStatus::set_ip_address |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'ipAddress
' attribute.
IP address of the local BGP interface.
- Parameters
-
◆ set_linked_vpn_tunnel()
void google_compute_api::RouterStatusBgpPeerStatus::set_linked_vpn_tunnel |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'linkedVpnTunnel
' attribute.
URL of the VPN tunnel that this BGP peer controls.
- Parameters
-
◆ set_name()
void google_compute_api::RouterStatusBgpPeerStatus::set_name |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'name
' attribute.
Name of this BGP peer. Unique within the Routers resource.
- Parameters
-
◆ set_num_learned_routes()
void google_compute_api::RouterStatusBgpPeerStatus::set_num_learned_routes |
( |
uint32 |
value | ) |
|
|
inline |
Change the 'numLearnedRoutes
' attribute.
Number of routes learned from the remote BGP Peer.
- Parameters
-
◆ set_peer_ip_address()
void google_compute_api::RouterStatusBgpPeerStatus::set_peer_ip_address |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'peerIpAddress
' attribute.
IP address of the remote BGP interface.
- Parameters
-
◆ set_state()
void google_compute_api::RouterStatusBgpPeerStatus::set_state |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'state
' attribute.
BGP state as specified in RFC1771.
- Parameters
-
◆ set_status()
void google_compute_api::RouterStatusBgpPeerStatus::set_status |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'status
' attribute.
Status of the BGP peer: {UP, DOWN}.
- Parameters
-
◆ set_uptime()
void google_compute_api::RouterStatusBgpPeerStatus::set_uptime |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'uptime
' attribute.
Time this session has been up. Format: 14 years, 51 weeks, 6 days, 23 hours, 59 minutes, 59 seconds.
- Parameters
-
◆ set_uptime_seconds()
void google_compute_api::RouterStatusBgpPeerStatus::set_uptime_seconds |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'uptimeSeconds
' attribute.
Time this session has been up, in seconds. Format: 145.
- Parameters
-
The documentation for this class was generated from the following files: