compute  v1
Public Member Functions | Static Public Member Functions | List of all members
google_compute_api::RouterStatusBgpPeerStatus Class Reference

#include <router_status_bgp_peer_status.h>

Inheritance diagram for google_compute_api::RouterStatusBgpPeerStatus:

Public Member Functions

 RouterStatusBgpPeerStatus (const Json::Value &storage)
 
 RouterStatusBgpPeerStatus (Json::Value *storage)
 
virtual ~RouterStatusBgpPeerStatus ()
 
const StringPiece GetTypeName () const
 
bool has_advertised_routes () const
 
void clear_advertised_routes ()
 
const client::JsonCppArray< Routeget_advertised_routes () const
 
client::JsonCppArray< Routemutable_advertisedRoutes ()
 
bool has_ip_address () const
 
void clear_ip_address ()
 
const StringPiece get_ip_address () const
 
void set_ip_address (const StringPiece &value)
 
bool has_linked_vpn_tunnel () const
 
void clear_linked_vpn_tunnel ()
 
const StringPiece get_linked_vpn_tunnel () const
 
void set_linked_vpn_tunnel (const StringPiece &value)
 
bool has_name () const
 
void clear_name ()
 
const StringPiece get_name () const
 
void set_name (const StringPiece &value)
 
bool has_num_learned_routes () const
 
void clear_num_learned_routes ()
 
uint32 get_num_learned_routes () const
 
void set_num_learned_routes (uint32 value)
 
bool has_peer_ip_address () const
 
void clear_peer_ip_address ()
 
const StringPiece get_peer_ip_address () const
 
void set_peer_ip_address (const StringPiece &value)
 
bool has_state () const
 
void clear_state ()
 
const StringPiece get_state () const
 
void set_state (const StringPiece &value)
 
bool has_status () const
 
void clear_status ()
 
const StringPiece get_status () const
 
void set_status (const StringPiece &value)
 
bool has_uptime () const
 
void clear_uptime ()
 
const StringPiece get_uptime () const
 
void set_uptime (const StringPiece &value)
 
bool has_uptime_seconds () const
 
void clear_uptime_seconds ()
 
const StringPiece get_uptime_seconds () const
 
void set_uptime_seconds (const StringPiece &value)
 

Static Public Member Functions

static RouterStatusBgpPeerStatusNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ RouterStatusBgpPeerStatus() [1/2]

google_compute_api::RouterStatusBgpPeerStatus::RouterStatusBgpPeerStatus ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe 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]storageThe underlying data storage for this instance.

◆ ~RouterStatusBgpPeerStatus()

google_compute_api::RouterStatusBgpPeerStatus::~RouterStatusBgpPeerStatus ( )
virtual

Standard destructor.

Member Function Documentation

◆ 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

Returns a string denoting the type of this data object.

Returns
google_compute_api::RouterStatusBgpPeerStatus

◆ 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()

RouterStatusBgpPeerStatus * google_compute_api::RouterStatusBgpPeerStatus::New ( )
static

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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

◆ set_state()

void google_compute_api::RouterStatusBgpPeerStatus::set_state ( const StringPiece &  value)
inline

Change the 'state' attribute.

BGP state as specified in RFC1771.

Parameters
[in]valueThe new value.

◆ 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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

The documentation for this class was generated from the following files: